CN107181791A - The networking methods and device of smart machine - Google Patents

The networking methods and device of smart machine Download PDF

Info

Publication number
CN107181791A
CN107181791A CN201710256837.6A CN201710256837A CN107181791A CN 107181791 A CN107181791 A CN 107181791A CN 201710256837 A CN201710256837 A CN 201710256837A CN 107181791 A CN107181791 A CN 107181791A
Authority
CN
China
Prior art keywords
terminal
information
router
smart machine
connection
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
CN201710256837.6A
Other languages
Chinese (zh)
Other versions
CN107181791B (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 CN201710256837.6A priority Critical patent/CN107181791B/en
Publication of CN107181791A publication Critical patent/CN107181791A/en
Application granted granted Critical
Publication of CN107181791B publication Critical patent/CN107181791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure is directed to a kind of networking methods of smart machine and device, this method includes:Link information is carried in the connection request that receiving terminal is sent, the connection request;When the link information is matched with the checking information prestored, the connection set up between the terminal;The first routing iinformation carried in the routing update message that the terminal is sent, the routing update message needed for current connection route device is received by the connection;The router is connected according to first routing iinformation.The technical scheme can not need user to reset the smart machine for needing couple in router one by one, simple to operate, reduce user's operation, user time is saved, while avoiding loss of data.

Description

The networking methods and device of smart machine
Technical field
This disclosure relates to network technique field, more particularly to smart machine networking methods and device.
Background technology
With development in science and technology, smart machine is increasingly popularized, and smart machine can be connected to by connection route device mostly Network, and then the control instruction sent by network access server, the reception server or cell-phone customer terminal etc..
Under normal circumstances, smart machine has settings button, and user can be inputted by the settings button to smart machine The username and password of router, so that the smart machine is connected on the router by the username and password.
The content of the invention
The embodiment of the present disclosure provides the networking methods and device of a kind of smart machine.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure there is provided a kind of networking methods of smart machine, including:
Link information is carried in the connection request that receiving terminal is sent, the connection request;
When the link information is matched with the checking information prestored, the connection set up between the terminal;
Receive to carry in the routing update message that the terminal is sent, the routing update message by the connection and work as The first routing iinformation needed for preceding connection route device;
The router is connected according to first routing iinformation.
The technical scheme provided by this disclosed embodiment can include the following benefits:The present embodiment can be changed in user New router or router have modified password, when smart machine loses the connection with router, can be by terminal and intelligence The first routing iinformation that energy equipment is set up needed for connecting and issuing current connection route device to smart machine by the connection so that Smart machine states the first routing iinformation connection route device according to this, it is not necessary to reset smart machine one by one, simple to operate, reduces user Operation, saves user time, while avoiding loss of data.
In one embodiment, methods described also includes:
When the smart machine is initialized, the secondary route information of the terminal broadcast, the secondary route letter are received Breath includes connecting the information needed for the router during initialization;
The router is connected according to the secondary route information;
The secondary route information is stored as the checking information.
The technical scheme provided by this disclosed embodiment can include the following benefits:The present embodiment will can be initialized When the secondary route information of connection route device that configures save as checking information, safe and convenient in advance, and configuration when reducing initialization Information.
In one embodiment, methods described also includes:
First routing iinformation is stored as the checking information.
The technical scheme provided by this disclosed embodiment can include the following benefits:The present embodiment can be by router The first routing iinformation after information updating is stored as checking information, so as the renewal of route-map is continuously updated checking Information, lifts security.
In one embodiment, the first via is included user and the password of router by information, or, the first via Include the password of router by information.
The technical scheme provided by this disclosed embodiment can include the following benefits:The present embodiment can be as needed Different types of first routing iinformation is sent to smart machine, prevents from sending garbage, waste of resource.
In one embodiment, methods described also includes:
The control instruction that the terminal is sent is received by the connection;
Pass through the service data connected to the terminal return smart machine.
The technical scheme provided by this disclosed embodiment can include the following benefits:The present embodiment can pass through the company Connecing makes terminal be communicated with smart machine, safe and convenient.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of networked devices of smart machine, including:
Link information is carried in first receiving module, the connection request sent for receiving terminal, the connection request;
Module is set up, for when the link information is matched with the checking information prestored, setting up between the terminal Connection;
First sending module, for receiving the routing update message that the terminal is sent, the route by the connection The first routing iinformation needed for current connection route device is carried in new information;
First link block, for connecting the router according to first routing iinformation.
In one embodiment, described device also includes:
Second receiving module, the secondary route letter for when the smart machine is initialized, receiving the terminal broadcast Breath, the secondary route information includes connecting the information needed for the router during initialization;
Second link block, for connecting the router according to the secondary route information;
First memory module, for the secondary route information to be stored as into the checking information.
In one embodiment, described device also includes:
Second memory module, for first routing iinformation to be stored as into the checking information.
In one embodiment, the first via is included user and the password of router by information, or, the first via Include the password of router by information.
In one embodiment, described device also includes:
3rd receiving module, for receiving the control instruction that the terminal is sent by the connection;
Second sending module, for passing through the service data connected to the terminal return smart machine.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of networked devices of smart machine, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Link information is carried in the connection request that receiving terminal is sent, the connection request;
When the link information is matched with the checking information prestored, the connection set up between the terminal;
Receive to carry in the routing update message that the terminal is sent, the routing update message by the connection and work as The first routing iinformation needed for preceding connection route device;
The router is connected according to first routing iinformation.
According to the fourth aspect of the embodiment of the present disclosure there is provided a kind of computer-readable recording medium, the computer that is stored with refers to Order, the computer instruction realizes following steps when being executed by processor:
Link information is carried in the connection request that receiving terminal is sent, the connection request;
When the link information is matched with the checking information prestored, the connection set up between the terminal;
Receive to carry in the routing update message that the terminal is sent, the routing update message by the connection and work as The first routing iinformation needed for preceding connection route device;
The router is connected according to first routing iinformation.
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.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is the flow chart of the networking methods of the smart machine according to an exemplary embodiment.
Fig. 2 is the flow chart of the networking methods of the smart machine according to an exemplary embodiment.
Fig. 3 is the flow chart of the networking methods of the smart machine according to an exemplary embodiment.
Fig. 4 is the block diagram of the networked devices of the smart machine according to an exemplary embodiment.
Fig. 5 is the block diagram of the networked devices of the smart machine according to an exemplary embodiment.
Fig. 6 is the block diagram of the networked devices of the smart machine according to an exemplary embodiment.
Fig. 7 is the block diagram of the networked devices of the smart machine according to an exemplary embodiment.
Fig. 8 is the block diagram of the networked devices of the smart machine according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description 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 all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Because general intelligence equipment does not provide convenient user interface, when user has changed new router or router Password is have modified, when causing the smart machine to lose the connection with router, common processing method is to reset smart machine, then Carry out a configuration process, with new username and password come connection route device, if smart machine quantity is relatively more, user It is accomplished by one by one being reset substantial amounts of smart machine, it is cumbersome, user's plenty of time is expended, and some can be lost Data through generation.
To solve the above problems, the present embodiment is when user has changed new router or router have modified password, Sent from terminal to smart machine and carry the connection request of link information, smart machine is it is determined that the link information and prestore When checking information is identical, set up and terminal between connection, then terminal can just be sent by the connection to smart machine Routing update message, notifies the first routing iinformation after smart machine renewal, in this way, after smart machine can be updated with use The new router of first routing iinformation connection or the router that have modified password, and smart machine need not be reset one by one, operate Simply, user's operation is reduced, user time is saved, while avoiding loss of data.
Fig. 1 is a kind of flow chart of the networking methods of smart machine according to an exemplary embodiment, such as Fig. 1 institutes Show, the collocation method of the router is used in smart machine, comprises the following steps 101 to 104:
In a step 101, link information is carried in the connection request that receiving terminal is sent, the connection request.
In a step 102, when the link information is identical with the checking information prestored, set up between the terminal Connection.
In step 103, the routing update message that the terminal is sent is received by the connection, the routing update disappears The first routing iinformation needed for current connection route device is carried in breath.
At step 104, the router is connected according to first routing iinformation.
In this embodiment, the corresponding client application of smart machine is provided with terminal such as mobile phone, in current link road Changed by the information of device, when smart machine loses the connection with router, user can input current connection route on mobile phone The first routing iinformation needed for device, then inputs in the user interface for the client application that user can show in mobile phone and obtains Operate (certain specific button etc. can be click on), get the first routing iinformation needed for the current connection route device of mobile phone, then User inputs connection in the user interface of client application and updates operation (can be click on certain specific button etc.), such visitor Family end using just can by terminal to smart machine send connection request.
In this embodiment, in smart machine can a virtual network interface, the network interface can receive terminal The connection request of transmission, when the link information in the connection request is matched with the checking information prestored, that is, shows that the connection is believed Breath, which is verified, to be passed through, and smart machine just agrees to the connection that the terminal is accessed, and is set up between the terminal, is set up after connection, terminal It can just be sent by the connection to smart machine in routing update message, the routing update message and carry current connection route The first routing iinformation needed for device, in this way, smart machine just can be according to the first routing iinformation connection route device, and then again Access network.
In this embodiment, with the virtual network interface of smart machine provide SSID (Service Set Identifier, Service set) service exemplified by, i.e., the smart machine can fictionalize a network, the SSID service so that the network need independence Authentication, the network can just only be entered by the user of authentication, prevent unauthorized user from entering this void The network of plan, for security consideration, the SSID services is under the state of hiding, not overseas broadcast beacon (beacon), not by Other equipment scanning is arrived, and can be just found when only SSID is specified in terminal input, in this way, pre- in the client application of terminal First be stored with the SSID and corresponding password, should when user inputs connection renewal operation in the user interface of client application Client application just can be by terminal, and the SSID prestored according to this sends to the virtual network interface of smart machine and connected Corresponding password is carried in request, the connection request, this is shown when the password is identical with the checking information pre-set Password matches with checking information, and the smart machine just agrees to that terminal is accessed, and then terminal just can send road to smart machine The first routing iinformation needed for current connection route device is carried in new information, the routing update message, in this way, intelligence is set It is standby just can be according to the first routing iinformation connection route device, and then re-accessing network.
Explanation is needed exist for, for each smart machine, terminal can use the above method to each smart machine Issue the first routing iinformation needed for current connection route device.
The present embodiment can change new router in user or router have modified password, and smart machine loses and road By the connection of device when, can be set up from terminal and smart machine and be connected and current link road is issued to smart machine by the connection As the first routing iinformation needed for device so that smart machine states the first routing iinformation connection route device according to this, it is not necessary to weigh one by one Smart machine is put, it is simple to operate, user's operation is reduced, user time is saved, while avoiding loss of data.
As a kind of possible embodiment, the collocation method of router disclosed above can also include step A1 to A3.
In step A1, when the smart machine is initialized, the secondary route information of the terminal broadcast is received, it is described Secondary route information includes connecting the information needed for the router during initialization.
In step A2, the router is connected according to the secondary route information.
In step A3, the secondary route information is stored as the checking information.
In this embodiment, generally when smart machine is initialized, smart machine can provide a window phase interface, this When, the client application in terminal can use OPEN (opening) mode to access and need not verify and can just access, then Client application in terminal just to smart machine can send secondary route information, the secondary route by the window phase interface Information includes the first user name and first password that the information such as router needed for the router is connected during initialization.Certainly, Other configurations parameter can also be handed down to smart machine by the client application in terminal, so that the smart machine completes initial Change.After smart machine completes initialization, it is possible to connect upper router according to secondary route information, now, smart machine can So that secondary route information is stored as into checking information, that is, the checking information prestored is that the first user name of router and first are close Code.
In this embodiment, example, when the first password of router is changed to the second password by user, user can be with The second password inputted in terminal needed for current connection route device so that the upper router of terminal connection.Then user can be Input obtains operation (can be click on certain specific button etc.) in the user interface for the client application that terminal is shown, gets The second password needed for the current connection route device of terminal, then user inputs in the user interface of client application connects renewal Operate (certain specific button etc. can be click on), such client application can just be sent to smart machine by terminal and be connected Request, the connection request carries the first user name and first password, due to first user name and first password and prestores Checking information is identical to be matched, therefore smart machine agrees to terminal access, currently connects in this way, terminal can just be issued to smart machine The second password needed for router is connect, in this way, smart machine just can be according to the second password couple in router.
Example, it is corresponding that the user name and first password of router can be set to virtual network interface by smart machine User name and first password, in this way, the client in terminal can be sent out according to the user name of router to the virtual network interface Connection request is sent, that the first user name and first password are carried in the connection request is identical with the checking information prestored to match, Therefore smart machine agree to terminal access the virtual network interface, in this way, terminal can just notice the virtual network interface to Smart machine issues the second password needed for current connection route device, in this way, smart machine can just connect according to second password Enter router.
The secondary route information of the connection route device configured when initializing can be saved as checking information in advance by the present embodiment, be pacified It is complete convenient, and reduce configuration information when initializing.
As a kind of possible embodiment, the collocation method of router disclosed above can also include step B1.
In step bl is determined., first routing iinformation is stored as the checking information.
In this embodiment, when router is changed or changed to the password of router, smart machine is lost after network connection, Terminal issue current connection route device to smart machine needed for the first routing iinformation when, smart machine can be by the first via by believing Breath is stored as checking information, and such smart machine can constantly update checking information, and terminal is when accessing smart machine again, just The first routing iinformation that can be sent with last time is matched with checking information, and the match is successful can access smart machine.
The first routing iinformation after the present embodiment can update route-map is stored as checking information, so with road Checking information is continuously updated by the renewal of device information, security is lifted.
As a kind of possible embodiment, the first via is included user and the password of router by information, or, it is described The first via is included the password of router by information.
In this embodiment, when the password of only router is changed, terminal only can issue modification to smart machine The password of router afterwards, when router is replaced, terminal can only issue the use of amended router to smart machine Name in an account book and password.
The present embodiment can send different types of first routing iinformation to smart machine as needed, prevent from sending useless Information, waste of resource.
As a kind of possible embodiment, the collocation method of router disclosed above can also include step C1 and C2.
In step C1, the control instruction that the terminal is sent is received by the connection.
In step C2, pass through the service data connected to the terminal return smart machine.
In the present embodiment, smart machine agrees to terminal access, is set up with terminal after being connected, terminal can also pass through the company Connect to smart machine and send control instruction, control smart machine performs the control instruction, example, and smart machine can be hot water Device, user can input the hot water temperature of needs when needing to use hot water in the user interface of the client application of terminal, Then client application just can send control instruction with application terminal to water heater, and the control instruction is used to indicate water heater by water The hot water temperature of the needs is heated to, water heater carries out the control instruction, heated, and heats water to the hot water of needs Temperature.
In the present embodiment, smart machine agrees to terminal access, is set up with terminal after being connected, and smart machine can also be by certainly Oneself service data returns to terminal, is shown by the client application of terminal in its user interface;Still using smart machine as heat Exemplified by hydrophone, water heater is heated the water to after the hot water temperature of needs, it is possible to this be heated to need hot water temperature this A little data are sent into terminal, are shown in the user interface that client terminals are applied, such user just can be in display circle See that water heater has heated the water to the hot water temperature of needs on face, now user can be with the water in use water heater.
The present embodiment can make terminal be communicated with smart machine by the connection, safe and convenient.
Implementation process is discussed in detail below by several embodiments.
Fig. 2 is a kind of flow chart of the networking methods of smart machine according to an exemplary embodiment, such as Fig. 2 institutes Show, this method can be realized by smart machine, including step 201 is to step 208.
In step 201, when the smart machine is initialized, the secondary route information of the terminal broadcast, institute are received Stating secondary route information includes connecting the information needed for the router during initialization.
In step 202., the router is connected according to the secondary route information.
In step 203, the secondary route information is stored as the checking information.
In step 204, link information is carried in the connection request that receiving terminal is sent, the connection request.
In step 205, when the link information is matched with the checking information prestored, set up between the terminal Connection.
In step 206, the routing update message that the terminal is sent is received by the connection, the routing update disappears The first routing iinformation needed for current connection route device is carried in breath, the first via is included the password of router by information.
In step 207, the router is connected according to first routing iinformation.
In a step 208, first routing iinformation is stored as the checking information.
In the present embodiment, as long as the password of router is changed, it is possible to which it is intelligence to carry out step 204 to step 208 Equipment issues the password needed for current connection route device, makes smart machine couple in router again.
Fig. 3 is a kind of flow chart of the networking methods of smart machine according to an exemplary embodiment, such as Fig. 3 institutes Show, this method can be realized by smart machine, including step 301 is to step 306.
In step 301, link information is carried in the connection request that receiving terminal is sent, the connection request.
In step 302, when the link information is matched with the checking information prestored, set up between the terminal Connection.
In step 303, the routing update message that the terminal is sent is received by the connection, the routing update disappears The first routing iinformation needed for current connection route device is carried in breath.
In step 304, the router is connected according to first routing iinformation.
In step 305, the control instruction that the terminal is sent is received by the connection.
Within step 306, the service data connected to the terminal return smart machine is passed through.
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.
Fig. 4 is a kind of block diagram of the networked devices of smart machine according to an exemplary embodiment, and the device can be with By software, hardware or both be implemented in combination with it is some or all of as electronic equipment.As shown in figure 4, the intelligence is set Standby networked devices include:First receiving module 401, set up module 402, the first sending module 403 and the first link block 404;Wherein:
Connection letter is carried in first receiving module 401, the connection request sent for receiving terminal, the connection request Breath;
Set up module 402, for when the link information is matched with the checking information prestored, set up with the terminal it Between connection;
First sending module 403, for receiving the routing update message that the terminal is sent, the road by the connection As the first routing iinformation needed for current connection route device is carried in new information;
First link block 404, for connecting the router according to first routing iinformation.
As a kind of possible embodiment, the networked devices of smart machine disclosed above can be configured to include Two receiving modules 405, the second link block 406 and the first memory module 407, Fig. 5 are the networking dresses for being related to above-mentioned smart machine The block diagram put, wherein:
Second receiving module 405, for when the smart machine is initialized, receiving the secondary route of the terminal broadcast Information, the secondary route information includes connecting the information needed for the router during initialization;
Second link block 406, for connecting the router according to the secondary route information;
First memory module 407, for the secondary route information to be stored as into the checking information.
As a kind of possible embodiment, the networked devices of smart machine disclosed above can be configured to include Two memory modules 408, Fig. 6 is the block diagram for the networked devices for being related to above-mentioned smart machine, wherein:
Second memory module 408, for first routing iinformation to be stored as into the checking information.
As a kind of possible embodiment, in the networked devices of smart machine disclosed above, first routing iinformation User and password including router, or, the first via is included the password of router by information.
As a kind of possible embodiment, the networked devices of smart machine disclosed above can be configured to include Three receiving modules 409 and the second sending module 410, Fig. 7 is the block diagram for the networked devices for being related to above-mentioned smart machine, wherein:
3rd receiving module 409, for receiving the control instruction that the terminal is sent by the connection;
Second sending module 410, for passing through the service data connected to the terminal return smart machine.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 8 is a kind of block diagram of the networking of smart machine according to an exemplary embodiment, and the device is applied to intelligence Can equipment.The smart machine can be intelligent home device, such as air-conditioning, water heater, humidifier.
The device 800 can include following one or more assemblies:Processing assembly 801, memory 802, power supply module 803, multimedia groupware 804, audio-frequency assembly 805, input/output (I/O) interface 806, sensor cluster 807, and communication set Part 808.
The integrated operation of the usual control device 800 of processing assembly 801, such as with display, data communication and record operation phase The operation of association.Processing assembly 801 can carry out execute instruction including one or more processors 820, to complete above-mentioned method All or part of step.In addition, processing assembly 801 can include one or more modules, it is easy to processing assembly 801 and other Interaction between component.For example, processing assembly 801 can include multi-media module, to facilitate multimedia groupware 804 and treatment group Interaction between part 801.
Memory 802 is configured as storing various types of data supporting the operation in device 800.These data are shown Example includes instruction of any application program or method for being operated on device 800 etc..Memory 802 can be by any types Volatibility or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM), electricity can Erasable programmable read-only memory (EPROM) (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 803 provides electric power for the various assemblies of device 800.Power supply module 803 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia groupware 804 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection touches or slide related duration and pressure with described.
Audio-frequency assembly 805 is configured as output and/or input audio signal.For example, audio-frequency assembly 805 includes a Mike Wind (MIC), when device 800 is in operator scheme, such as logging mode and during speech recognition mode, microphone is configured as receiving outer Portion's audio signal.The audio signal received can be further stored in memory 802 or be sent via communication component 808. In certain embodiments, audio-frequency assembly 805 also includes a loudspeaker, for exports audio signal.
I/O interface 806 is that interface, above-mentioned peripheral interface module are provided between processing assembly 801 and peripheral interface module Wheel, button etc. can be click on.These buttons may include but be not limited to:Adjust button, on/off button.
Sensor cluster 807 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 807 can detect the temperature change around opening/closed mode of device 800, device 800. Sensor cluster 807 can include temperature sensor on air-conditioning etc..
Communication component 808 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, the communication component 808 also includes near-field communication (NFC) module, to promote junction service.For example, can base in NFC module In radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and its His technology is realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 802 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of computer-readable recording medium is present embodiments provided, be stored with computer instruction, the computer instruction Following steps are realized when being executed by processor:
Link information is carried in the connection request that receiving terminal is sent, the connection request;
When the link information is matched with the checking information prestored, the connection set up between the terminal;
Receive to carry in the routing update message that the terminal is sent, the routing update message by the connection and work as The first routing iinformation needed for preceding connection route device;
The router is connected according to first routing iinformation.
The computer instruction can also realize following steps when being executed by processor:
When the smart machine is initialized, the secondary route information of the terminal broadcast, the secondary route letter are received Breath includes connecting the information needed for the router during initialization;
The router is connected according to the secondary route information;
The secondary route information is stored as the checking information.
The computer instruction can also realize following steps when being executed by processor:
Methods described also includes:
First routing iinformation is stored as the checking information.
The computer instruction can also realize following steps when being executed by processor:
The first via is included user and the password of router by information, or, the first via includes route by information The password of device.
The computer instruction can also realize following steps when being executed by processor:
Methods described also includes:
The control instruction that the terminal is sent is received by the connection;
Pass through the service data connected to the terminal return smart machine.
A kind of networked devices of smart machine are present embodiments provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Link information is carried in the connection request that receiving terminal is sent, the connection request;
When the link information is matched with the checking information prestored, the connection set up between the terminal;
Receive to carry in the routing update message that the terminal is sent, the routing update message by the connection and work as The first routing iinformation needed for preceding connection route device;
The router is connected according to first routing iinformation.
The processor can be additionally configured to:
Methods described also includes:
When the smart machine is initialized, the secondary route information of the terminal broadcast, the secondary route letter are received Breath includes connecting the information needed for the router during initialization;
The router is connected according to the secondary route information;
The secondary route information is stored as the checking information.
The processor can be additionally configured to:
Methods described also includes:
First routing iinformation is stored as the checking information.
The processor can be additionally configured to:
The first via is included user and the password of router by information, or, the first via includes route by information The password of device.
The processor can be additionally configured to:
Methods described also includes:
The control instruction that the terminal is sent is received by the connection;
Pass through the service data connected to the terminal return smart machine.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (12)

1. a kind of networking methods of smart machine, it is characterised in that including:
Link information is carried in the connection request that receiving terminal is sent, the connection request;
When the link information is matched with the checking information prestored, the connection set up between the terminal;
Receive to carry in the routing update message that the terminal is sent, the routing update message by the connection and currently connect Connect the first routing iinformation needed for router;
The router is connected according to first routing iinformation.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
When the smart machine is initialized, the secondary route information of the terminal broadcast, the secondary route packet are received The information needed for the router is connected when including initialization;
The router is connected according to the secondary route information;
The secondary route information is stored as the checking information.
3. according to the method described in claim 1, it is characterised in that methods described also includes:
First routing iinformation is stored as the checking information.
4. according to the method described in claim 1, it is characterised in that the first via is included the user and Mi of router by information Code, or, the first via is included the password of router by information.
5. according to the method described in claim 1, it is characterised in that methods described also includes:
The control instruction that the terminal is sent is received by the connection;
Pass through the service data connected to the terminal return smart machine.
6. a kind of networked devices of smart machine, it is characterised in that including:
Link information is carried in first receiving module, the connection request sent for receiving terminal, the connection request;
Module is set up, for when the link information is matched with the checking information prestored, the company set up between the terminal Connect;
First sending module, for receiving the routing update message that the terminal is sent, the routing update by the connection The first routing iinformation needed for current connection route device is carried in message;
First link block, for connecting the router according to first routing iinformation.
7. device according to claim 6, it is characterised in that described device also includes:
Second receiving module, for when the smart machine is initialized, receiving the secondary route information of the terminal broadcast, institute Stating secondary route information includes connecting the information needed for the router during initialization;
Second link block, for connecting the router according to the secondary route information;
First memory module, for the secondary route information to be stored as into the checking information.
8. device according to claim 6, it is characterised in that described device also includes:
Second memory module, for first routing iinformation to be stored as into the checking information.
9. device according to claim 6, it is characterised in that the first via is included the user and Mi of router by information Code, or, the first via is included the password of router by information.
10. device according to claim 6, it is characterised in that described device also includes:
3rd receiving module, for receiving the control instruction that the terminal is sent by the connection;
Second sending module, for passing through the service data connected to the terminal return smart machine.
11. a kind of networked devices of smart machine, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Link information is carried in the connection request that receiving terminal is sent, the connection request;
When the link information is matched with the checking information prestored, the connection set up between the terminal;
Receive to carry in the routing update message that the terminal is sent, the routing update message by the connection and currently connect Connect the first routing iinformation needed for router;
The router is connected according to first routing iinformation.
12. a kind of computer-readable recording medium, be stored with computer instruction, it is characterised in that the computer instruction is located Reason device realizes following steps when performing:
Link information is carried in the connection request that receiving terminal is sent, the connection request;
When the link information is matched with the checking information prestored, the connection set up between the terminal;
Receive to carry in the routing update message that the terminal is sent, the routing update message by the connection and currently connect Connect the first routing iinformation needed for router;
The router is connected according to first routing iinformation.
CN201710256837.6A 2017-04-19 2017-04-19 Networking method and device of intelligent equipment Active CN107181791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710256837.6A CN107181791B (en) 2017-04-19 2017-04-19 Networking method and device of intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710256837.6A CN107181791B (en) 2017-04-19 2017-04-19 Networking method and device of intelligent equipment

Publications (2)

Publication Number Publication Date
CN107181791A true CN107181791A (en) 2017-09-19
CN107181791B CN107181791B (en) 2021-01-01

Family

ID=59831395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710256837.6A Active CN107181791B (en) 2017-04-19 2017-04-19 Networking method and device of intelligent equipment

Country Status (1)

Country Link
CN (1) CN107181791B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819836A (en) * 2017-10-30 2018-03-20 北京小米移动软件有限公司 The remapping method and device of facility information
CN112566220A (en) * 2020-11-25 2021-03-26 中移(杭州)信息技术有限公司 Distribution network information synchronization method and device and computer equipment
EP3833153A1 (en) * 2019-12-05 2021-06-09 Beijing Xiaomi Mobile Software Co., Ltd. Network connection methods and devices

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716911A (en) * 2014-01-02 2014-04-09 福建星网锐捷通讯股份有限公司 Method, device and system for configuring wireless terminal
CN104320861A (en) * 2014-11-04 2015-01-28 腾讯科技(深圳)有限公司 Wireless connection building method and device, terminal device, application server and system
CN104640234A (en) * 2015-02-13 2015-05-20 小米科技有限责任公司 Method and device for accessing to wireless network
CN104812092A (en) * 2015-03-23 2015-07-29 小米科技有限责任公司 Networking method and device of intelligent equipment
US20160204988A1 (en) * 2015-01-13 2016-07-14 Accenture Global Services Limited Intelligent Device Data Router
CN106535192A (en) * 2016-11-29 2017-03-22 北京小米移动软件有限公司 Method and device for realizing access of smart equipment to router and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716911A (en) * 2014-01-02 2014-04-09 福建星网锐捷通讯股份有限公司 Method, device and system for configuring wireless terminal
CN104320861A (en) * 2014-11-04 2015-01-28 腾讯科技(深圳)有限公司 Wireless connection building method and device, terminal device, application server and system
US20160204988A1 (en) * 2015-01-13 2016-07-14 Accenture Global Services Limited Intelligent Device Data Router
CN104640234A (en) * 2015-02-13 2015-05-20 小米科技有限责任公司 Method and device for accessing to wireless network
CN104812092A (en) * 2015-03-23 2015-07-29 小米科技有限责任公司 Networking method and device of intelligent equipment
CN106535192A (en) * 2016-11-29 2017-03-22 北京小米移动软件有限公司 Method and device for realizing access of smart equipment to router and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819836A (en) * 2017-10-30 2018-03-20 北京小米移动软件有限公司 The remapping method and device of facility information
EP3833153A1 (en) * 2019-12-05 2021-06-09 Beijing Xiaomi Mobile Software Co., Ltd. Network connection methods and devices
US11388767B2 (en) 2019-12-05 2022-07-12 Beijing Xiaomi Mobile Software Co., Ltd. Network connection method, device and apparatus
CN112566220A (en) * 2020-11-25 2021-03-26 中移(杭州)信息技术有限公司 Distribution network information synchronization method and device and computer equipment

Also Published As

Publication number Publication date
CN107181791B (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN104780155B (en) Apparatus bound method and device
CN109076331A (en) The control method of electronic equipment and electronic equipment
CN103229184B (en) For the method and system of the access to secure resources
KR101829018B1 (en) Digital doorlock system
US10929832B2 (en) Method and system for electronic wallet access
CN103929748B (en) A kind of Internet of Things wireless terminal and its collocation method and wireless network access point
US20160005248A1 (en) First entry notification
CN103714285A (en) NFC-based method and device for achieving mobile terminal access right control
CN105263120A (en) Method and system for prompting user of available wireless local area network
CN110034986A (en) The device and method of content backup are used in domestic network system
WO2005081179A1 (en) Device, method, and program for writing data for mobile terminal memory
CN104092768B (en) A kind of method and device that wireless router parameter is set
EP3817322A1 (en) Method for upgrading service application range of electronic identity card, and terminal device
KR101514753B1 (en) System and method for secure containment of sensitive financial information stored in a mobile communication terminal
WO2014139331A1 (en) Smart entry system and controller
US9635127B2 (en) Personalization of devices while packaged
CN107592629A (en) Apparatus control method and device
CN107181791A (en) The networking methods and device of smart machine
JP5659875B2 (en) Wireless communication apparatus, information processing apparatus, communication system, and wireless communication apparatus control method
JP5994215B2 (en) Wireless communication apparatus, information processing apparatus, communication system, and wireless communication apparatus control method
CN109426705A (en) A kind of interface display method, device, equipment and storage medium
CN107230060A (en) The method and apparatus that a kind of account is reported the loss
WO2017088795A1 (en) Method and device for controlling smart appliance
CN104891283A (en) Elevator control system combined with card password
CN102542206A (en) Method and device for adding authorized users to terminal

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