CN106550383A - Method for connecting network and smart machine - Google Patents

Method for connecting network and smart machine Download PDF

Info

Publication number
CN106550383A
CN106550383A CN201611055344.8A CN201611055344A CN106550383A CN 106550383 A CN106550383 A CN 106550383A CN 201611055344 A CN201611055344 A CN 201611055344A CN 106550383 A CN106550383 A CN 106550383A
Authority
CN
China
Prior art keywords
access point
identity
smart machine
access
password
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611055344.8A
Other languages
Chinese (zh)
Other versions
CN106550383B (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611055344.8A priority Critical patent/CN106550383B/en
Publication of CN106550383A publication Critical patent/CN106550383A/en
Application granted granted Critical
Publication of CN106550383B publication Critical patent/CN106550383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure is directed to a kind of method for connecting network and smart machine, are related to Internet of Things field, the method includes:Detect whether that the first access point identity for providing by access point accesses described access point, first access point identity is without password access point identity, and first access point identity is different from the second access point identity, second access point identity is the access point identity with password of the access point configuration;When detect the access point is accessed by first access point identity when, obtain second access point identity and the corresponding access point password of second access point identity from the access point;According to second access point identity and the corresponding access point password of second access point identity, network connection is carried out.After the disclosure is by foundation is connected between access point, according to the second access point identity got from the access point and corresponding access point password, network connection is carried out, so as to solve the problems, such as that the smart machine without operation interface cannot carry out network connection.

Description

Method for connecting network and smart machine
Technical field
It relates to Internet of Things field, more particularly to a kind of method for connecting network and smart machine.
Background technology
With the development of science and technology, technology of Internet of things is more and more ripe, and such as intelligent television, intelligent air condition, intelligence occurs The first-class smart machine based on Internet of Things of shooting is also more and more, in order to play the work(of these smart machines to greatest extent Can, need for these smart machines to be connected to network.
At present, when smart machine connects network, it usually needs user is input into the access of access point manually to smart machine Point identification and access point password.The smart machine can be based on the access point identity and access point password, access the access point, with Carry out network connection.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of method for connecting network and smart machine.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method for connecting network, it is applied in smart machine, it is described Method includes:
Detect whether that the first access point identity for providing by access point accesses described access point, first access point It is designated without password access point identity, and first access point identity is different from the second access point identity, described second accesses Point identification is the access point identity with password of described access point configuration;
When detect described access point is accessed by first access point identity when, obtain described the from described access point Two access point identities and the corresponding access point password of second access point identity;
According to second access point identity and the corresponding access point password of second access point identity, network company is carried out Connect.
Alternatively, it is described detect whether by access point provide the first access point identity access described access point it Before, also include:
Access request is sent to described access point according to first access point identity, in the access request, carries described The facility information of smart machine, the access request are used to indicate that described access point is determined whether according to the facility information The smart machine is accessed;
When the permission for receiving described access point transmission is accessed to be notified, accessed by first access point identity described Access point.
Alternatively, it is described according to first access point identity to described access point send access request before, also include:
By close range wireless communication modes, the insertion authority License Info of described access point, the insertion authority are obtained License Info is used for instruction and can access described access point by first access point identity;
According to the insertion authority License Info, execution is described to be sent out to described access point according to first access point identity Send the operation of access request.
Alternatively, it is described by close range wireless communication modes, obtain the insertion authority License Info of described access point, bag Include:
Judge whether to detect the wireless near field communication signal of described access point;
When the wireless near field communication signal of described access point is detected, near radio is set up with described access point and led to Letter connection;
Connected by the wireless near field communication, the insertion authority License Info is obtained from described access point.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of smart machine, the smart machine include:
Detection module, for detecting whether described access point is accessed by the first access point identity that access point is provided, First access point identity is that, without password access point identity, and first access point identity and the second access point identity are not Together, second access point identity is the access point identity with password of described access point configuration;
First acquisition module, for when detecting by first access point identity access described access point, from institute State access point and obtain second access point identity and the corresponding access point password of second access point identity;
Link block, for close according to second access point identity and the corresponding access point of second access point identity Code, carries out network connection.
Alternatively, the smart machine also includes:
Sending module, for sending access request, the access to described access point according to first access point identity The facility information of the smart machine is carried in request, the access request is used to indicate that described access point is believed according to the equipment Breath determines whether that the smart machine is accessed;
AM access module, for when the permission for receiving described access point transmission accesses notice, accessing by described first Point identification accesses described access point.
Alternatively, the smart machine also includes:
Second acquisition module, for by close range wireless communication modes, obtaining the insertion authority license of described access point Information, the insertion authority License Info are used for instruction and can access described access point by first access point identity;
Trigger module, connects according to described first for according to the insertion authority License Info, triggering the sending module Enter point identification access request is sent to described access point.
Alternatively, second acquisition module includes:
Judging submodule, for judging whether to detect the wireless near field communication signal of described access point;
Setting up submodule, for when the wireless near field communication signal of described access point is detected, with described access point Set up wireless near field communication connection;
Acquisition submodule, for connecting by the wireless near field communication, obtains the access from described access point Authorization information.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of smart machine, the smart machine include:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
Detect whether that the first access point identity for providing by access point accesses described access point, first access point It is designated without password access point, and first access point identity is different from the second access point identity, the second access point mark Know the access point identity with password for described access point configuration;
When detect described access point is accessed by first access point identity when, obtain described the from described access point Two access point identities and the corresponding access point password of second access point identity;
According to second access point identity and the corresponding access point password of second access point identity, network company is carried out Connect.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:Detect whether to carry by access point For the first access point identity access the access point, when detect the access point is accessed by first access point identity when, can So that the second access point identity and corresponding access point password are got from the access point, so that the intelligence without operation interface sets It is standby to carry out network connection, solve without operation interface according to second access point identity and corresponding access point password Smart machine cannot carry out the problem of network connection.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
During accompanying drawing herein is merged in description and the part of this specification is constituted, show the enforcement for meeting the present invention Example, and be used for explaining the principle of the present invention together with description.
Fig. 1 is the flow chart of the first method for connecting network according to an exemplary embodiment.
Fig. 2 is the flow chart of second method for connecting network according to an exemplary embodiment.
Fig. 3 is the flow chart of the third method for connecting network according to an exemplary embodiment.
Fig. 4 is the flow chart of the 4th kind of method for connecting network according to an exemplary embodiment.
Fig. 5 A are the block diagrams of the first smart machine according to an exemplary embodiment.
Fig. 5 B are the block diagrams of second smart machine according to an exemplary embodiment.
Fig. 5 C are the block diagrams of the third smart machine according to an exemplary embodiment.
Fig. 5 D are a kind of block diagrams of second acquisition module according to an exemplary embodiment.
Fig. 6 is the block diagram of the 4th kind of smart machine according to an exemplary embodiment.
Fig. 7 is the block diagram of the 5th kind of smart machine according to an exemplary embodiment.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some described in detail in claims, the present invention.
Before explanation explained in detail is carried out to the embodiment of the present disclosure, first the application scenarios of the embodiment of the present disclosure are given Introduce.At present, developing rapidly due to Internet of Things, increasing smart machine can carry out network connection, and such as intelligence is taken the photograph As head, intelligent sound etc..The smart machine user for having operation interface is input into the access point identity of access point manually to smart machine With access point password, you can make smart machine carry out network connection.But for the smart machine for not having operation interface, use Family is input into the access point identity and access point password of access point without normal direction smart machine, and this does not just have the smart machine of operation interface Network connection cannot be carried out.Therefore, the embodiment of the present disclosure provides a kind of method for connecting network, so that the intelligence without operation interface Energy equipment can carry out network connection.
Fig. 1 is a kind of flow chart of the method for connecting network according to an exemplary embodiment, as shown in figure 1, the party Method is used in smart machine, comprises the following steps.
In a step 101, detect whether that the first access point identity for providing by access point accesses the access point, this One access point identity is that, without password access point identity, and first access point identity is different from the second access point identity, and this second Access point identity is the access point identity with password of the access point configuration.
In a step 102, when detect the access point is accessed by first access point identity when, obtain from the access point Second access point identity and the corresponding access point password of second access point identity.
In step 103, according to second access point identity and the corresponding access point password of second access point identity, enter Row network connection.
In the disclosed embodiments, smart machine can detect whether that the first access point identity provided by access point is connect Enter the access point, when detect the access point is accessed by first access point identity when, can get from the access point Second access point identity and corresponding access point password, so that the smart machine without operation interface can be according to second access Point identification and corresponding access point password, carry out network connection, and solving the smart machine without operation interface cannot carry out network The problem of connection.
Alternatively, before detecting whether that the first access point identity for providing by access point accesses the access point, also wrap Include:
Access request is sent to the access point according to first access point identity, the smart machine in the access request, is carried Facility information, the access request be used for indicate according to the facility information, the access point determines whether that the smart machine connects Enter;
When the permission access notice that the access point sends is received, the access is accessed by first access point identity Point.
Alternatively, before sending access request to the access point according to first access point identity, also include:
By close range wireless communication modes, the insertion authority License Info of the access point is obtained, the insertion authority is permitted Information can access the access point by first access point identity for instruction;
According to the insertion authority License Info, perform and access request is sent to the access point according to first access point identity Operation.
Alternatively, the insertion authority License Info of the access point by close range wireless communication modes, is obtained, including:
Judge whether to detect the wireless near field communication signal of the access point;
When the wireless near field communication signal of the access point is detected, wireless near field communication company is set up with the access point Connect;
Connected by the wireless near field communication, the insertion authority License Info is obtained from the access point.
Above-mentioned all optional technical schemes, can be according to the alternative embodiment for arbitrarily combining to form the disclosure, and the present invention is real Apply example no longer to repeat this one by one.
Fig. 2 is a kind of flow chart of the method for connecting network provided according to an exemplary embodiment, referring to Fig. 2, the method It is applied in smart machine, comprises the following steps.
In step 201, detect whether to have accessed access point by close range wireless communication modes.
In step 202., when detect access the access point by the close range wireless communication modes when, from the access point Obtain the access point identity and access point password of the access point.
In step 203, according to the access point identity and the access point password, carry out network connection.
In the disclosed embodiments, smart machine can detect whether to access the access by close range wireless communication modes Point, when detect access the access point by the close range wireless communication modes when, access can be got from the access point Point identification and corresponding access point password, so that the smart machine without operation interface can be according to the access point identity and correspondence Access point password, carry out network connection, solve the problems, such as that the smart machine without operation interface cannot carry out network connection.
Fig. 3 is a kind of flow chart of the method for connecting network provided according to an exemplary embodiment, referring to Fig. 3, the method Comprise the steps.
In step 301, smart machine sends access request, the access request to access point according to the first access point identity The middle facility information for carrying the smart machine, the access request are used to indicate that the access point judges whether to permit according to the facility information Permitted the smart machine to access.
It should be noted that first access point identity for the access point provide without password access point identity, and this One access point identity can be arranged in the access point in advance.In addition, the manufacture of the smart machine can be included in facility information Trade name, the serial number that dispatches from the factory, MAC (MediaAccess Control, media access control) address etc..
Further, before smart machine sends access request to the access point according to first access point identity, may be used also By close range wireless communication modes, to obtain the insertion authority License Info of the access point, the insertion authority License Info is used The access point can be accessed by first access point identity in instruction;According to the insertion authority License Info, performing basis should First access point identity sends the operation of access request to the access point.
Wherein, intelligent terminal obtains the insertion authority License Info of the access point by close range wireless communication modes Operation can include the following two kinds mode.
First kind of way, smart machine can decide whether the wireless near field communication signal for detecting the access point;When When detecting the wireless near field communication signal of the access point, wireless near field communication is set up with the access point and be connected, and passed through The wireless near field communication connects, and insertion authority License Info is obtained from the access point;When the smart machine is not detected by this During the wireless near field communication signal of access point, the smart machine can not do any operation, or, by jingle bell, vibrations etc. Mode reminds user that the smart machine is not detected by the wireless near field communication signal of the access point.
It should be noted that whether the smart machine can detect the wireless near field communication of the access point with real-time judge Signal, it is also possible to judge whether to detect the wireless near field communication signal of the access point every specified time interval.Wherein, should Specified time interval can be arranged in advance, and such as the specified time interval can be 10 seconds, 20 seconds, 30 seconds etc..
In addition, the close range wireless communication modes can be bluetooth, NFC (NearField Communication, low coverage From wireless communication technology) etc..
Also, it should be noted that insertion authority License Info can be prescribed coding mode, or include for referring to Show mark that smart machine can access etc..
The second way, access point can decide whether the wireless near field communication signal for detecting the smart machine, when When detecting the wireless near field communication signal of the smart machine, the access point can be set up near radio with smart machine and lead to Letter connection;The access point can be connected by the wireless near field communication, send insertion authority License Info to the smart machine.
Further, since when the wireless communication signals between smart machine and access point are weaker, intelligence may be affected to set It is standby to access the access point, therefore, when the access point and smart machine are set up before wireless near field communication is connected, the access point is also The signal intensity of the wireless near field communication signal is can determine, and the signal intensity and intensity threshold are compared, when this When signal intensity is more than or equal to the intensity threshold, wireless near field communication is set up with the smart machine and be connected;When the signal it is strong When degree is less than the intensity threshold, the access point can not do any operation.
It should be noted that the intensity threshold is used to weigh whether can set up wireless near field communication with the smart machine Connect, and the intensity threshold can be arranged in advance, such as, the intensity threshold can be 60dbm, 70dbm, 80dbm etc..
In a kind of possible implementation, when the smart machine gets the insertion authority License Info, and the access When authorization information includes coded system, the smart machine according to the insertion authority License Info and the first access point identity to The access point sends the operation of access request:According to first access point identity, by the facility information of the smart machine Include that coded system is encoded according to insertion authority License Info, and the facility information after coding be added to into access request, Afterwards, the access request is sent to access point.
In alternatively possible implementation, when the smart machine gets the insertion authority License Info, and this connects Enter authorization information include indicating intelligent equipment can access mark when, the smart machine is according to the insertion authority License Info With the first access point identity to the operation that the access point sends access request can be:The mark that the indicating intelligent equipment can access After the facility information of knowledge and smart machine is added to the access request, the access request is sent to into access point.
In step 302, when access point receives the access request, the intelligence is determined whether according to the facility information Energy equipment is accessed, and when allowing the smart machine to access, is accessed to smart machine return permission and is notified.
Wherein, the access point may determine that the equipment in the facility information list of storage with the presence or absence of the smart machine is believed Breath, the facility information list are used for the facility information of the smart machine for describing the accessible access point, when the facility information list During the facility information of the middle presence smart machine, it is determined that allow the smart machine to access by the first access point identity, and to this Smart machine sends to allow to access and notifies;When not existing, it is determined that not allowing the smart machine to connect by the first access point identity Enter, and sending to the smart machine does not allow access to notify.
Further, as the access request is probably that smart machine is sent according to the insertion authority License Info, because This, access point can carry out access permission checking by the insertion authority License Info when the access request is received.
In a kind of possible implementation, when the access request include encode after facility information when, the access point First the smart machine information can be decoded, when the facility information can be decoded by the access point, it is determined that allowing The smart machine is accessed by the first access point identity, when the facility information cannot be decoded by the access point, it is determined that The smart machine is not allowed to access by the first access point identity.
In alternatively possible implementation, when the access request includes the mark that indicating intelligent equipment can access, The access point can directly determine that the permission smart machine is accessed by the first access point identity, when the access request includes referring to Show the mark that smart machine can access, it is determined that not allowing the smart machine to access by the first access point identity.
It should be noted that when the access point does not allow the smart machine to access by the first access point identity, may be used also To be left intact.
In step 303, when the permission that smart machine receives access point transmission is accessed to be notified, first accessed by this Point identification accesses the access point.
Wherein, when the smart machine is according to insertion authority License Info, the access point is accessed by the first access point identity When, when obtaining insertion authority License Info due to the smart machine, obtained by close range wireless communication modes, and low coverage Distance limit is subject to from communication, therefore, will be unable to obtain the insertion authority apart from access point smart machine farther out License Info, so as to the smart machine avoided apart from access point farther out accesses the access point, it is ensured that the safety of access point.
In addition, when the permission that smart machine does not receive access point transmission accesses notice, can be left intact.
Further, when smart machine is according to the step of above-mentioned 301-303, the access is accessed by the first access point identity After point, the smart machine can carry out network connection by the access point as follows.Now, when smart machine not When being capable of determining whether to access the access point, the smart machine can also detect whether the first access for providing by access point Point identification accesses the access point.
Wherein, the smart machine may determine that the permission for currently whether having been received by access point transmission accesses notice, examine Survey whether the first access point identity for providing by access point accesses the access point.
In addition, when the smart machine is detected and do not access the access point by the first access point identity, can be by ringing The modes such as bell, vibrations remind user.
In step 304, when smart machine accesses the access point by first access point identity, obtain from the access point Take second access point identity and the corresponding access point password of second access point identity.
Wherein, when smart machine accesses the access point by first access point identity, the smart machine can be to connecing Access point sends identification information and obtains request, when the access point receives the identification information obtains request, second can connect this Enter point identification and the corresponding access point password of second access point identity is sent to the smart machine, the smart machine can be received Second access point identity and the corresponding access point password of second access point identity.
It should be noted that second access point identity is different from the first access point identity, second access point identity is The access point identity with password of the access point configuration.
In addition, when second access point identity and the access point password are obtained from the access point, can also be without sending and be somebody's turn to do Identification information acquisition request, but after access point sends permission access notice to smart machine, actively will by the access point Second access point identity and the corresponding access point password of second access point identity are sent to the smart machine.
In step 305, smart machine is according to second access point identity and the corresponding access of the second access point identity Point password, carries out network connection.
It should be noted that the smart machine carries out network connection according to second access point identity and the access point password Operation may be referred to correlation technique, the embodiment of the present disclosure is no longer repeated one by one to this.
In the disclosed embodiments, smart machine can be obtained from access point and is connect by close range wireless communication modes Enter authorization information, and after the insertion authority License Info is got, the first access point identity provided by access point The access point is accessed, is communicatively coupled and the access point between such that it is able to set up, as close range wireless communication modes are received To distance limit, therefore, will be unable to obtain the insertion authority License Info apart from access point smart machine farther out, so as to avoid Smart machine apart from access point farther out accesses the access point, it is ensured that the safety of access point.Afterwards, the smart machine can So that the second access point identity and corresponding access point password are got from the access point by the communication connection, so that without behaviour The smart machine for making interface can carry out network connection according to second access point identity and corresponding access point password, solve Smart machine without operation interface cannot carry out the problem of network connection.
Fig. 4 is a kind of flow chart of the method for connecting network according to an exemplary embodiment.With reference to Fig. 4, the method Comprise the steps.
In step 401, smart machine detects whether to access access point by close range wireless communication modes.
Wherein, smart machine may determine that the permission for currently whether having been received by access point transmission accesses notice, detect Whether access point is accessed by close range wireless communication modes.In addition, the near radio mode can be bluetooth, NFC etc..
Further, before smart machine detects whether to access the access point by close range wireless communication modes, also The access point can be accessed by close range wireless communication modes.
Wherein, intelligent terminal can include the following two kinds by the operation that close range wireless communication modes access the access point Mode.
First kind of way, smart machine judge whether the wireless near field communication signal for detecting the access point;When detecting During the wireless near field communication signal of the access point, the access point is accessed by close range wireless communication modes;When the intelligence sets For when being not detected by the wireless near field communication signal of the access point, the smart machine can not do any operation, or, pass through The modes such as jingle bell, vibrations remind user that the smart machine is not detected by the wireless near field communication signal of the access point.
It should be noted that whether the smart machine can detect the wireless near field communication of the access point with real-time judge Signal, it is also possible to judge whether to detect the wireless near field communication signal of the access point every specified time interval.
Wherein, the specified time interval can be arranged in advance, such as the specified time interval can for 10 seconds, 20 seconds, 30 Second etc..
The second way, access point detect the wireless near field communication signal of the smart machine, when access point detects this During the wireless near field communication signal of smart machine, the access point can be set up wireless near field communication with smart machine and be connected.
Further, since when the wireless communication signals between smart machine and access point are weaker, intelligence may be affected to set It is standby to access the access point, therefore, when the access point and smart machine are set up before wireless near field communication is connected, it may also be determined that The signal intensity of the wireless near field communication signal, the signal intensity and intensity threshold are compared, when the signal intensity it is big In or be equal to the intensity threshold when, set up wireless near field communication with the smart machine and be connected;When the signal intensity is less than this is strong During degree threshold value, the access point can not do any operation.
It should be noted that the intensity threshold is used to weigh whether can set up wireless near field communication with the smart machine Connect, and the intensity threshold can be arranged in advance, such as, the intensity threshold can be 60dbm, 70dbm, 80dbm etc..
In step 402, when smart machine is detected accesses the access point by the close range wireless communication modes, from The access point obtains the access point identity of the access point and access point password.
Wherein, when smart machine is detected accesses the access point by the near radio mode, the smart machine can To obtain request to access point transmission identification information, when the access point receives the identification information obtains request, will can be somebody's turn to do Access point identity and the corresponding access point password of the access point identity are sent to the smart machine, and the smart machine can receive this Access point identity and the corresponding access point password of the access point identity.
It should be noted that as the smart machine obtains access point identity and the corresponding access point of the access point identity is close During code, it is to be obtained by close range wireless communication modes, and close range wireless communication modes is subject to distance limit, therefore, away from Will be unable to obtain the access point identity and the corresponding access point password of the access point identity from access point smart machine farther out, from And the smart machine avoided apart from access point farther out accesses the access point, it is ensured that the safety of access point.
In addition, when the smart machine obtains the access point identity and the access point password from the access point, can not send out The identification information is given to obtain request, but after smart machine accesses access point by close range wireless communication modes, by this Access point actively sends the access point identity and the corresponding access point password of the access point identity to the smart machine.
Furthermore, when the smart machine is detected does not access the access point by close range wireless communication modes, Ke Yitong Cross the modes such as jingle bell, vibrations and remind user.
In step 403, smart machine carries out network connection according to the access point identity and the access point password.
It should be noted that the smart machine carries out the behaviour of network connection according to the access point identity and the access point password Correlation technique is may be referred to, the embodiment of the present disclosure is no longer repeated one by one to this.
In the disclosed embodiments, smart machine can detect whether to access the access by close range wireless communication modes Point, when detect access the access point by the close range wireless communication modes when, access can be got from the access point Point identification and corresponding access point password, so that the smart machine without operation interface can be according to the access point identity and correspondence Access point password, carry out network connection, solve the problems, such as that the smart machine without operation interface cannot carry out network connection.Separately Outward, as close range wireless communication modes are subject to distance limit, therefore, will be unable to obtain apart from access point smart machine farther out The access point identity and the corresponding access point password of the access point identity, so as to avoid the smart machine apart from access point farther out Access the access point, it is ensured that the safety of access point.
Fig. 5 A are a kind of block diagrams of the smart machine according to an exemplary embodiment.Reference picture 5A, the smart machine Including detection module 501, the first acquisition module 502 and link block 503.
Detection module 501, for detecting whether the first access point identity for being provided by access point accesses the access point, First access point identity is that, without password access point, and first access point identity is different from the second access point identity, and this second Access point identity is the access point identity with password of the access point configuration;
First acquisition module 502, for when detect the access point is accessed by first access point identity when, connect from this Access point obtains second access point identity and the corresponding access point password of second access point identity;
Link block 503, for close according to second access point identity and the corresponding access point of the second access point identity Code, carries out network connection.
Alternatively, referring to Fig. 5 B, the smart machine also includes:
Sending module 504, for sending access request, the access request to the access point according to first access point identity The middle facility information for carrying the smart machine, the access request are used to indicate that the access point judges whether to permit according to the facility information Permitted the smart machine to access;
AM access module 505, for when the permission access notice that the access point sends is received, by first access point Mark accesses the access point.
Alternatively, referring to Fig. 5 C, the smart machine also includes:
Second acquisition module 506, for by close range wireless communication modes, obtaining the insertion authority license of the access point Information, the insertion authority License Info can access the access point by first access point identity for instruction;
Trigger module 507, for according to the insertion authority License Info, triggering the sending module according to first access point Identify to the access point and send access request.
Alternatively, referring to Fig. 5 D, second acquisition module 506 includes:
Judging submodule 5061, for judging whether to detect the wireless near field communication signal of the access point;
Setting up submodule 5062, for when the wireless near field communication signal of the access point is detected, with the access point Set up wireless near field communication connection;
Acquisition submodule 5063, for being connected by the wireless near field communication, is obtained the access from the access point and is awarded Power License Info.
In the disclosed embodiments, smart machine can be obtained from access point and is connect by close range wireless communication modes Enter authorization information, and after the insertion authority License Info is got, the first access point identity provided by access point The access point is accessed, is communicatively coupled and the access point between such that it is able to set up, as close range wireless communication modes are received To distance limit, therefore, will be unable to obtain the insertion authority License Info apart from access point smart machine farther out, so as to avoid Smart machine apart from access point farther out accesses the access point, it is ensured that the safety of access point.Afterwards, the smart machine can So that the second access point identity and corresponding access point password are got from the access point by the communication connection, so that without behaviour The smart machine for making interface can carry out network connection according to second access point identity and corresponding access point password, solve Smart machine without operation interface cannot carry out the problem of network connection.
Fig. 6 is a kind of block diagram of the smart machine according to an exemplary embodiment.With reference to Fig. 6, the smart machine bag Include detection module 601, acquisition module 602 and link block 603.
Detection module 601, for detecting whether accessing access point by close range wireless communication modes;
Acquisition module 602, for when detect access the access point by the close range wireless communication modes when, connect from this Access point obtains the access point identity of the access point and access point password;
Gang mould module 603, for according to the access point identity and the access point password, carrying out network connection.
In the disclosed embodiments, smart machine can detect whether to access the access by close range wireless communication modes Point, when detect access the access point by the close range wireless communication modes when, access can be got from the access point Point identification and corresponding access point password, so that the smart machine without operation interface can be according to the access point identity and correspondence Access point password, carry out network connection, solve the problems, such as that the smart machine without operation interface cannot carry out network connection.Separately Outward, as close range wireless communication modes are subject to distance limit, therefore, will be unable to obtain apart from access point smart machine farther out The access point identity and the corresponding access point password of the access point identity, so as to avoid the smart machine apart from access point farther out Access the access point, it is ensured that the safety of access point.
With regard to the smart machine in above-described embodiment, wherein modules perform the concrete mode for operating and are somebody's turn to do relevant It has been described in detail in the embodiment of method, explanation will be not set forth in detail herein.
Fig. 7 is a kind of block diagram of the smart machine 700 for network connection according to an exemplary embodiment.Example Such as, smart machine 700 can be digital broadcast terminal, and messaging devices, game console, armarium, body-building equipment are individual Personal digital assistant etc..
With reference to Fig. 7, smart machine 700 can include following one or more assemblies:Process assembly 702, memorizer 704, Power supply module 706, multimedia groupware 708, audio-frequency assembly 710, the interface 712 of input/output (I/O), sensor cluster 714, And communication component 716.
The integrated operation of the generally control smart machine 700 of process assembly 702, such as with call, data communication and note The associated operation of record operation.Process assembly 702 can carry out execute instruction including one or more processors 720, on completing The all or part of step of the method stated.Additionally, process assembly 702 can include one or more modules, it is easy to process assembly Interaction between 702 and other assemblies.For example, process assembly 702 can include multi-media module, to facilitate multimedia groupware Interaction between 708 and process assembly 702.
Memorizer 704 is configured to store various types of data to support the operation in smart machine 700.These data Example include instruction of any application program or method for operating on smart machine 700 etc..Memorizer 704 can be by Any kind of volatibility or non-volatile memory device or combinations thereof realization, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM) may be programmed Read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 706 provides power supply for the various assemblies of smart machine 700.Power supply module 706 can include power supply pipe Reason system, one or more power supplys, and other generate, manage and distribute the component that power supply is associated with for smart machine 700.
Audio-frequency assembly 710 is configured to output and/or input audio signal.For example, audio-frequency assembly 710 includes a Mike Wind (MIC), when smart machine 700 is in operator scheme, such as call model, logging mode and speech recognition mode, mike It is configured to receive external audio signal.The audio signal for being received can be further stored in memorizer 704 or via logical Letter component 716 sends.In certain embodiments, audio-frequency assembly 710 also includes a speaker, for exports audio signal.
, for interface is provided between process assembly 702 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 712 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 714 includes one or more sensors, for the state of various aspects is provided for smart machine 700 Assessment.For example, sensor cluster 714 can detect the opening/closed mode of smart machine 700, and the relative localization of component is passed Sensor component 714 can also detect the position change of 700 1 components of smart machine 700 or smart machine, and user is set with intelligence Presence or absence of, the temperature change of 700 orientation of smart machine or acceleration/deceleration and smart machine 700 of standby 700 contact.Pass Sensor component 714 can include proximity transducer, be configured to object near detecting when not having any physical contact Exist.In certain embodiments, the sensor cluster 714 can also include acceleration transducer, gyro sensor, magnetic sensing Device, pressure transducer or temperature sensor.
Communication component 716 is configured to facilitate the communication of wired or wireless way between smart machine 700 and other equipment. Smart machine 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Show at one In example property embodiment, communication component 716 receives broadcast singal or the broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 716 also includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, smart machine 700 can be by one or more application specific integrated circuits (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memorizer 704 of instruction, above-mentioned instruction can be performed to complete said method by the processor 720 of smart machine 700.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the process of smart machine Device perform when so that smart machine be able to carry out it is above-mentioned as shown in Figure 1 to Figure 4 in it is arbitrary shown in method.
Those skilled in the art will readily occur to its of the present invention after considering description and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification of the present invention, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the precision architecture for being described above and being shown in the drawings is the invention is not limited in, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is limited only by appended claim.

Claims (9)

1. a kind of method for connecting network, it is characterised in that be applied in smart machine, methods described includes:
Detect whether that the first access point identity for providing by access point accesses described access point, first access point identity It is that, without password access point identity, and first access point identity is different from the second access point identity, the second access point mark Know the access point identity with password for described access point configuration;
When detecting by first access point identity access described access point, described second is obtained from described access point and connect Enter point identification and the corresponding access point password of second access point identity;
According to second access point identity and the corresponding access point password of second access point identity, network connection is carried out.
2. method according to claim 1, it is characterised in that described to detect whether to connect by access point is provided first Before entering point identification access described access point, also include:
Access request is sent to described access point according to first access point identity, the intelligence in the access request, is carried The facility information of equipment, the access request are used to indicate described access point according to the facility information is determined whether Smart machine is accessed;
When the permission for receiving described access point transmission is accessed to be notified, the access is accessed by first access point identity Point.
3. method according to claim 2, it is characterised in that it is described according to first access point identity to the access Before point sends access request, also include:
By close range wireless communication modes, the insertion authority License Info of described access point, the insertion authority license are obtained Information is used for instruction and can access described access point by first access point identity;
According to the insertion authority License Info, perform described transmission to described access point according to first access point identity and connect Enter the operation of request.
4. method according to claim 3, it is characterised in that described by close range wireless communication modes, obtains described The insertion authority License Info of access point, including:
Judge whether to detect the wireless near field communication signal of described access point;
When the wireless near field communication signal of described access point is detected, wireless near field communication company is set up with described access point Connect;
Connected by the wireless near field communication, the insertion authority License Info is obtained from described access point.
5. a kind of smart machine, it is characterised in that the smart machine includes:
Detection module, for detecting whether described access point is accessed by the first access point identity that access point is provided, it is described First access point identity is that, without password access point identity, and first access point identity is different from the second access point identity, institute State the access point identity with password that the second access point identity is described access point configuration;
First acquisition module, for when detecting by first access point identity access described access point, connecing from described Access point obtains second access point identity and the corresponding access point password of second access point identity;
Link block, for according to second access point identity and the corresponding access point password of second access point identity, Carry out network connection.
6. smart machine according to claim 5, it is characterised in that the smart machine also includes:
Sending module, for sending access request, the access request to described access point according to first access point identity The middle facility information for carrying the smart machine, the access request are used to indicate that described access point is sentenced according to the facility information It is disconnected whether to allow the smart machine to access;
AM access module, for when the permission for receiving described access point transmission accesses notice, by the first access point mark Know and access described access point.
7. smart machine according to claim 6, it is characterised in that the smart machine also includes:
Second acquisition module, for by close range wireless communication modes, obtaining the insertion authority License Info of described access point, The insertion authority License Info is used for instruction and can access described access point by first access point identity;
Trigger module, for according to the insertion authority License Info, triggering the sending module according to first access point Identify to described access point and send access request.
8. smart machine according to claim 7, it is characterised in that second acquisition module includes:
Judging submodule, for judging whether to detect the wireless near field communication signal of described access point;
Setting up submodule, for when the wireless near field communication signal of described access point is detected, setting up with described access point Wireless near field communication connects;
Acquisition submodule, for connecting by the wireless near field communication, obtains the insertion authority from described access point License Info.
9. a kind of smart machine, it is characterised in that the smart machine includes:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
Detect whether that the first access point identity for providing by access point accesses described access point, first access point identity It is that, without password access point identity, and first access point identity is different from the second access point identity, the second access point mark Know the access point identity with password for described access point configuration;
When detecting by first access point identity access described access point, described second is obtained from described access point and connect Enter point identification and the corresponding access point password of second access point identity;
According to second access point identity and the corresponding access point password of second access point identity, network connection is carried out.
CN201611055344.8A 2016-11-25 2016-11-25 Network connection method and intelligent device Active CN106550383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611055344.8A CN106550383B (en) 2016-11-25 2016-11-25 Network connection method and intelligent device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611055344.8A CN106550383B (en) 2016-11-25 2016-11-25 Network connection method and intelligent device

Publications (2)

Publication Number Publication Date
CN106550383A true CN106550383A (en) 2017-03-29
CN106550383B CN106550383B (en) 2020-06-19

Family

ID=58395355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611055344.8A Active CN106550383B (en) 2016-11-25 2016-11-25 Network connection method and intelligent device

Country Status (1)

Country Link
CN (1) CN106550383B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616882A (en) * 2018-04-10 2018-10-02 青岛海尔科技有限公司 Household appliance matches network method, method of network entry, device, storage medium and equipment
CN108683715A (en) * 2018-04-26 2018-10-19 京东方科技集团股份有限公司 Intermediate equipment, internet-of-things terminal and its method for accessing platform of internet of things
WO2019153143A1 (en) * 2018-02-07 2019-08-15 华为技术有限公司 Network access method, device, and system
CN111328125A (en) * 2020-02-25 2020-06-23 联想(北京)有限公司 Wireless access and equipment access method, device, system and readable storage medium
CN114422995A (en) * 2022-01-04 2022-04-29 太仓市同维电子有限公司 Method for household automatic networking without awareness

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108380A (en) * 2011-11-10 2013-05-15 北京千橡网景科技发展有限公司 Method and device for providing network connection
US8631471B2 (en) * 2011-06-13 2014-01-14 Cisco Technology, Inc. Automated seamless reconnection of client devices to a wireless network
CN103686730A (en) * 2013-12-27 2014-03-26 北京奇虎科技有限公司 Active RFID (radio frequency identification devices) mobile terminal and method for utilizing active RFID mobile terminal to perform network authentication
CN104144463A (en) * 2014-08-19 2014-11-12 天津三星通信技术研究有限公司 Wi-fi network access method and system
CN104301891A (en) * 2014-09-18 2015-01-21 深圳市螺光科技有限公司 Method and system for interconnecting intelligent device and WiFi router
WO2015131187A1 (en) * 2014-02-28 2015-09-03 Interactive Location Media Network communication system and method for delivering content to mobile devices using long-range wi-fi/bluetooth communication devices
CN104936179A (en) * 2015-06-08 2015-09-23 广东美的暖通设备有限公司 Method and system for controlling electric appliance to access router
EP2955949A1 (en) * 2014-06-13 2015-12-16 HAGAN, Chris Wireless access point allocation and transfer
CN105245539A (en) * 2015-10-27 2016-01-13 上海斐讯数据通信技术有限公司 Router visitor verification method and system and router
CN105357740A (en) * 2015-09-23 2016-02-24 惠州Tcl移动通信有限公司 Wireless network access method and wireless access node
CN105722078A (en) * 2016-01-29 2016-06-29 北京小米移动软件有限公司 Wifi access method and device
CN105933899A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Access method and device of wireless access point
CN105959950A (en) * 2015-12-02 2016-09-21 珠海网博信息科技股份有限公司 Wireless access system and connection method thereof
CN106535191A (en) * 2016-11-24 2017-03-22 北京小米移动软件有限公司 Network connection establishing method and device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8631471B2 (en) * 2011-06-13 2014-01-14 Cisco Technology, Inc. Automated seamless reconnection of client devices to a wireless network
CN103108380A (en) * 2011-11-10 2013-05-15 北京千橡网景科技发展有限公司 Method and device for providing network connection
CN103686730A (en) * 2013-12-27 2014-03-26 北京奇虎科技有限公司 Active RFID (radio frequency identification devices) mobile terminal and method for utilizing active RFID mobile terminal to perform network authentication
WO2015131187A1 (en) * 2014-02-28 2015-09-03 Interactive Location Media Network communication system and method for delivering content to mobile devices using long-range wi-fi/bluetooth communication devices
EP2955949A1 (en) * 2014-06-13 2015-12-16 HAGAN, Chris Wireless access point allocation and transfer
CN104144463A (en) * 2014-08-19 2014-11-12 天津三星通信技术研究有限公司 Wi-fi network access method and system
CN104301891A (en) * 2014-09-18 2015-01-21 深圳市螺光科技有限公司 Method and system for interconnecting intelligent device and WiFi router
CN104936179A (en) * 2015-06-08 2015-09-23 广东美的暖通设备有限公司 Method and system for controlling electric appliance to access router
CN105357740A (en) * 2015-09-23 2016-02-24 惠州Tcl移动通信有限公司 Wireless network access method and wireless access node
CN105245539A (en) * 2015-10-27 2016-01-13 上海斐讯数据通信技术有限公司 Router visitor verification method and system and router
CN105959950A (en) * 2015-12-02 2016-09-21 珠海网博信息科技股份有限公司 Wireless access system and connection method thereof
CN105722078A (en) * 2016-01-29 2016-06-29 北京小米移动软件有限公司 Wifi access method and device
CN105933899A (en) * 2016-04-14 2016-09-07 北京小米移动软件有限公司 Access method and device of wireless access point
CN106535191A (en) * 2016-11-24 2017-03-22 北京小米移动软件有限公司 Network connection establishing method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019153143A1 (en) * 2018-02-07 2019-08-15 华为技术有限公司 Network access method, device, and system
US11647548B2 (en) 2018-02-07 2023-05-09 Huawei Technologies Co., Ltd. Network access method, device, and system
CN108616882A (en) * 2018-04-10 2018-10-02 青岛海尔科技有限公司 Household appliance matches network method, method of network entry, device, storage medium and equipment
CN108683715A (en) * 2018-04-26 2018-10-19 京东方科技集团股份有限公司 Intermediate equipment, internet-of-things terminal and its method for accessing platform of internet of things
WO2019205856A1 (en) * 2018-04-26 2019-10-31 京东方科技集团股份有限公司 Intermediary device, internet of things terminal, and method therefor for accessing internet of things platform
US11184441B2 (en) 2018-04-26 2021-11-23 Boe Technology Group Co., Ltd. Intermediate device, IoT terminal and method of IoT terminal accessing IoT platform
CN108683715B (en) * 2018-04-26 2022-05-10 京东方科技集团股份有限公司 Intermediate device, Internet of things terminal and method for accessing Internet of things platform
CN111328125A (en) * 2020-02-25 2020-06-23 联想(北京)有限公司 Wireless access and equipment access method, device, system and readable storage medium
CN111328125B (en) * 2020-02-25 2022-05-31 联想(北京)有限公司 Wireless access and equipment access method, device, system and readable storage medium
CN114422995A (en) * 2022-01-04 2022-04-29 太仓市同维电子有限公司 Method for household automatic networking without awareness

Also Published As

Publication number Publication date
CN106550383B (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN106550383A (en) Method for connecting network and smart machine
CN106714081A (en) Networking method and intelligent device
CN104091376B (en) Intelligent lock control method and apparatus thereof
US9928670B2 (en) Method and system for access control monitoring
CN101043400B (en) Access authentication system and method using smart communicator
CN103957316B (en) A kind of smart mobile phone anti-theft protection method
CN106101138A (en) Method for processing business based on mobile terminal and device
CN106302762A (en) Smart machine binding method and device
CN103996229B (en) A kind of garage management method based on car plate, voice and recognition of face and device
CN103067460A (en) Corrective biology identification long distance identity checking method towards judicial community
CN105701997A (en) Alarm method and device
CN106375096A (en) Short message verification method and device
CN106121370A (en) The based reminding method of intelligent door lock and device
CN105847243A (en) Method and device for accessing smart camera
CN110493474A (en) A kind of data processing method, device and electronic equipment
CN104601204B (en) trigger condition detection method and device
CN106446653A (en) Application authority management method and device and electronic equipment
CN104753898B (en) A kind of verification method, verification terminal, authentication server
CN106101105A (en) Data processing method, Apparatus and system
CN107733872A (en) Information Method of printing and device
KR100703136B1 (en) Morning call service by mobile robot
CN106920301A (en) Quick Response Code self-identifying guidance system
CN107506669A (en) The theft preventing method and device of a kind of mobile terminal
CN106530641A (en) Intelligent anti-lost device, working method thereof and intelligent anti-lost system
CN106550482A (en) Communication connection method for building up and device, electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant