CN106211269A - A kind of smart machine means of communication and device - Google Patents

A kind of smart machine means of communication and device Download PDF

Info

Publication number
CN106211269A
CN106211269A CN201610472076.3A CN201610472076A CN106211269A CN 106211269 A CN106211269 A CN 106211269A CN 201610472076 A CN201610472076 A CN 201610472076A CN 106211269 A CN106211269 A CN 106211269A
Authority
CN
China
Prior art keywords
smart machine
message
communication
data
ssid
Prior art date
Application number
CN201610472076.3A
Other languages
Chinese (zh)
Inventor
王萍
刘大伟
Original Assignee
福州瑞芯微电子股份有限公司
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 福州瑞芯微电子股份有限公司 filed Critical 福州瑞芯微电子股份有限公司
Priority to CN201610472076.3A priority Critical patent/CN106211269A/en
Publication of CN106211269A publication Critical patent/CN106211269A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

The invention provides a kind of smart machine means of communication and device, said method comprising the steps of: the first smart machine sends probe requests thereby to the second smart machine;Second smart machine receives all transmissions and to the message data of the second smart machine and resolves, when there is identification information in the message data resolved, communication data is stored in the ssid field of detection response message, and detection response message is sent to the first smart machine;First smart machine receives detection response message and resolves, and obtains the communication data in the ssid field of detection response message.Said method is without requiring the fixing pairing of two internet of things equipments, it is not required that carries out being manually entered configuration information on the display screen of Internet of Things to set up connection, thus substantially increases interconnection efficiency and the suitability of two internet of things equipments.

Description

A kind of smart machine means of communication and device

Technical field

The present invention relates to computer realm, particularly to a kind of smart machine means of communication and device.

Background technology

At present, two internet of things equipments, when carrying out communication, need to connect in advance to connect to the Net, and for most of Internet of Things For equipment, the most there is not input panel in it, thus often uses the mode of fixing pairing, and such as wireless mouse is right with it The receptor answered.The mode of fixing pairing is the most inflexible, it is impossible to meet the demand of property networked devices.

Summary of the invention

For this reason, it may be necessary to provide the technical scheme of a kind of smart machine communication, use solid in order to solve existing internet of things equipment Determine matching method and carry out communication, it is impossible to the problem meeting actual demand.

Inventor providing a kind of smart machine means of communication, described method is applied to the first smart machine and the second intelligence Equipment, said method comprising the steps of:

First smart machine sends probe requests thereby and is stored in spy to the second smart machine, described probe requests thereby with data mode Surveying in the ssid field of request message, described probe requests thereby message includes an identification information;

Second smart machine receives all transmissions and to the message data of the second smart machine and resolves, when the message number resolved According to when there is identification information, communication data is stored in the ssid field of detection response message, and detection response message is sent out Deliver to the first smart machine;

First smart machine receives detection response message and resolves, and obtains the communication in the ssid field of detection response message Data.

Further, described detection response message includes the identification information identical with probe requests thereby message;Described step " the first smart machine receives detection response message and resolves, and obtains the communication data in the ssid field of detection response message " bag Include: the first smart machine receives all transmissions and to the message data of the first smart machine and resolves, when the message data resolved is deposited When identification information, obtain the communication data in the ssid field of this message data.

Further, described identification information is arranged at the head of probe requests thereby message.

Further, described communication data includes SSID and the password of wireless router.

Inventor additionally provides a kind of smart machine communication device, and described device includes the first smart machine and the second intelligence Equipment, described first smart machine includes that the first communication unit and the first resolution unit, described second smart machine include second Communication unit and the second resolution unit;

Described first communication unit is used for sending probe requests thereby to the second smart machine, and described probe requests thereby is with data mode Being stored in the ssid field of probe requests thereby message, described probe requests thereby message includes an identification information;

Described second communication unit is for receiving all transmissions to the message data of the second smart machine, and described second resolves Unit resolves for all message datas being received the second communication unit, and there is mark at the message data resolved During information, communication data is stored in the ssid field of detection response message, and detection response message is sent to the first intelligence Can equipment;

Described first communication unit is additionally operable to receive detection response message, and described first resolution unit is for probe response Message resolves, and obtains the communication data in the ssid field of detection response message.

Further, described detection response message includes the identification information identical with probe requests thereby message;Described first Communication unit is for receiving all transmissions to the message data of the first smart machine, and described first resolution unit is for all the The message data that one communication unit is received resolves, and when the message data resolved exists identification information, obtains this report Communication data in the ssid field of literary composition data.

Further, described identification information is arranged at the head of probe requests thereby message.

Further, described communication data includes SSID and the password of wireless router.

The smart machine means of communication described in technique scheme and device, described method be applied to the first smart machine with Second smart machine, said method comprising the steps of: first first smart machine send probe requests thereby to the second smart machine, Described probe requests thereby is stored in the ssid field of probe requests thereby message with data mode, and described probe requests thereby message includes a mark Knowledge information;Then the second smart machine receives all transmissions and to the message data of the second smart machine and resolves, when the report resolved When literary composition data exist identification information, communication data is stored in the ssid field of detection response message, and by probe response report Literary composition sends to the first smart machine;Then the first smart machine receives detection response message and resolves, and obtains detection response message Ssid field in communication data.Said method by being stored in probe requests thereby message or detection response message by communication data Ssid field in, and in corresponding ssid field, add identification information, the message after two smart machines resolve deposited When identification information, then communication data is stored in ssid field and then is sent to the other side, thus realize two Internet of Things and set Communication between Bei.This means of communication are without requiring the fixing pairing of two internet of things equipments, it is not required that showing at Internet of Things Carry out being manually entered configuration information in display screen to set up connection, thus substantially increase the interconnection efficiency of two internet of things equipments.

Accompanying drawing explanation

Fig. 1 is the flow chart of the smart machine means of communication that an embodiment of the present invention relates to;

Fig. 2 is the schematic diagram of the smart machine communication device that an embodiment of the present invention relates to;

Description of reference numerals:

101, the first smart machine;111, the first communication unit;112, the first resolution unit;

102, the second smart machine;121, the second communication unit;122, the second resolution unit.

Detailed description of the invention

By describing the technology contents of technical scheme, structural feature in detail, being realized purpose and effect, below in conjunction with concrete real Execute example and coordinate accompanying drawing to be explained in detail.

Refer to Fig. 1, the flow chart of the smart machine means of communication that an embodiment of the present invention relates to.Described method is permissible It is applied to the first smart machine and the second smart machine, to realize the logical of the first smart machine and the second smart machine News.Preferably, in the present embodiment, described smart machine is internet of things equipment.Said method comprising the steps of:

Initially enter step S101 the first smart machine and send probe requests thereby to the second smart machine.Described probe requests thereby with Data mode is stored in the ssid field of probe requests thereby message.Probe requests thereby is a request signal, can be with data mode table Show, such as 0,1 etc..Probe requests thereby message (Probe Request frame) is the one in management frame, and the speed of its transmission is 1Mbps, can the demand of the compatible equipment using the standard agreements such as 802.11b only, 80211b/g and 802.11b/g/n.Logical Cross the ssid field storage detection request of multiplexed probe request message.Described probe requests thereby message includes an identification information, mark Information, as the mark of probe requests thereby message, can be letter, numeral, character string etc., it is preferred that described identification information is arranged at The head of probe requests thereby message.So, analytic message is passed through when the second smart machine, it is possible to identifying this message please for detection Seek message.

Then enter all transmissions of reception of step S102 the second smart machine to the message data of the second smart machine and to solve Analysis, when the message data resolved exists identification information, is stored in communication data in the ssid field of detection response message, and Detection response message is sent to the first smart machine.In the present embodiment, described communication data includes wireless router SSID and password, certainly, communication data can also include that user needs other data of transmission.Second smart machine is to all After message resolves, when the head finding a certain message exists identification information, then illustrate that this message is that the first smart machine is sent out The probe requests thereby message sent, needs to send to the second smart machine communication data, and the ssid field of detection response message is permissible Carrier as communication data carrys out transmission communication data.In the present embodiment, described communication data includes wireless router SSID and password, so, the first smart machine is after the SSID receiving wireless router and password, it is possible to wireless routing Device is set up and is connected, and carries out relevant the Internet services.Certainly, in further embodiments, described communication data can also include user Need other data of transmission.

Then enter step S103 the first smart machine receive detection response message and resolve, obtain detection response message Communication data in ssid field.In the present embodiment, described detection response message includes identical with probe requests thereby message Identification information;" the first smart machine receives detection response message and resolves described step, obtains the SSID of detection response message Communication data in field " including: the first smart machine receives all transmissions and to the message data of the first smart machine and resolves, When the message data resolved exists identification information, obtain the communication data in the ssid field of this message data.

As in figure 2 it is shown, inventor additionally provides a kind of smart machine communication device, described device includes the first smart machine 101 and second smart machine 102, described first smart machine 101 includes the first communication unit 111 and the first resolution unit 112, Described second smart machine 102 includes the second communication unit 111 and the second resolution unit 112;

Described first communication unit 111 is used for sending probe requests thereby to the second smart machine, and described probe requests thereby is with data Form is stored in the ssid field of probe requests thereby message, and described probe requests thereby message includes an identification information;

Described second communication unit 121 for receiving all transmissions to the message data of the second smart machine, described second Resolution unit 122 resolves for all message datas being received the second communication unit, and at the message data resolved When there is identification information, communication data is stored in the ssid field of detection response message, and detection response message is sent To the first smart machine;

Described first communication unit 111 is additionally operable to receive detection response message, and described first resolution unit 112 is for spy Survey response message to resolve, obtain the communication data in the ssid field of detection response message.

When using smart machine communication device, the first communication unit of the first first smart machine sends probe requests thereby extremely Second smart machine.Described probe requests thereby is stored in the ssid field of probe requests thereby message with data mode.Probe requests thereby is One request signal, can represent with data mode, such as 0,1 etc..Probe requests thereby message (Probe Request frame) is management One in frame, the speed of its transmission is 1Mbps, compatible can use 802.11b only, 80211b/g and 802.11b/g/n Demand Deng the equipment of standard agreement.Asked by the ssid field storage detection of multiplexed probe request message.Described detection please Asking message to include an identification information, identification information, as the mark of probe requests thereby message, can be letter, numeral, character string etc., Preferably, described identification information is arranged at the head of probe requests thereby message.So, when the second smart machine is by analytic message, Just can identify this message is probe requests thereby message.

The then message data of the second communication unit all transmissions of reception to the second smart machine of the second smart machine, the Two resolution unit resolve for all message datas being received the second communication unit, and deposit at the message data resolved When identification information, communication data is stored in the ssid field of detection response message, and detection response message is sent extremely First smart machine.In the present embodiment, described communication data includes SSID and the password of wireless router, certainly, communication Data can also include that user needs other data of transmission.Second smart machine is after resolving all messages, when sending out There is identification information in the head of existing a certain message, then illustrates that this message is the probe requests thereby message that the first smart machine sends, need To be sent by communication data to the second smart machine, the ssid field of detection response message can be come as the carrier of communication data Transmission communication data.In the present embodiment, described communication data includes SSID and the password of wireless router, so, first Smart machine is after the SSID receiving wireless router and password, it is possible to sets up with wireless router and is connected, is correlated with The Internet services.Certainly, in further embodiments, described communication data can also include that user needs other data of transmission.

Then the first communication unit of the first smart machine receives detection response message, and the first resolution unit is to probe response Message resolves, and obtains the communication data in the ssid field of detection response message.In the present embodiment, described detection rings Message is answered to include the identification information identical with probe requests thereby message;" the first smart machine receives probe response report to described step Literary composition also resolves, and obtains the communication data in the ssid field of detection response message " including: the first smart machine receives all transmissions To the message data of the first smart machine and resolve, when the message data resolved exists identification information, obtain this message data Ssid field in communication data.

In the present embodiment, described detection response message includes the identification information identical with probe requests thereby message;Institute Stating the first communication unit for receiving all transmissions to the message data of the first smart machine, described first resolution unit is for right The message data that all first communication units are received resolves, and when the message data resolved exists identification information, obtains Take the communication data in the ssid field of this message data.

The smart machine means of communication described in technique scheme and device, the first smart machine is external by the forms of broadcasting Send probe requests thereby message, can resolve after the second smart machine receives probe requests thereby message, if there is mark letter Breath, illustrates that the first smart machine requirement is set up with the second smart machine and is connected, the second smart machine sends detection response message extremely Second smart machine, the SSID of detection response message can as the carrier of communication data, thus realize the first smart machine and The connecting communication of the second smart machine.This means of communication are without requiring the fixing pairing of two internet of things equipments, it is not required that Carry out being manually entered configuration information on the display screen of Internet of Things to set up connection, thus substantially increase two internet of things equipments Interconnection efficiency.

It should be noted that in this article, the relational terms of such as first and second or the like is used merely to a reality Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to Comprising of nonexcludability, so that include that the process of a series of key element, method, article or terminal unit not only include those Key element, but also include other key elements being not expressly set out, or also include for this process, method, article or end The key element that end equipment is intrinsic.In the case of there is no more restriction, statement " including ... " or " comprising ... " limit Key element, it is not excluded that there is also other key element in including the process of described key element, method, article or terminal unit.This Outward, in this article, " be more than ", " being less than ", " exceeding " etc. are interpreted as not including this number;More than " ", " below ", " within " etc. understand For including this number.

Those skilled in the art are it should be appreciated that the various embodiments described above can be provided as method, device or computer program product Product.These embodiments can use complete hardware embodiment, complete software implementation or combine software and hardware in terms of embodiment Form.All or part of step in the method that the various embodiments described above relate to can instruct relevant hardware by program Completing, described program can be stored in the storage medium that computer equipment can read, and is used for performing the various embodiments described above side All or part of step described in method.Described computer equipment, includes but not limited to: personal computer, server, general-purpose computations Machine, special-purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, intelligent home device, Wearable Smart machine, vehicle intelligent equipment etc.;Described storage medium, includes but not limited to: RAM, ROM, magnetic disc, tape, CD, sudden strain of a muscle Deposit, the storage of USB flash disk, portable hard drive, storage card, memory stick, the webserver, network cloud storage etc..

The various embodiments described above are with reference to according to the method described in embodiment, equipment (system) and computer program Flow chart and/or block diagram describe.It should be understood that can every by computer program instructions flowchart and/or block diagram Flow process in one flow process and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computers can be provided Programmed instruction to the processor of computer equipment to produce a machine so that the finger performed by the processor of computer equipment Order produces for realizing specifying in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame The device of function.

These computer program instructions may be alternatively stored in the computer that computer equipment can be guided to work in a specific way and set In standby readable memory so that the instruction being stored in this computer equipment readable memory produces the manufacture including command device Product, this command device realizes at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame middle finger Fixed function.

These computer program instructions also can be loaded on computer equipment so that performs a series of on a computing device Operating procedure is to produce computer implemented process, thus the instruction performed on a computing device provides for realizing in flow process The step of the function specified in one flow process of figure or multiple flow process and/or one square frame of block diagram or multiple square frame.

Although being described the various embodiments described above, but those skilled in the art once know basic wound The property made concept, then can make other change and amendment to these embodiments, so the foregoing is only embodiments of the invention, Not thereby the scope of patent protection of the present invention, every equivalent structure utilizing description of the invention and accompanying drawing content to be made are limited Or equivalence flow process conversion, or directly or indirectly it is used in other relevant technical fields, the most in like manner it is included in the patent of the present invention Within protection domain.

Claims (8)

1. smart machine means of communication, it is characterised in that described method is applied to the first smart machine and the second intelligence sets Standby, said method comprising the steps of:
First smart machine sends probe requests thereby and is stored in detection with data mode asks to the second smart machine, described probe requests thereby Asking in the ssid field of message, described probe requests thereby message includes an identification information;
Second smart machine receives all transmissions and to the message data of the second smart machine and resolves, when the message data resolved is deposited When identification information, communication data is stored in the ssid field of detection response message, and detection response message is sent extremely First smart machine;
First smart machine receives detection response message and resolves, and obtains the communication number in the ssid field of detection response message According to.
2. the smart machine means of communication as claimed in claim 1, it is characterised in that described detection response message includes and visits Survey the identification information that request message is identical;" the first smart machine receives detection response message and resolves described step, obtains detection Communication data in the ssid field of response message " including: the first smart machine receives all transmissions to the first smart machine Message data also resolves, and when the message data resolved exists identification information, obtains leading in the ssid field of this message data News data.
3. the smart machine means of communication as claimed in claim 1 or 2, it is characterised in that described identification information is arranged at detection The head of request message.
4. the smart machine means of communication as claimed in claim 1 or 2, it is characterised in that described communication data includes wireless road By SSID and the password of device.
5. a smart machine communication device, it is characterised in that described device includes the first smart machine and the second smart machine, Described first smart machine includes that the first communication unit and the first resolution unit, described second smart machine include the second communication list Unit and the second resolution unit;
Described first communication unit is used for sending probe requests thereby and stores with data mode to the second smart machine, described probe requests thereby In the ssid field of probe requests thereby message, described probe requests thereby message includes an identification information;
Described second communication unit is for receiving all transmissions to the message data of the second smart machine, and described second resolves and be used for The all message datas being received the second communication unit resolve, and when the message data resolved exists identification information, Communication data is stored in the ssid field of detection response message, and detection response message is sent to the first smart machine;
Described first communication unit is additionally operable to receive detection response message, and described first resolution unit is for detection response message Resolve, obtain the communication data in the ssid field of detection response message.
6. smart machine communication device as claimed in claim 5, it is characterised in that described detection response message includes and visits Survey the identification information that request message is identical;Described first communication unit is for receiving all transmissions to the message of the first smart machine Data, described first resolution unit resolves for the message data being received all first communication units, and is resolving Message data when there is identification information, obtain the communication data in the ssid field of this message data.
7. the smart machine communication device as described in claim 5 or 6, it is characterised in that described identification information is arranged at detection The head of request message.
8. the smart machine communication device as described in claim 5 or 6, it is characterised in that described communication data includes wireless road By SSID and the password of device.
CN201610472076.3A 2016-06-24 2016-06-24 A kind of smart machine means of communication and device CN106211269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610472076.3A CN106211269A (en) 2016-06-24 2016-06-24 A kind of smart machine means of communication and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610472076.3A CN106211269A (en) 2016-06-24 2016-06-24 A kind of smart machine means of communication and device

Publications (1)

Publication Number Publication Date
CN106211269A true CN106211269A (en) 2016-12-07

Family

ID=57461660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610472076.3A CN106211269A (en) 2016-06-24 2016-06-24 A kind of smart machine means of communication and device

Country Status (1)

Country Link
CN (1) CN106211269A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789415A (en) * 2016-12-12 2017-05-31 东软集团股份有限公司 The acquisition method of facility information, apparatus and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821439A (en) * 2012-07-18 2012-12-12 中兴通讯股份有限公司 Access method and access device of wireless network
CN102893669A (en) * 2012-07-02 2013-01-23 华为技术有限公司 Method, device and system of accessing mobile network
CN103281752A (en) * 2013-05-28 2013-09-04 北京推博信息技术有限公司 WIFI (wireless fidelity) network access method and device, electronic equipment and communication system
CN104159226A (en) * 2014-07-24 2014-11-19 小米科技有限责任公司 Network connection method and device
CN104581713A (en) * 2015-01-15 2015-04-29 福建天晴数码有限公司 Intelligent equipment networking method, device, equipment and system
CN104618988A (en) * 2015-01-21 2015-05-13 青岛海尔智能家电科技有限公司 Smart device network access method and device
CN104902543A (en) * 2015-05-14 2015-09-09 北京奇虎科技有限公司 WiFi connection method, device and system
CN104902478A (en) * 2015-04-30 2015-09-09 广东欧珀移动通信有限公司 Method for connection with Wi-Fi network, wireless sound box and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102893669A (en) * 2012-07-02 2013-01-23 华为技术有限公司 Method, device and system of accessing mobile network
CN102821439A (en) * 2012-07-18 2012-12-12 中兴通讯股份有限公司 Access method and access device of wireless network
CN103281752A (en) * 2013-05-28 2013-09-04 北京推博信息技术有限公司 WIFI (wireless fidelity) network access method and device, electronic equipment and communication system
CN104159226A (en) * 2014-07-24 2014-11-19 小米科技有限责任公司 Network connection method and device
CN104581713A (en) * 2015-01-15 2015-04-29 福建天晴数码有限公司 Intelligent equipment networking method, device, equipment and system
CN104618988A (en) * 2015-01-21 2015-05-13 青岛海尔智能家电科技有限公司 Smart device network access method and device
CN104902478A (en) * 2015-04-30 2015-09-09 广东欧珀移动通信有限公司 Method for connection with Wi-Fi network, wireless sound box and terminal
CN104902543A (en) * 2015-05-14 2015-09-09 北京奇虎科技有限公司 WiFi connection method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789415A (en) * 2016-12-12 2017-05-31 东软集团股份有限公司 The acquisition method of facility information, apparatus and system

Similar Documents

Publication Publication Date Title
Dinh et al. A survey of mobile cloud computing: architecture, applications, and approaches
WO2017000820A1 (en) File sharing method, apparatus, and system based on cloud storage
Kurdi et al. A combinatorial optimization algorithm for multiple cloud service composition
US8463765B2 (en) Method and system for creating vertical search engines with cloud computing networks
US9467937B2 (en) System and method of locating wireless connection among a plurality of wireless connections
CN104580430B (en) A kind of method and apparatus based on communication group's pushed information
KR101641844B1 (en) Information Processing Method, and Priority Information Sending Method and Device
CN104702665B (en) Information sharing method and information sharing apparatus
CN102682080B (en) Cookie information sharing method and system
US20080040417A1 (en) System and method for allocating workflow operations to a computing device
KR102019336B1 (en) Matching users in a location-based service
CN103888456A (en) Webpage client side, server side and data processing device and method
CN102891890B (en) Exchange method between a kind of terminal and relevant device, system
US9832614B2 (en) Method, server and terminal for information interaction
CN104092723B (en) Document down loading method, Apparatus and system
CN104683458A (en) Wallpaper recommendation method and server
CN105701122B (en) Log collection method, device and system
WO2015081808A1 (en) Method and apparatus for data transmission
EP2900007A1 (en) Electronic device and method for performing geo-fencing based service
CN104702406B (en) Auth method and device
WO2014172884A1 (en) Method and apparatus for distributing information, and network system
US20150181156A1 (en) Augmenting capabilities of a host device
CN101156167A (en) Methods and apparatus for gifting over a data network
CN104092644A (en) Interaction method, device, client and server
CN104135753A (en) Wireless network access method, wireless network access device, terminal and server

Legal Events

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

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication