Movatterモバイル変換


[0]ホーム

URL:


CN104812092B - A kind of networking methods and device of smart machine - Google Patents

A kind of networking methods and device of smart machine
Download PDF

Info

Publication number
CN104812092B
CN104812092BCN201510128912.1ACN201510128912ACN104812092BCN 104812092 BCN104812092 BCN 104812092BCN 201510128912 ACN201510128912 ACN 201510128912ACN 104812092 BCN104812092 BCN 104812092B
Authority
CN
China
Prior art keywords
router
smart machine
sent
connection
mobile terminal
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.)
Active
Application number
CN201510128912.1A
Other languages
Chinese (zh)
Other versions
CN104812092A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi IncfiledCriticalXiaomi Inc
Priority to CN201510128912.1ApriorityCriticalpatent/CN104812092B/en
Publication of CN104812092ApublicationCriticalpatent/CN104812092A/en
Application grantedgrantedCritical
Publication of CN104812092BpublicationCriticalpatent/CN104812092B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The disclosure is directed to a kind of networking methods of smart machine and device, this method includes:When receiving the instruction of connection network, the request of connection router is sent to mobile terminal;Receive the target password information of the mark and the connection destination router of the destination router that the mobile terminal is sent;The connection request for carrying the target password information is sent to the destination router according to the mark of the destination router;When being not attached to the destination router within a predetermined period of time, the operation of restarting is executed.Therefore, the scheme of the disclosure can automatically restart when smart machine cannot connect to router, to reduce the operating quantity of user.

Description

A kind of networking methods and device of smart machine
Technical field
The present invention relates to fields of communication technology, more specifically, being related to the networking methods and device of smart machine.
Background technology
Currently, usually there is smart machine network module, smart machine can be connected to router by the network module,Smart machine can be connected to network by the router in this way.
Under normal conditions, there is smart machine setting button, user can be inputted to smart machine by the setting buttonThe username and password of router, so that the smart machine is connected to by the username and password on the router.
But user, to after the username and password of smart machine input router, smart machine is in connection routerDuring may fail smoothly to be connected on the router due to various reasons.In this case, even if intelligence is setStandby to cannot connect on router, smart machine unconfined can also connect, and user is not aware that smart machineThrough cannot connect on router, so the time of user can be wasted.
Moreover, when user has found that smart machine cannot connect to router, user also needs to close the intelligenceThe power supply of energy equipment, and the smart machine is waited for completely close;After the smart machine completely closes, user also needs to beat againOpen the power supply of the smart machine.So every time when smart machine cannot connect to router, user is required for weight manuallySmart machine is opened, to increase the operating quantity of user.
Invention content
To overcome the problems in correlation technique, the disclosure provides a kind of networking methods and device of smart machine, withSmart machine is set to restart automatically when cannot connect to router.
According to the first aspect of the embodiments of the present disclosure, a kind of networking methods of smart machine are provided, including:
When receiving the instruction of connection network, the request of connection router is sent to mobile terminal;
Receive the target password of the mark and the connection destination router of the destination router that the mobile terminal is sentInformation;
The company for carrying the target password information is sent to the destination router according to the mark of the destination routerConnect request;
When being not attached to the destination router within a predetermined period of time, the operation of restarting is executed.
Optionally, after the operation for executing restarting, the method further includes:
When receiving the instruction for the reconnect destination router that the mobile terminal is sent, according to the targetThe mark of router sends the connection request for carrying the target password information to the destination router.
Optionally, after the operation for executing restarting, the method further includes:
In the specified close of the mark and the connection Designated Router for receiving the Designated Router that the mobile terminal is sentWhen code information, the company for carrying the designated pin information is sent to the Designated Router according to the mark of the Designated RouterConnect request;
When being not attached to the Designated Router in the predetermined amount of time, the operation of restarting is executed;
When being connected to the Designated Router in the predetermined amount of time, it is successful to send networking to the mobile terminalPrompt message.
Optionally, after the operation for executing restarting, the method further includes:
The prompt message of networking failure is sent to the mobile terminal, so that the mobile terminal shows the prompt letterBreath.
Optionally, after the operation for executing restarting, the method further includes:
The hint instructions that networking failure is sent to the wearable device connected in advance, so that the wearable device is according to instituteIt states hint instructions and is shaken or exported alarm sound.
Optionally, after the operation for executing restarting, the method further includes:
Show the prompt message of networking failure.
According to the second aspect of the embodiment of the present disclosure, a kind of networked devices of smart machine are provided, including:
First sending module, for when receiving the instruction of connection network, connection router to be sent to mobile terminalRequest;
First receiving module, the mark for receiving the destination router that the mobile terminal is sent and the connection targetThe target password information of router;
Second sending module, for being sent described in carrying to the destination router according to the mark of the destination routerThe connection request of target password information;
First restarts module, when for being not attached to the destination router within a predetermined period of time, executes restartingOperation.
Optionally, described device further includes:
Third sending module, in the finger for receiving the reconnect destination router that the mobile terminal is sentWhen enabling, the connection for sending the carrying target password information to the destination router according to the mark of the destination router is askedIt asks.
Optionally, described device further includes:
5th sending module, in the mark and the connection finger for receiving the Designated Router that the mobile terminal is sentWhen determining the designated pin information of router, sent described in carrying to the Designated Router according to the mark of the Designated RouterThe connection request of designated pin information;
Second restarts module, when for being not attached to the Designated Router in the predetermined amount of time, executes againThe operation of startup;
6th sending module, when for being connected to the Designated Router in the predetermined amount of time, to the movementTerminal sends the successful prompt message that networks.
Optionally, described device further includes:
7th sending module, the prompt message for sending networking failure to the mobile terminal, so that the movement is eventuallyEnd shows the prompt message.
Optionally, described device further includes:
8th sending module, the hint instructions for sending networking failure to the wearable device connected in advance, so that instituteIt states wearable device and alarm sound is shaken or exported according to the hint instructions.
Optionally, described device further includes:
Display module, the prompt message for showing networking failure.
According to the third aspect of the embodiment of the present disclosure, a kind of networked devices of smart machine are provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When receiving the instruction of connection network, the request of connection router is sent to mobile terminal;
Receive the target password of the mark and the connection destination router of the destination router that the mobile terminal is sentInformation;
The company for carrying the target password information is sent to the destination router according to the mark of the destination routerConnect request;
When being not attached to the destination router within a predetermined period of time, the operation of restarting is executed.
The technical scheme provided by this disclosed embodiment can include the following benefits:The scheme that the disclosure provides can be withSo that smart machine is sent to destination router using the mark of the destination router of mobile terminal transmission and carries target password informationConnection request, when being not attached to destination router within a predetermined period of time, illustrate smart machine there may be certain problem,Need by restart so that smart machine again be in original state, with eliminate there may be the problem of.Therefore, the disclosureScheme can automatically restart when smart machine cannot connect to router, to reduce the operating quantity of user.
It should be understood that above general description and following detailed description is only exemplary and explanatory, notThe disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present inventionExample, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of the networking methods of smart machine shown according to an exemplary embodiment.
Fig. 2 is the flow chart of the networking methods of another smart machine shown according to an exemplary embodiment.
Fig. 3 is the flow chart according to the networking methods of another smart machine shown in an exemplary embodiment.
Fig. 4 is the flow chart according to the networking methods of another smart machine shown in an exemplary embodiment.
Fig. 5 is the flow chart according to the networking methods of another smart machine shown in an exemplary embodiment.
Fig. 6 is the flow chart according to the networking methods of another smart machine shown in an exemplary embodiment.
Fig. 7 is a kind of schematic diagram of the networked devices of smart machine shown according to an exemplary embodiment.
Fig. 8 is the schematic diagram of the networked devices of another smart machine shown according to an exemplary embodiment.
Fig. 9 is the schematic diagram according to the networked devices of another smart machine shown in an exemplary embodiment.
Figure 10 is the schematic diagram according to the networked devices of another smart machine shown in an exemplary embodiment.
Figure 11 is the schematic diagram according to the networked devices of another smart machine shown in an exemplary embodiment.
Figure 12 is the schematic diagram according to the networked devices of another smart machine shown in an exemplary embodiment.
Figure 13 is a kind of block diagram of the networked devices of smart machine shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related toWhen attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodimentDescribed in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appendedThe example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of flow chart of the networking methods of smart machine shown according to an exemplary embodiment, such as Fig. 1 institutesShow, the networking methods of smart machine shown in FIG. 1 can be used in smart machine.The networking for the smart machine that the disclosure providesMethod can be such that smart machine restarts automatically when cannot connect to router.This approach includes the following steps.
In step s 11, when receiving the instruction of connection network, the request of connection router is sent to mobile terminal.
Wherein, the method that the disclosure provides can be applied in smart machine, and smart machine can be that intelligent socket etc. is setIt is standby.Mobile terminal can be the terminals such as smart mobile phone or tablet computer.
When smart machine starts, there are the instructions that two ways receives connection network for smart machine.First wayFor after smart machine startup, smart machine can receive the instruction of connection network input by user;The second way is,After smart machine startup, smart machine can receive the connection network that the program being stored in advance in smart machine is sentInstruction.
No matter use which kind of above-mentioned mode that smart machine is made to receive the instruction of connection network, smart machine is receivingThe request of the connection router comprising identity can be all sent when the instruction of the connection network to mobile terminal, and then passes through companyIt is connected on router to network.Wherein, including the request of the connection router of identity can be by broadcasting packet to outgoingIt send.
It is mobile whole when mobile terminal receives the request of the connection router comprising identity of smart machine transmissionEnd can show the mark of the router that can be connected in a certain range, and going out will connect for selection by the user with smart machineRouter.After showing the mark of each attachable router on the display screen of mobile terminal, user can selectSelect the mark for the router that one to be connected.It is mobile when receiving the mark of the destination router of user's selection in mobile terminalTerminal also needs to receive the target password information of linking objective router input by user.Then, mobile terminal will will receiveTo destination router mark and target password information be sent to smart machine.
For example, it is assumed that smart machine is intelligent socket, the identity of intelligent socket is ID001, and mobile terminal is intelligenceMobile phone.After intelligent socket startup, the wireless network module of intelligent socket can be periodically sent out comprising identityThe broadcasting packet of ID001.When smart mobile phone receives the broadcasting packet comprising identity ID001 of intelligent socket transmission,Smart mobile phone just knows that the intelligent socket is currently at the state for waiting for connection router, and smart mobile phone will be searched current predeterminedThe router that may be coupled in range, smart mobile phone can show the mark of each router that can be connected on the display screenKnow, allows the user to the mark for selecting a suitable router in the mark of these routers.It is received in smart mobile phoneTo destination router input by user mark and target password information when, target input by user will be route by smart mobile phoneThe mark and target password information of device are sent to intelligent socket.
In step s 12, the target of the mark and linking objective router of the destination router that mobile terminal is sent is receivedEncrypted message.
Wherein, after the mark of destination router and target password information are sent to smart machine by mobile terminal, intelligenceEnergy equipment will receive the mark of the destination router of mobile terminal transmission and the target password letter of linking objective routerBreath.
For example, it is assumed that smart machine is intelligent socket, mobile terminal is smart mobile phone.User's choosing is received in smart mobile phoneAfter the target password information 123456 of the mark LYQ1 for the destination router selected and the connection destination router input by user,Smart mobile phone will automatically send the mark LYQ1 and target password information 123456 of destination router to intelligent socket.ThisWhen, intelligent socket can receive the target of the mark LYQ1 and linking objective router of the destination router of smart mobile phone transmissionEncrypted message 123456, such intelligent socket can utilize the mark LYQ1 and target password information 123456 of destination routerIt is connected on destination router.
In step s 13, the company for carrying target password information is sent to destination router according to the mark of destination routerConnect request.
Wherein, after smart machine receives mark and the target password information of destination router, smart machineThe connection request for carrying target password information is sent to destination router according to the mark of destination router.In destination routerAfter the connection request for receiving the carrying target password information, it is close to verify the target that smart machine is sent for router in targetWhether code information is correct, if it is correct that destination router, which verifies the target password information, destination router will be withSmart machine establishes connection, and smart machine also can be connected to external network by destination router;If destination routerIt is wrong to verify the target password information, is connected then destination router just will not be established with smart machine, smart machineExternal network just can not be connected to by destination router.In addition, the connection request for carrying designated pin information can be by wideThe form for reporting text is sent.
In step S14, when being not attached to destination router within a predetermined period of time, the operation of restarting is executed.
Wherein, in the case where the target password information that destination router verifies smart machine transmission is mistake, targetRouter will not be established with smart machine and be connected, nor the prompt message of any connection failure can be sent to smart machine,So user be not aware that smart machine whether with destination router successful connection, and smart machine can continue waiting underIt goes.
In this case, close to destination router transmission carrying target according to the mark of destination router in smart machineWhen the connection request of code information, smart machine will start timing, to determine the Connection Time of smart machine and destination router.If smart machine is judged still to be not attached on destination router within a predetermined period of time, smart machine will think thisSecondary linking objective router failure, executes the operation of restarting, to make smart machine be returned to again just by restartingBeginning state, with eliminate there may be the problem of.
Certainly, predetermined amount of time can be pre-set according to actual conditions, i.e., connects router according to smart machineThe normal use time determines.For example, when smart machine is intelligent socket, it is assumed that intelligent socket link road under normal circumstancesIt it is 75 seconds by the device required time, then can predetermined amount of time be set as 75 seconds in advance.So predetermined amount of time isThe time used in router is connected under normal circumstances according to smart machine to determine.
In the embodiment shown in fig. 1, the scheme that the disclosure provides can be such that smart machine is sent using mobile terminalThe mark of destination router sends the connection request for carrying target password information to destination router, does not connect within a predetermined period of timeWhen being connected to destination router, illustrate smart machine there may be certain problem, needs by restarting so that smart machineAgain be in original state, with eliminate there may be the problem of.Therefore, the scheme of the disclosure can not be connected in smart machineIt can restart automatically to when router, to reduce the operating quantity of user.
Fig. 2 is the flow chart of the networking methods of another smart machine shown according to an exemplary embodiment, such as Fig. 2 institutesShow, the networking methods of smart machine shown in Fig. 2 can be used in smart machine.Fig. 2 is that one based on Fig. 1 is optional realExample is applied, in the embodiment shown in Figure 2, part identical with embodiment shown in FIG. 1 may refer in embodiment shown in FIG. 1It introduces and explains.Method shown in Fig. 2 includes the following steps.
In the step s 21, when receiving the instruction of connection network, the request of connection router is sent to mobile terminal.
In step S22, the target of the mark and linking objective router of the destination router that mobile terminal is sent is receivedEncrypted message.
In step S23, the company for carrying target password information is sent to destination router according to the mark of destination routerConnect request.
In step s 24, when being not attached to destination router within a predetermined period of time, the operation of restarting is executed.
In step s 25, in the instruction of reconnect destination router for receiving mobile terminal transmission, according to targetThe mark of router sends the connection request for carrying target password information to destination router.
Wherein, after smart machine restarting, illustrate that smart machine is not connected on destination router, thisWhen, mobile terminal allows user to input reconnection instruction, so that smart machine can be instructed according to the reconnection reconnects target roadBy device.When mobile terminal receives reconnection instruction input by user, mobile terminal will send this to smart machine and connect againConnect the instruction of destination router.
When smart machine receives the instruction of reconnect destination router of mobile terminal transmission, smart machine can rootThe connection request for carrying target password information is sent to destination router again according to the mark of destination router, with the company of again attempting toIt is connected in destination router, and starts timing, wherein broadcasting packet can be passed through by carrying the connection request of designated pin informationForm is sent.In before the step of, the mark of the destination router of mobile device transmission has been received in smart machineWith target password information, so the mark of destination router and target that smart machine can be received directly using the last time are closeCode information, also just has sent without mobile terminal again.
In step S26, when being connected to destination router within a predetermined period of time, it is successful to send networking to mobile terminalPrompt message.
Wherein, it is sent again to destination router according to the mark of destination router in smart machine and carries target password letterAfter the connection request of breath, once smart machine is connected on destination router within a predetermined period of time by timing discovery, thatSmart machine just needs to send the successful prompt message that networks to mobile terminal, allows the user to through the aobvious of mobile terminalDisplay screen curtain recognizes the situation.
In the embodiment shown in Figure 2, the scheme of the disclosure not only can be when smart machine cannot connect to routerIt can restart automatically;Moreover, after smart machine restarting, smart machine can also be sent again according to mobile terminalThe instruction of linking objective router reconnects destination router, to ensure that smart machine smoothly networks.
Fig. 3 is according to the flow chart of the networking methods of another smart machine shown in an exemplary embodiment, such as Fig. 3 institutesShow, the networking methods of smart machine shown in Fig. 3 can be used in smart machine.In the embodiment shown in fig. 3, with Fig. 1 institutesThe identical part of embodiment shown may refer to introduce and explain in embodiment shown in FIG. 1.Method shown in Fig. 3 includes followingStep.
In step S31, when receiving the instruction of connection network, the request of connection router is sent to mobile terminal.
In step s 32, the target of the mark and linking objective router of the destination router that mobile terminal is sent is receivedEncrypted message.
In step S33, the company for carrying target password information is sent to destination router according to the mark of destination routerConnect request.
In step S34, when being not attached to destination router within a predetermined period of time, the operation of restarting is executed.
In step s 35, in the mark for receiving the Designated Router that mobile terminal is sent and the finger for connecting Designated RouterWhen determining encrypted message, the connection request for carrying designated pin information is sent to Designated Router according to the mark of Designated Router.
Wherein, smart machine execute restarting operation after, if mobile terminal receive it is input by user moreThe instruction of the router of smart machine is changed, and mobile terminal has received the mark and use of the Designated Router of user's selection againThe designated pin information of the connection Designated Router of family input, then mobile terminal will be by the mark of Designated Router and specifiedEncrypted message is sent to smart machine.
The mark of the Designated Router of mobile terminal transmission and specifying for connection Designated Router are received in smart machineWhen encrypted message, smart machine can send the company for carrying designated pin information according to the mark of Designated Router to Designated RouterRequest is connect, to attempt to connect on Designated Router.Wherein, carrying the connection request of designated pin information can be reported by broadcastingThe form of text is sent.
In step S36, when being not attached to Designated Router within a predetermined period of time, the operation of restarting is executed.
Wherein, it is sent to Designated Router according to the mark of Designated Router in smart machine and carries designated pin informationAfter connection request, smart machine can start timing, with the time of record connection Designated Router.If smart machine is predeterminedDesignated Router is not attached in period, then explanation may there is a situation where certain smart machine to be caused to cannot connect toOn Designated Router.In this case, smart machine needs to execute the operation of restarting, and such operation can pass through weightIt is new start with eliminate smart machine there may be the problem of.
In step S37, when being connected to Designated Router within a predetermined period of time, it is successful to send networking to mobile terminalPrompt message.
If smart machine is connected on Designated Router within a predetermined period of time by timing discovery, smart machineJust it needs to send the successful prompt message that networks to mobile terminal, to notify user to recognize the situation.It is received in mobile terminalWhen the successful prompt message of networking sent to smart machine, illustrate that smart machine is successfully connected to Designated RouterOn, so mobile terminal will be by showing that screen shows the successful prompt message of networking, to inform user.
In the embodiment shown in fig. 3, the scheme of the disclosure not only can be when smart machine cannot connect to routerIt can restart automatically;Moreover, after smart machine restarting, smart machine can also send specified according to mobile terminalThe mark of router and connect the designated pin information of Designated Router to connect Designated Router, to replace a router,To ensure that smart machine can smoothly network.
Fig. 4 is according to the flow chart of the networking methods of another smart machine shown in an exemplary embodiment, such as Fig. 4 institutesShow, the networking methods of smart machine shown in Fig. 4 can be used in smart machine.In the embodiment shown in fig. 4, with Fig. 1 institutesThe identical part of embodiment shown may refer to introduce and explain in embodiment shown in FIG. 1.Method shown in Fig. 4 includes followingStep.
In step S41, when receiving the instruction of connection network, the request of connection router is sent to mobile terminal.
In step S42, the target of the mark and linking objective router of the destination router that mobile terminal is sent is receivedEncrypted message.
In step S43, the company for carrying target password information is sent to destination router according to the mark of destination routerConnect request.
In step S44, when being not attached to destination router within a predetermined period of time, the operation of restarting is executed.
In step S45, the prompt message of networking failure is sent to mobile terminal, so that mobile terminal shows prompt letterBreath.
Wherein, after smart machine is restarted, user possibly can not recognize that smart machine at this time is not connected toOn destination router, so this has networked and fails in order to facilitate user to recognize smart machine, held in smart machineAfter the operation of row restarting, smart machine can send the prompt message of networking failure to mobile terminal.It is connect in mobile terminalAfter the prompt message of networking failure for receiving smart machine transmission, mobile terminal will be by the prompt message of networking failureIt shows, in order to user it can be seen that this information, fails to recognize that smart machine has networked.
In the embodiment shown in fig. 4, the scheme of the disclosure not only can be when smart machine cannot connect to routerIt can restart automatically;Moreover, after smart machine restarting, smart machine can also send networking failure to mobile terminalPrompt message, so as to notify user network failure the case where.
Fig. 5 is according to the flow chart of the networking methods of another smart machine shown in an exemplary embodiment, such as Fig. 5 institutesShow, the networking methods of smart machine shown in fig. 5 can be used in smart machine.In the embodiment shown in fig. 5, with Fig. 1 institutesThe identical part of embodiment shown may refer to introduce and explain in embodiment shown in FIG. 1.Method shown in fig. 5 includes followingStep.
In step s 51, when receiving the instruction of connection network, the request of connection router is sent to mobile terminal.
In step S52, the target of the mark and linking objective router of the destination router that mobile terminal is sent is receivedEncrypted message.
In step S53, the company for carrying target password information is sent to destination router according to the mark of destination routerConnect request.
In step S54, when being not attached to destination router within a predetermined period of time, the operation of restarting is executed.
In step S55, the hint instructions of networking failure are sent to the wearable device connected in advance, so that wearable setIt is standby that alarm sound is shaken or exported according to hint instructions.
Wherein, after smart machine is restarted, user possibly can not recognize that smart machine at this time is not connected toOn destination router, so this has networked and fails in order to facilitate user to recognize smart machine, held in smart machineAfter the operation of row restarting, smart machine can send the hint instructions of networking failure to wearable device.
After wearable device receives the hint instructions of networking failure of smart machine transmission, wearable device is justVibrations can be sent out using the vibrator in wearable device according to the hint instructions, to prompt the networking failure of user's smart machine.Certainly, after wearable device receives the hint instructions of networking failure of smart machine transmission, wearable device also may be usedTo send out alarm sound using the alarm in wearable device according to the hint instructions, to prompt user's smart machine to networkFailure.
In addition, wearable device can be the equipment that Intelligent bracelet etc. can be arranged with user.
In the embodiment shown in fig. 5, the scheme of the disclosure not only can be when smart machine cannot connect to routerIt can restart automatically;Moreover, after smart machine restarting, smart machine can also send networking failure to wearable deviceHint instructions, notify user's smart machine to network so as to the vibrations that are sent out by wearable device or alarm soundThe case where failure.
Fig. 6 is according to the flow chart of the networking methods of another smart machine shown in an exemplary embodiment, such as Fig. 6 institutesShow, the networking methods of smart machine shown in fig. 6 can be used in smart machine.In the embodiment shown in fig. 6, with Fig. 1 institutesThe identical part of embodiment shown may refer to introduce and explain in embodiment shown in FIG. 1.Method shown in fig. 6 includes followingStep.
In step S61, when receiving the instruction of connection network, the request of connection router is sent to mobile terminal.
In step S62, the target of the mark and linking objective router of the destination router that mobile terminal is sent is receivedEncrypted message.
In step S63, the company for carrying target password information is sent to destination router according to the mark of destination routerConnect request.
In step S64, when being not attached to destination router within a predetermined period of time, the operation of restarting is executed.
In step S65, the prompt message of networking failure is shown.
Wherein, after smart machine is restarted, user possibly can not recognize that smart machine at this time is not connected toOn destination router, so this has networked and fails in order to facilitate user to recognize smart machine, held in smart machineAfter the operation of row restarting, smart machine can show the prompt letter of networking failure on the display screen of smart machineBreath, in order to user it can be seen that this information, fails to recognize that smart machine has networked.
In the embodiment shown in fig. 6, the scheme of the disclosure not only can be when smart machine cannot connect to routerIt can restart automatically;Moreover, after smart machine restarting, smart machine can also show the prompt letter of networking failureBreath, so as to notify user network failure the case where.
Fig. 7 is a kind of schematic diagram of the networked devices of smart machine shown according to an exemplary embodiment.The disclosure carriesThe networked devices of the smart machine of confession can be such that smart machine restarts automatically when cannot connect to router.With reference to Fig. 7, the dressIt sets and restarts module 14 including the first sending module 11, the first receiving module 12, the second sending module 13 and first.Wherein:
First sending module 11, for when receiving the instruction of connection network, connection router to be sent to mobile terminalRequest.
First receiving module 12, the mark and linking objective router of the destination router for receiving mobile terminal transmissionTarget password information.
Second sending module 13 carries target password letter for being sent to destination router according to the mark of destination routerThe connection request of breath.
First restarts module 14, when for being not attached to destination router within a predetermined period of time, executes restartingOperation.
Fig. 8 is the schematic diagram of the networked devices of another smart machine shown according to an exemplary embodiment.The disclosureThe networked devices of the smart machine of offer can be such that smart machine restarts automatically when cannot connect to router.It, should with reference to Fig. 8Device restarts module 24 including the first sending module 21, the first receiving module 22, the second sending module 23, first, third is sentModule 25 and the 4th sending module 26.Wherein:
First sending module 21, for when receiving the instruction of connection network, connection router to be sent to mobile terminalRequest.
First receiving module 22, the mark and linking objective router of the destination router for receiving mobile terminal transmissionTarget password information.
Second sending module 23 carries target password letter for being sent to destination router according to the mark of destination routerThe connection request of breath.
First restarts module 24, when for being not attached to destination router within a predetermined period of time, executes restartingOperation.
Third sending module 25, for receive mobile terminal transmission reconnect destination router instruction when,The connection request for carrying target password information is sent to destination router according to the mark of destination router.
4th sending module 26 when for being connected to destination router within a predetermined period of time, sending to mobile terminal and connectingNet successful prompt message.
Fig. 9 is the schematic diagram according to the networked devices of another smart machine shown in an exemplary embodiment.The disclosureThe networked devices of the smart machine of offer can be such that smart machine restarts automatically when cannot connect to router, and notify to useFamily.With reference to Fig. 9, which restarts mould including the first sending module 31, the first receiving module 32, the second sending module 33, firstBlock 34, the 5th sending module 35, second restart module 36 and the 6th sending module 37.Wherein:
First sending module 31, for when receiving the instruction of connection network, connection router to be sent to mobile terminalRequest.
First receiving module 32, the mark and linking objective router of the destination router for receiving mobile terminal transmissionTarget password information.
Second sending module 33 carries target password letter for being sent to destination router according to the mark of destination routerThe connection request of breath.
First restarts module 34, when for being not attached to destination router within a predetermined period of time, executes restartingOperation.
5th sending module 35, for receive mobile terminal send Designated Router mark and connection specified circuit byWhen the designated pin information of device, the connection for carrying designated pin information is sent to Designated Router according to the mark of Designated RouterRequest.
Second restarts module 36, when for being not attached to Designated Router within a predetermined period of time, executes restartingOperation.
6th sending module 37 when for being connected to Designated Router within a predetermined period of time, sending to mobile terminal and connectingNet successful prompt message.
Figure 10 is the schematic diagram according to the networked devices of another smart machine shown in an exemplary embodiment.The disclosureThe networked devices of the smart machine of offer can be such that smart machine restarts automatically when cannot connect to router, and notify to useFamily.Referring to Fig.1 0, which includes the first sending module 41, the first receiving module 42, the second sending module 43, first restarts mouldBlock 44 and the 7th sending module 45.Wherein:
First sending module 41, for when receiving the instruction of connection network, connection router to be sent to mobile terminalRequest.
First receiving module 42, the mark and linking objective router of the destination router for receiving mobile terminal transmissionTarget password information.
Second sending module 43 carries target password letter for being sent to destination router according to the mark of destination routerThe connection request of breath.
First restarts module 44, when for being not attached to destination router within a predetermined period of time, executes restartingOperation.
7th sending module 45, the prompt message for sending networking failure to the mobile terminal, so that the movementTerminal shows the prompt message.
Figure 11 is the schematic diagram according to the networked devices of another smart machine shown in an exemplary embodiment.The disclosureThe networked devices of the smart machine of offer can be such that smart machine restarts automatically when cannot connect to router, and notify to useFamily.Referring to Fig.1 1, which includes the first sending module 51, the first receiving module 52, the second sending module 53, first restarts mouldBlock 54 and the 7th sending module 55.Wherein:
First sending module 51, for when receiving the instruction of connection network, connection router to be sent to mobile terminalRequest.
First receiving module 52, the mark and linking objective router of the destination router for receiving mobile terminal transmissionTarget password information.
Second sending module 53 carries target password letter for being sent to destination router according to the mark of destination routerThe connection request of breath.
First restarts module 54, when for being not attached to destination router within a predetermined period of time, executes restartingOperation.
8th sending module 55, the hint instructions for sending networking failure to the wearable device connected in advance, so thatThe wearable device is shaken according to the hint instructions or is exported alarm sound.
Figure 12 is the schematic diagram according to the networked devices of another smart machine shown in an exemplary embodiment.The disclosureThe networked devices of the smart machine of offer can be such that smart machine restarts automatically when cannot connect to router, and notify to useFamily.Referring to Fig.1 2, which includes the first sending module 61, the first receiving module 62, the second sending module 63, first restarts mouldBlock 64 and the 7th sending module 65.Wherein:
First sending module 61, for when receiving the instruction of connection network, connection router to be sent to mobile terminalRequest.
First receiving module 62, the mark and linking objective router of the destination router for receiving mobile terminal transmissionTarget password information.
Second sending module 63 carries target password letter for being sent to destination router according to the mark of destination routerThe connection request of breath.
First restarts module 64, when for being not attached to destination router within a predetermined period of time, executes restartingOperation.
Display module 65, the prompt message for showing networking failure.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this methodEmbodiment in be described in detail, explanation will be not set forth in detail herein.
In one exemplary embodiment, a kind of networked devices of smart machine are additionally provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When receiving the instruction of connection network, the request of connection router is sent to mobile terminal;
Receive the target password of the mark and the connection destination router of the destination router that the mobile terminal is sentInformation;
The company for carrying the target password information is sent to the destination router according to the mark of the destination routerConnect request;
When being not attached to the destination router within a predetermined period of time, the operation of restarting is executed.
Figure 13 is a kind of block diagram of the networked devices 800 of smart machine shown according to an exemplary embodiment.For example, dressIt can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment to set 800Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig.1 3, device 800 may include following one or more components:Processing component 802, memory 804, power supplyComponent 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, andCommunication component 816.
The integrated operation of 802 usual control device 800 of processing component, such as with display, call, data communication, phaseMachine operates and record operates associated operation.Processing component 802 may include that one or more processors 820 refer to executeIt enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, justInteraction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitateInteraction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shownExample includes instruction for any application program or method that are operated on device 800, contact data, and telephone book data disappearsBreath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their groupIt closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compileJourney read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flashDevice, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management systemSystem, one or more power supplys and other generated with for device 800, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.OneIn a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screenCurtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensingsDevice is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding actionBoundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakersBody component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode orWhen video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera andRear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a MikeWind (MIC), when device 800 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by withIt is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication setPart 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module canTo be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lockDetermine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commentedEstimate.For example, sensor module 814 can detect the state that opens/closes of device 800, and the relative positioning of component, for example, it is describedComponent is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or devicePosition change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contactPresence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, atAs being used in application.In some embodiments, which can also include acceleration transducer, gyro sensorsDevice, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementationIn example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.ExampleSuch as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), numberNumber processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind ofSuch as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example,The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy diskWith optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminalWhen device executes so that mobile terminal is able to carry out a kind of networking methods of smart machine, the method includes:Receiving connectionWhen the instruction of network, the request of connection router is sent to mobile terminal;Receive the destination router that the mobile terminal is sentMark and the connection destination router target password information;According to the mark of the destination router to the target roadThe connection request for carrying the target password information is sent by device;It is not attached to the destination router within a predetermined period of timeWhen, execute the operation of restarting.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the present inventionIts embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes orPerson's adaptive change follows the general principle of the present invention and includes the undocumented common knowledge in the art of the disclosureOr conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by followingClaim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, andAnd various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (3)

CN201510128912.1A2015-03-232015-03-23A kind of networking methods and device of smart machineActiveCN104812092B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510128912.1ACN104812092B (en)2015-03-232015-03-23A kind of networking methods and device of smart machine

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510128912.1ACN104812092B (en)2015-03-232015-03-23A kind of networking methods and device of smart machine

Publications (2)

Publication NumberPublication Date
CN104812092A CN104812092A (en)2015-07-29
CN104812092Btrue CN104812092B (en)2018-09-04

Family

ID=53696433

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510128912.1AActiveCN104812092B (en)2015-03-232015-03-23A kind of networking methods and device of smart machine

Country Status (1)

CountryLink
CN (1)CN104812092B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2017020176A1 (en)*2015-07-312017-02-09华为技术有限公司Data transmission method, and related device and system
CN105282158A (en)*2015-10-282016-01-27小米科技有限责任公司Intelligent equipment networking method, routing equipment, intelligent equipment and system
CN105516974A (en)*2015-11-242016-04-20东莞酷派软件技术有限公司Router connection method, terminal and router
CN105407518B (en)*2015-11-302019-02-22小米科技有限责任公司Equipment networking method and device
CN105517103A (en)*2015-12-032016-04-20小米科技有限责任公司Network access method and device based on intelligent terminal device
CN106961658B (en)*2017-03-092019-10-29广东美的制冷设备有限公司Internet of things home appliance equipment off-line restoration methods and networking module
CN107181791B (en)*2017-04-192021-01-01北京小米移动软件有限公司 Networking method and device for smart devices
CN107257573A (en)*2017-05-112017-10-17北京囡宝科技有限公司A kind of equipment accesses the system and method for wireless network
JP6635978B2 (en)*2017-05-112020-01-29キヤノン株式会社 Program, communication method, and communication system
CN107276815A (en)*2017-06-302017-10-20北京小米移动软件有限公司Networking state reminding method, device and computer-readable recording medium
CN109768946B (en)*2017-11-092021-01-15宁波方太厨具有限公司Rapid distribution network method and rapid distribution network system for kitchen electrical equipment
CN108810866B (en)*2018-05-282022-08-19北京小米移动软件有限公司Method and device for connecting intelligent equipment and storage medium
CN108848015A (en)*2018-08-132018-11-20珠海格力电器股份有限公司Network connection method and device, intelligent equipment and user terminal
CN110868707A (en)*2019-09-292020-03-06厦门阳光恩耐照明有限公司BLE MESH-based intelligent device network distribution method
CN110971412B (en)*2019-12-052022-05-10杭州龙纪科技有限公司Method for safe network distribution of smart home based on block chain
CN112492570B (en)*2020-11-132022-01-18珠海格力电器股份有限公司Network distribution method, system, device, equipment and storage medium
US11916910B1 (en)*2021-06-242024-02-27Amazon Technologies, Inc.Remedying wireless-network connection failures
CN114143818B (en)*2021-11-292024-03-12四川虹美智能科技有限公司Batch test method for intelligent equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102572836A (en)*2010-12-202012-07-11联想(北京)有限公司Method for accessing wireless network, portable mobile terminal and wireless network system
CN104159321A (en)*2013-05-142014-11-19杭州海康威视数字技术股份有限公司Wi-Fi configuration method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102572836A (en)*2010-12-202012-07-11联想(北京)有限公司Method for accessing wireless network, portable mobile terminal and wireless network system
CN104159321A (en)*2013-05-142014-11-19杭州海康威视数字技术股份有限公司Wi-Fi configuration method and system

Also Published As

Publication numberPublication date
CN104812092A (en)2015-07-29

Similar Documents

PublicationPublication DateTitle
CN104812092B (en)A kind of networking methods and device of smart machine
CN104936304B (en)Smart machine binding method, smart machine and server
CN105163366B (en)Wireless network connecting method and device
CN104765990B (en)The setting method and device of intelligent device management account
RU2650505C2 (en)Method and device for connection with controlled intelligent device
CN105553963B (en)The control method and device of positioning service
CN105975156B (en) Application interface display method and device
CN109151010A (en)Method for connecting network, device and storage medium
CN104898505A (en)Smart scene configuration method and device
CN104837154B (en)The control method and device of wireless access points
CN105182784A (en)Method and device of controlling intelligent devices and terminal
CN105138319B (en)Event-prompting method and device
CN105532634A (en)Ultrasonic wave mosquito repel method, device and system
CN108803980A (en)Operation recognition methods, device, equipment and the readable storage medium storing program for executing of equipment
CN105068632A (en)Terminal charging method and device and terminal
CN104735670A (en)Network access method and device
CN105207994A (en)Account number binding method and device
CN105549960B (en)Control the method and device of camera
CN106454898A (en)Intelligent scene configuration method and device
CN109039877A (en)A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity
CN105530129A (en)Router reset method and device
CN107393528A (en)Sound control method and device
CN105323318B (en)Amending method, device and the equipment of parameter
CN105187671A (en)Recording method and device
CN111338971A (en)Application testing method and device, electronic equipment and storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
EXSBDecision made by sipo to initiate substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp