WO2017028426A1 - 使用权限获取方法和装置 - Google Patents

使用权限获取方法和装置 Download PDF

Info

Publication number
WO2017028426A1
WO2017028426A1 PCT/CN2015/097765 CN2015097765W WO2017028426A1 WO 2017028426 A1 WO2017028426 A1 WO 2017028426A1 CN 2015097765 W CN2015097765 W CN 2015097765W WO 2017028426 A1 WO2017028426 A1 WO 2017028426A1
Authority
WO
WIPO (PCT)
Prior art keywords
access information
terminal device
powered
powered device
connection
Prior art date
Application number
PCT/CN2015/097765
Other languages
English (en)
French (fr)
Inventor
侯恩星
孟德国
张彦路
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to RU2017102665A priority Critical patent/RU2674328C2/ru
Priority to KR1020177025984A priority patent/KR101895743B1/ko
Priority to MX2017006550A priority patent/MX2017006550A/es
Priority to JP2016536212A priority patent/JP6266111B2/ja
Publication of WO2017028426A1 publication Critical patent/WO2017028426A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present disclosure relates to the field of smart home technology, and in particular, to a method and device for acquiring a right.
  • the terminal device needs to establish a connection with the home appliance, and then can send various control commands to the home appliance.
  • the terminal device and the home appliance establish a communication connection by a password.
  • the user needs to manually input the password into the terminal device, and the subsequent terminal device can automatically use the password to establish a connection with the home appliance.
  • the user may forget the password for a long time. If the user forgets the password or the user who knows the password is not present, the other terminal device cannot be connected to the home appliance, so that other users cannot be used.
  • the terminal device controls the home appliance, causing inconvenience to the user.
  • the present disclosure provides a usage right acquisition method and apparatus.
  • the technical solution is as follows:
  • a usage rights acquisition method which is applied to a first terminal device, the method comprising:
  • the service set identifies the SSID and password
  • the acquiring an access information sending instruction includes:
  • the method further includes:
  • the first terminal device obtains its access information from the powered device, does not require manual operation by the user, reduces the operation steps of the user, and inputs the first terminal device because manual input of the access information is not required.
  • Part of the structure can also be simplified accordingly, which helps to reduce costs.
  • the establishing a communication connection with the powered device includes:
  • the first wireless communication technology including Bluetooth technology, wireless high-fidelity WIFI technology, or Zigbee communication technology.
  • the first terminal device can establish a communication connection with the powered device by using various wireless communication technologies, which is easy to implement.
  • the first terminal device when the first terminal device establishes a communication connection with the powered device by using Bluetooth technology, the first terminal device functions as a peripheral Peripheral device, and the powered device functions as a central Center device.
  • the first terminal device is used as the peripheral device, and the electrical device is used as the central device.
  • the first terminal device is scanned by the powered device to initiate the connection, which is beneficial to reducing the hardware configuration of the first terminal device, thereby reducing the cost of the first terminal device.
  • the method further includes:
  • a second wireless communication technology is used to establish a communication connection with the second terminal device, and in the process of establishing the communication connection, there is no password verification process.
  • the password authentication is not used in the process of establishing the communication connection between the first terminal device and the second terminal device.
  • the terminal device of other users can directly obtain the power device. Access information.
  • the first terminal device is a wearable device
  • the second terminal device is a mobile terminal.
  • the wearable device is used as the first terminal device to save the access information, and the cost is low.
  • the mobile terminal is used as the second terminal device, which is a device that the user carries along with the mobile terminal, so that the method of the embodiment of the present disclosure is further practical.
  • the powered device comprises a household appliance or a router.
  • a usage rights acquisition method is provided, which is applied to a second terminal device, and the method includes:
  • the access information includes a service set identifier SSID and a password of the powered device;
  • the establishing, by using the access information, the communication connection with the powered device includes:
  • connection instruction a communication connection with the powered device by using the access information.
  • the second terminal device after receiving the connection instruction, the second terminal device establishes a communication connection with the powered device, which can save power consumption of the second terminal device.
  • the method further includes:
  • a second wireless communication technology is used to establish a communication connection with the first terminal device, and in the process of establishing the communication connection, there is no password verification process.
  • the password authentication is not used in the process of establishing the communication connection between the first terminal device and the second terminal device.
  • the terminal device of other users can directly obtain the power device. Access information.
  • a usage right acquisition device which is applied to a first terminal device, the device comprising:
  • An acquiring module configured to acquire an access information sending instruction, where the access information sending instruction is used to instruct the first terminal device to send the access information of the powered device to the second terminal device, where the access information includes Describe the service set identifier SSID and password of the powered device;
  • a sending module configured to send the access information of the powered device to the second terminal device according to the access information sending instruction, where the access information is used by the second terminal device and the powered device Establish a communication connection.
  • the acquiring module is configured to obtain an input access information sending instruction; or the acquiring module is configured to receive an access information sending instruction sent by the second terminal device.
  • the device further includes:
  • a first connection establishing module configured to establish a communication connection with the powered device
  • a receiving module configured to receive the access information sent by the powered device
  • a storage module configured to save the access information received by the receiving module.
  • the first connection establishing module is configured to establish a communication connection with the powered device by using a first wireless communication technology, where the first wireless communication technology comprises Bluetooth technology, wireless high-fidelity technology or Zigbee communication technology.
  • the first connection establishing module establishes a communication connection with the powered device by using Bluetooth technology
  • the first terminal device functions as a peripheral Peripheral device
  • the powered device functions as a central Center device.
  • the device further includes:
  • a second connection establishing module configured to establish a communication connection with the second terminal device by using a second wireless communication technology, and In the process of establishing a communication connection, there is no password verification process.
  • the first terminal device is a wearable device
  • the second terminal device is a mobile terminal
  • the powered device comprises a household appliance or a router.
  • a usage right acquisition device which is applied to a second terminal device, the device comprising:
  • a receiving module configured to receive access information of the powered device sent by the first terminal device, where the access information includes a service set identifier SSID and a password of the powered device;
  • connection establishing module configured to establish a communication connection with the powered device by using the access information received by the receiving module.
  • connection establishing module includes:
  • An instruction receiving submodule configured to receive an input connection instruction
  • connection establishing submodule configured to receive a connection instruction received by the submodule according to the instruction, and establish a communication connection with the powered device by using the access information.
  • connection establishing module is configured to establish a communication connection with the first terminal device by using a second wireless communication technology, and in the process of establishing the communication connection, no password Verification process.
  • a usage right acquisition apparatus including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the service set identifies the SSID and password
  • a usage right acquisition apparatus including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the access information includes a service set identifier SSID and a password of the powered device;
  • the access information of the powered device is saved in the first terminal device, and the second terminal device can directly obtain the access information of the powered device from the first terminal device, and then use the access information and the power The device is connected to obtain the right to use the device.
  • the access information of the powered device is forgotten or the person who knows the access information of the powered device is absent, the way of obtaining the access information brings the user a pole. Great convenience.
  • FIG. 1 is an application scenario diagram of a usage rights acquisition method according to an exemplary embodiment
  • FIG. 2 is a flowchart of a method for acquiring a usage authority according to an exemplary embodiment
  • FIG. 3 is a flowchart of another method for acquiring a usage authority according to an exemplary embodiment
  • FIG. 4 is a flowchart of another method for acquiring a usage authority according to an exemplary embodiment
  • FIG. 5 is an interaction diagram of a usage rights acquisition method according to an exemplary embodiment
  • FIG. 6 is an interaction diagram of a usage rights acquisition method according to an exemplary embodiment
  • FIG. 7 is a schematic diagram of a usage right acquisition apparatus according to an exemplary embodiment
  • FIG. 8 is a schematic diagram of a usage right acquiring apparatus according to an exemplary embodiment
  • FIG. 9 is a block diagram showing another usage right acquiring apparatus according to an exemplary embodiment.
  • FIG. 10 is a block diagram showing still another usage right acquiring apparatus according to an exemplary embodiment
  • FIG. 11 is a block diagram showing still another usage right acquiring apparatus according to an exemplary embodiment
  • FIG. 12 is a block diagram showing still another usage right acquiring apparatus according to an exemplary embodiment
  • FIG. 13 is a block diagram showing still another usage right acquiring apparatus according to an exemplary embodiment
  • FIG. 14 is a block diagram of a usage rights acquisition system, according to an exemplary embodiment.
  • both the first terminal device 1 and the second terminal device 2 can be wirelessly connected to the powered device 3.
  • the power device 3 is configured with at least one communication module, and the at least one communication module is selected from a WIFI (Wireless Fidelity) communication module, a Bluetooth communication module, a Zigbee communication module, an infrared communication module, etc., and at least one The communication module includes a WIFI communication module.
  • the first terminal device 1 and the second terminal device 2 can be wirelessly connected to the powered device 3 by the same communication method.
  • the first terminal device 1 and the second terminal device 2 are connected to the powered device 3 using WIFI technology.
  • WIFI wireless technology
  • the first terminal device 1 uses the Bluetooth technology to connect to the powered device 3
  • the second terminal device uses the WIFI technology to connect the powered device 3.
  • the first terminal device 1 is a wristband, but the embodiment of the present disclosure is not limited thereto.
  • the first terminal device 1 may also be a wearable device other than the wristband, such as a smart watch.
  • the first terminal device 1 may also be a mobile terminal, such as a mobile phone, a tablet computer, or the like.
  • the second terminal device 2 is a smart phone.
  • the disclosure is not limited thereto.
  • the second terminal device 2 may also be a mobile terminal other than a smart phone, such as a tablet computer. Etc., the second terminal device 2 may also be a wearable device such as a wristband, a smart watch or the like.
  • the electric device 3 is an air conditioner, and it is easy to know that the electric device 3 can also be a household appliance such as a refrigerator or a television, or an electronic device such as a router that needs to be accessed through WIFI.
  • the device does not limit this disclosure.
  • the number of terminal devices in the scenario shown in FIG. 1 is not limited to two, and may be multiple.
  • FIG. 2 is a flowchart of a usage right acquisition method according to an exemplary embodiment. As shown in FIG. 2, the usage authority acquisition method is used in a first terminal device. The method includes the following steps.
  • step S201 an access information transmission instruction is acquired.
  • the access information sending instruction is used to instruct the first terminal device to send the access information to the second terminal device.
  • the access information includes an SSID (Service Set Identifier) and a password of the powered device.
  • SSID Service Set Identifier
  • the access information sending instruction may be directly input by the first terminal device, or may be sent by the second terminal device.
  • step S202 the access information of the powered device is sent to the second terminal according to the access information sending instruction.
  • the access information is used by the second terminal device to establish a communication connection with the powered device.
  • the second terminal device is configured to establish a communication connection with the powered device by using the received access information.
  • the powered device when the powered device is a router, after the second terminal device establishes a communication connection with the powered device, the network can be connected through the router to send or receive data through the network.
  • the electric device is a home appliance, after the second terminal device establishes a communication connection with the electric device, the control authority of the home appliance can be obtained, and instructions such as opening, closing, mode setting, and the like are sent thereto.
  • the access information of the powered device is saved in the first terminal device, and the second terminal device can directly obtain the access information of the powered device from the first terminal device, and then use the access information and the power The device is connected to obtain the right to use the device.
  • the access information of the powered device is forgotten or the person who knows the access information of the powered device is absent, the way of obtaining the access information brings the user a pole. Great convenience.
  • FIG. 3 is a flowchart of a method for acquiring a usage authority according to an exemplary embodiment. As shown in FIG. 3, the method may be applied to a second terminal device. The method includes the following steps.
  • step S301 the access information of the powered device sent by the first terminal device is received, and the access information includes an SSID and a password of the powered device.
  • the access information is used by the second terminal device to establish a communication connection with the powered device.
  • step S302 a communication connection is established with the powered device using the received access information.
  • the powered device when the powered device is a router, after the second terminal device establishes a communication connection with the powered device, the network can be connected through the router to send or receive data through the network.
  • the electric device is a home appliance, after the second terminal device establishes a communication connection with the electric device, the control authority of the home appliance can be obtained, and instructions such as opening, closing, mode setting, and the like are sent thereto.
  • the access information of the powered device is saved in the first terminal device, and the second terminal device can directly obtain the access information of the powered device from the first terminal device, and then use the access information and the power The device is connected to obtain the right to use the device.
  • the access information of the powered device is forgotten or the person who knows the access information of the powered device is absent, the way of obtaining the access information brings the user a pole. Great convenience.
  • FIG. 4 is a flowchart of a usage right acquisition method according to an exemplary embodiment. As shown in FIG. 4, the method may be applied to a powered device, and the method may include the following steps.
  • step S401 a connection request sent by the second terminal device is received.
  • the connection request includes an identifier of the second terminal device, and access information of the powered device, where the access information includes an SSID and a password of the powered device, and the access information is acquired by the second terminal device from the first terminal device.
  • the access information is used for the second
  • the terminal device establishes a communication connection with the powered device.
  • step S402 the second terminal device is authenticated according to the received connection request.
  • step S403 if the second terminal device passes the verification, the identifier of the second terminal device is saved.
  • the second terminal device After the identifier of the second terminal device is saved, the second terminal device obtains the usage right of the powered device.
  • steps S402 and S403 may include:
  • the second terminal device Comparing the password in the connection request with the setting password (that is, the password in the foregoing access information). If the password in the connection request is the same as the setting password, the second terminal device passes the verification, if the password in the connection request is If the set password is different, the second terminal device cannot pass the verification.
  • the access information of the powered device is saved in the first terminal device, and the second terminal device can directly obtain the access information of the powered device from the first terminal device, and then use the access information and the power The device is connected to obtain the right to use the device.
  • the access information of the powered device is forgotten or the person who knows the access information of the powered device is absent, the way of obtaining the access information brings the user a pole. Great convenience.
  • FIG. 5 is an interaction diagram of a usage rights acquisition method according to an exemplary embodiment.
  • an embodiment of the present disclosure is described by taking a home appliance configured with a Bluetooth communication module and a WiFi communication module as an example. As shown in FIG. 5, the method includes the following steps.
  • step S501 the first terminal device establishes a communication connection with the home appliance.
  • the step S501 may include: the first terminal device establishes a wireless connection with the home appliance by using the first wireless communication technology, where the first wireless communication technologies include, but are not limited to, Bluetooth technology, WIFI technology, and Zigbee communication technology.
  • the step 501 further includes:
  • Household appliances scan Bluetooth devices
  • the first terminal device acts as a peripheral Peripheral device and the powered device acts as a central Center device.
  • the first terminal device is used as the peripheral device, and the electrical device is used as the central device.
  • the first terminal device is scanned by the powered device to initiate the connection, which is beneficial to reducing the hardware configuration of the first terminal device, thereby reducing the cost of the first terminal device.
  • the household appliance is not necessarily equipped with operating components such as a touch screen, a display screen and a button, or even if these operating components are configured, it is not necessarily convenient to operate (for example, the wall air conditioner is generally installed at a higher position), therefore, direct manual operation It is not convenient to control the home appliance to use the Bluetooth connection.
  • the mobile terminal can be used to assist the home appliance to establish a Bluetooth connection with the first terminal device.
  • the step S501 may further include:
  • the home appliance receives a scan instruction of the mobile terminal
  • the home appliance scans the Bluetooth device and transmits the scanned identity of the Bluetooth device to the home appliance;
  • the mobile terminal displays the Bluetooth device scanned by the home appliance
  • the home appliance When a mobile terminal is required to assist the home appliance to establish a Bluetooth connection with the first terminal device, the home appliance needs to establish a connection with the mobile terminal first, for example, using a WIFI technology to establish a communication connection. At this time, the mobile terminal needs to output the access to the user. In the SSID list, the user selects the SSID of the home appliance and inputs the corresponding password, and the mobile terminal can access the home appliance through the WIFI technology.
  • the first terminal device and the home appliance are connected by using Bluetooth technology, which can meet the low power consumption requirement of the first terminal device.
  • the first wireless communication technology preferably adopts a communication technology that does not require password verification, and can reduce the operation steps of the user.
  • the peripheral device is set to be connected without password verification.
  • the first wireless communication technology can also adopt a communication technology that requires password verification.
  • step S502 the home appliance saves the identity of the first terminal device.
  • the identifier of the first terminal device may be a MAC (Media Access Control) address.
  • the first terminal device acquires the usage right of the home appliance.
  • the method of this embodiment may further include:
  • the household appliance receives an electrical control command sent by the first terminal device, where the electrical control command includes an identifier of the first terminal device;
  • the household appliance compares the identifier of the first terminal device in the electric appliance control instruction with the identifier of the terminal device that the household appliance has saved;
  • the identifier of the first terminal device in the electrical control instruction is the same as the identifier of the terminal device that the home appliance has saved (indicating that the first terminal device has the usage right), executing the received electrical control instruction;
  • the received appliance control command is not executed.
  • the electrical control command can be used to set the opening, closing, running time, gear position, operation mode and the like of the household appliance, and the disclosure does not limit this.
  • the step S502 is an optional step. If the first terminal device is not required to control the home appliance, but only the intermediate storage device of the access information, the step S502 may not be performed.
  • step S503 the home appliance transmits the access information to the first terminal device.
  • the access information includes an SSID and a password of the home appliance, and the access information is used by the terminal device to access the home appliance as an access point.
  • the access information is sent by the home appliance to the first terminal device. In other embodiments, the access information may also be sent by the mobile terminal to the first terminal device.
  • step S504 the first terminal device saves the received access information.
  • step S505 the first terminal device establishes a communication connection with the second terminal device.
  • step S505 the first terminal device and the second terminal device may be connected by using a second wireless communication technology.
  • the first terminal device establishes a communication connection with the second terminal device by using the second wireless communication technology
  • the password authentication is not used in the process of establishing the communication connection between the first terminal device and the second terminal device.
  • the terminal device of other users can directly obtain the power device. Access information.
  • the second wireless communication technology may be a Bluetooth technology
  • the first terminal device acts as a peripheral Peripheral device
  • the second terminal device functions as a central Center device
  • the first terminal device is configured by default as a Bluetooth connection without password verification.
  • step S506 the first terminal device acquires an access information transmission instruction.
  • the access information sending instruction is used to instruct the first terminal device to send the access information to the second terminal device.
  • the step S506 may include:
  • the user gesture is detected, and if the set gesture is detected, the access information sending instruction is triggered.
  • the setting gesture includes, for example, detecting that the user shakes the bracelet, or detecting that the user taps the bracelet or the like.
  • step S506 may include:
  • step S507 the first terminal device sends the access information to the second terminal device.
  • step S508 the second terminal device establishes a communication connection with the home appliance by using the received access information.
  • the second terminal device after the second terminal device obtains the access information, it can immediately request to establish a wireless connection with the home appliance, which can further reduce the operation steps of the user and improve the user experience.
  • the second terminal device after acquiring the access information, the second terminal device may save only the obtained access information, and then request to establish a wireless connection with the home appliance after receiving the user indication.
  • the step S508 may include:
  • the second terminal device receives the input connection instruction
  • the access information is used to establish a wireless connection with the home appliance.
  • step S509 the home appliance saves the identity of the second terminal device.
  • the identifier of the second terminal device may be a MAC address.
  • the second terminal device acquires the usage right of the home appliance.
  • the method of this embodiment may further include:
  • the household appliance compares the identifier of the second terminal device in the electrical control instruction and the identifier of the saved terminal device;
  • the identifier of the second terminal device in the electrical control instruction is the same as the identifier of the terminal device that the home appliance has saved (indicating that the second terminal device has the usage right), executing the received electrical control instruction;
  • the received appliance control command is not executed.
  • the method may further include:
  • the home appliance When the connection between the first terminal device and the home appliance is disconnected, the home appliance deletes the identifier of the first terminal device;
  • the home appliance When the connection of the second terminal device to the home appliance is disconnected, the home appliance deletes the identifier of the second terminal device.
  • the home appliance may also save the identifiers of all connected terminal devices without deleting (or deleting the terminal devices that are not connected to the powered device beyond the set time). Identification).
  • the method may further include:
  • the second terminal device is connected to the powered device by using a third wireless communication technology.
  • the third wireless communication technology is a communication technology other than the WIFI technology, such as Bluetooth technology.
  • the second terminal device is a center device, and the power device is a peripheral device.
  • the access of the power device requires authentication, and at this time, the second terminal The device needs to be password verified and connected to the powered device.
  • the first terminal device is preferably a wearable device, such as a wristband
  • the second terminal device preferably uses a mobile terminal, such as a mobile phone, because the first terminal device adopts When the wearable device is used, the cost is low, and the mobile terminal is usually carried by the user, and the mobile terminal that the user carries with the device needs to obtain the power device more commonly. Further, it is easy to know that the method of the present embodiment is equally applicable to a router.
  • the embodiment of the present disclosure saves the access information in the first terminal device by using the power device as the access point, and the second terminal device can directly obtain the access information from the first terminal device, and then use the access information and the The device is connected to obtain the right to use the device. If the access information of the powered device is forgotten or the person who knows the access information of the powered device is absent, the way to obtain the access information is brought to the user. Great convenience.
  • FIG. 6 is an interaction diagram of a usage rights acquisition method according to an exemplary embodiment.
  • the power device is an air conditioner
  • the first terminal device is a wristband
  • the second terminal device is a mobile terminal. That is, the scene shown in Figure 1), for example.
  • the air conditioner is configured with a Bluetooth communication module and a WIFI communication module.
  • the method includes the following steps.
  • step S601 the mobile terminal establishes a communication connection with the air conditioner using WIFI technology.
  • step S601 can include:
  • the mobile terminal displays a list of accessible SSIDs
  • the mobile terminal receives the input access command, where the access command includes an SSID and a password of the air conditioner, and the access command is used to instruct the mobile terminal to send an access request to the air conditioner, where the access request carries the SSID and the password of the air conditioner;
  • the air conditioner receives the access request sent by the mobile terminal, and verifies the password in the access request;
  • the mobile terminal is allowed to access the air conditioner; if the verification fails, the mobile terminal is not allowed to access the air conditioner.
  • the mobile terminal in step S601 can be a mobile terminal of the head of the household or the occupant.
  • step S602 the wristband establishes a Bluetooth connection with the air conditioner.
  • the wristband can be used as a peripheral device, and the air conditioner is used as a center device.
  • the step S602 can include:
  • the air conditioner receives a scan instruction of the mobile terminal
  • the air conditioner sends the scanned Bluetooth device to the mobile terminal
  • the mobile terminal displays the Bluetooth device scanned by the air conditioner
  • a Bluetooth connection is initiated to the wristband according to the device connection indication sent by the mobile terminal, and a Bluetooth connection is established with the wristband.
  • step S603 the air conditioner saves the identification of the bracelet.
  • the identifier of the bracelet may be a MAC address.
  • the wristband acquires the control authority of the air conditioner.
  • the method of this embodiment may further include:
  • the air conditioner receives an electrical control command sent by the wristband, and the electrical control command includes an identifier of the wristband;
  • the air conditioner compares the identification of the wristband in the electrical control instruction and the identification of the terminal device that the household appliance has saved;
  • the received electrical control command is executed;
  • the received electrical control command is not executed.
  • the electrical control command can be used to set the opening, closing, running time, gear position, operation mode and the like of the air conditioner, and the disclosure does not limit this.
  • the electrical control commands sent by the bracelet can be generated in the following manner:
  • the electrical control command corresponding to the user's gesture is determined.
  • the corresponding electrical control command is to turn on the air conditioner; if the user's gesture is to hit the wristband twice in a row, the corresponding electrical control command is to turn off the air conditioner; if the user's gesture If the wristband is shaken left and right, the corresponding electrical control command is the left and right sweep mode; if the user's gesture is to swing the wristband up and down, the corresponding electrical control command is the up and down sweep mode; the correspondence between the above gesture and the electrical control command is only For the sake of example, the disclosure does not limit this.
  • the step S603 is an optional step. If it is not necessary to use the wristband to control the home appliance, but only as an intermediate storage device of the access information, the step S603 may not be performed.
  • step S604 the air conditioner transmits the access information to the wristband.
  • the access information includes an SSID and a password of the air conditioner, and the access information is used by the terminal device to access the air conditioner as an access point.
  • the access information is sent to the wristband by the air conditioner. In other embodiments, the access information may also be sent by the mobile terminal to the wristband.
  • step S605 the wristband saves the received access information.
  • step S606 the wristband establishes a communication connection with another mobile terminal.
  • the wristband and another mobile terminal establish a communication connection by using Bluetooth technology, and the wristband is used as a peripheral device, and the other mobile terminal is used as a center device, and the default configuration of the wristband is Bluetooth connection without password verification. .
  • the mobile terminal in step S606 can be a mobile terminal of a guest or a tenant.
  • the mobile terminal that controls the Bluetooth connection between the wristband and the air conditioner and the mobile terminal that obtains the access information from the wristband are two different mobile terminals, and in other embodiments, the control hand
  • the mobile terminal that establishes a Bluetooth connection with the air conditioner and the subsequent mobile terminal that obtains the access information from the wristband may also be the same mobile terminal.
  • step S607 the wristband acquires an access information transmission instruction.
  • the step S607 may include:
  • the user gesture is detected, and if the set gesture is detected, the access information sending instruction is triggered.
  • the setting gesture includes, for example, detecting that the user shakes the bracelet, or detecting that the user taps the bracelet or the like.
  • the step S607 may include:
  • step S608 the wristband transmits the access information to another mobile terminal.
  • step S609 the other mobile terminal establishes a communication connection with the air conditioner using the received access information.
  • the other mobile terminal after the other mobile terminal acquires the access information, it can immediately request to establish a communication connection with the air conditioner. In order to further reduce the user's operating procedures and improve the user experience.
  • the another mobile terminal after acquiring the access information, the another mobile terminal may only save the acquired access information, and then request to establish a wireless connection with the air conditioner after receiving the user indication.
  • the step S508 may include:
  • the other mobile terminal receives the input connection instruction
  • the access information is used to establish a communication connection with the air conditioner.
  • step S610 the air conditioner saves the identity of the other mobile terminal.
  • the identifier of the other mobile terminal may be a MAC address.
  • the other mobile terminal acquires the control authority of the air conditioner.
  • the method of this embodiment may further include:
  • the air conditioner compares the identity of the mobile terminal in the electrical control command and the identifier of the saved terminal device
  • the identifier of the mobile terminal in the electrical control command is the same as the identifier of the terminal device that the air conditioner has saved (indicating that the other mobile terminal has the use right), executing the received electrical control instruction;
  • the received appliance control command is not executed.
  • the method may further include:
  • the air conditioner deletes the logo of the bracelet;
  • the air conditioner deletes the identity of the mobile terminal.
  • the access information in the air conditioner is stored in the wristband, and the mobile terminal can directly obtain the access information from the wristband, and then use the access information to connect with the air conditioner to obtain the use permission.
  • the access information of the air conditioner is forgotten or the person who knows the access information of the air conditioner is absent, the way of obtaining the access information brings great convenience to the user.
  • FIG. 7 is a block diagram of a usage right acquisition apparatus according to an exemplary embodiment.
  • the device is applied to the first terminal device.
  • the device includes an acquisition module 701 and a transmission module 702.
  • the obtaining module 701 is configured to acquire an access information sending instruction, where the access information sending instruction is used to instruct the first terminal device to send the access information of the powered device to the second terminal device, where the access information includes power The SSID and password of the device.
  • the sending module 702 is configured to send, according to the access information sending instruction, the access information of the powered device to the second terminal device, where the access information is used by the second terminal device to establish a communication connection with the powered device.
  • the embodiment of the present disclosure saves the access information in the first terminal device by using the power device as the access point, and the second terminal device can directly obtain the access information from the first terminal device, and then use the access information and the The device is connected to obtain the right to use the device. If the access information of the powered device is forgotten or the person who knows the access information of the powered device is absent, the way to obtain the access information is brought to the user. Great convenience.
  • FIG. 8 is a block diagram of a usage right acquisition apparatus, according to an exemplary embodiment.
  • the device is applied to a first terminal device.
  • the device includes an acquisition module 801 and a transmission module 802.
  • the obtaining module 801 is configured to acquire an access information sending instruction, where the access information sending instruction is used to instruct the first terminal device to send the access information of the powered device to the second terminal device, where the access information includes The SSID and password of the electrical device.
  • the sending module 802 is configured to send the access information of the powered device to the second terminal device according to the access information sending instruction, where the access information is used by the second terminal device to establish a communication connection with the powered device.
  • the acquiring module 801 is configured to acquire an input access information sending instruction; or the obtaining module 801 is configured to receive the access sent by the second terminal device. Information transmission instruction.
  • the apparatus further includes: a first connection establishing module 803, a receiving module 804, and a storage module 805.
  • the first connection establishing module 803 is configured to establish a communication connection with the powered device;
  • the receiving module 804 is configured to receive the access information sent by the powered device; and
  • the storage module 805 is configured to save the receiving module 804 received access information.
  • the first connection establishing module 803 is configured to establish a communication connection with the powered device by using the first wireless communication technology
  • the first wireless communication technologies include, but are not limited to, Bluetooth technology, wireless high-fidelity technology, or Zigbee communication technology.
  • the first connection establishing module 803 establishes a communication connection with the powered device by using the Bluetooth technology
  • the first terminal device functions as a peripheral peripheral device and the powered device functions as a central Center device.
  • the device further includes: a second connection establishing module 806, configured to use the second wireless communication technology and the second terminal device A communication connection is established, and during the establishment of the communication connection, there is no password verification process.
  • the first terminal device may be a wearable device
  • the second terminal device may be a mobile terminal.
  • the consumer equipment includes a household appliance or a router.
  • the embodiment of the present disclosure saves the access information in the first terminal device by using the power device as the access point, and the second terminal device can directly obtain the access information from the first terminal device, and then use the access information and the The device is connected to obtain the right to use the device. If the access information of the powered device is forgotten or the person who knows the access information of the powered device is absent, the way to obtain the access information is brought to the user. Great convenience.
  • FIG. 9 is a block diagram of a usage right acquisition apparatus, according to an exemplary embodiment.
  • the device is applied to a second terminal device.
  • the device includes a receiving module 901 and a connection establishing module 902.
  • the receiving module 901 is configured to receive access information of the powered device sent by the first terminal device, where the access information includes a service set identifier SSID and a password of the powered device; the connection establishing module 902 is configured to be used for The access information received by the receiving module 901 is used to establish a communication connection with the powered device.
  • the embodiment of the present disclosure saves the access information in the first terminal device by using the power device as the access point, and the second terminal device can directly obtain the access information from the first terminal device, and then use the access information and the The device is connected to obtain the right to use the device. If the access information of the powered device is forgotten or the person who knows the access information of the powered device is absent, the way to obtain the access information is brought to the user. Great convenience.
  • FIG. 10 is a block diagram of a usage right acquisition apparatus, according to an exemplary embodiment.
  • the apparatus is applied to a second terminal device.
  • the apparatus includes a receiving module 1001 and a connection establishing module 1002.
  • the receiving module 1001 is configured to receive access information of the powered device sent by the first terminal device, where the access information includes an SSID and a password of the powered device; and the connection establishing module 1002 is configured to adopt the receiving module.
  • the access information received by the 1001 establishes a communication connection with the powered device.
  • the connection establishing module 1002 includes: an instruction receiving submodule 10021 and a connection establishing submodule 10022.
  • the command receiving submodule 10021 is configured to receive the input connection instruction;
  • the connection establishing submodule 10022 is configured to use the access information to establish communication with the powered device according to the connection instruction received by the instruction receiving submodule. connection.
  • connection establishing module 1002 is configured to establish a communication connection with the first terminal device by using the second wireless communication technology, and in the process of establishing the communication connection, no password verification process.
  • the first terminal device may be a wearable device
  • the second terminal device may be a mobile terminal.
  • the consumer equipment includes a household appliance or a router.
  • the embodiment of the present disclosure saves the access information in the first terminal device by using the power device as the access point, and the second terminal device can directly obtain the access information from the first terminal device, and then use the access information and the The device is connected to obtain the right to use the device. If the access information of the powered device is forgotten or the person who knows the access information of the powered device is absent, the way to obtain the access information is brought to the user. Great convenience.
  • FIG. 11 is a block diagram of a usage right acquisition apparatus, according to an exemplary embodiment.
  • the device is applied to a powered device.
  • the device includes a receiving module 1101, a verifying module 1102, and a saving module 1103.
  • the receiving module 1101 is configured to receive a connection request sent by the second terminal device, where the connection request includes the second terminal setting.
  • the identifier of the device and the access information of the powered device, the access information includes a service set identifier SSID and a password of the powered device, and the access information is obtained by the second terminal device from the first terminal device;
  • the verification module 1102 is configured to use
  • the second terminal device is authenticated according to the connection request received by the receiving module 1101.
  • the saving module 1103 is configured to save the identifier of the second terminal device when the second terminal device passes the verification.
  • the embodiment of the present disclosure saves the access information in the first terminal device by using the power device as the access point, and the second terminal device can directly obtain the access information from the first terminal device, and then use the access information and the The device is connected to obtain the right to use the device. If the access information of the powered device is forgotten or the person who knows the access information of the powered device is absent, the way to obtain the access information is brought to the user. Great convenience.
  • FIG. 12 is a block diagram of a usage right acquisition apparatus, according to an exemplary embodiment.
  • the device is applied to a powered device.
  • the device includes a receiving module 1201, a verifying module 1202, and a saving module 1203.
  • the receiving module 1201 is configured to receive a connection request sent by the second terminal device, where the connection request includes an identifier of the second terminal device, and access information of the powered device, where the access information includes a service set identifier of the powered device.
  • the SSID and the password are obtained by the second terminal device from the first terminal device; the verification module 1202 is configured to perform identity verification on the second terminal device according to the connection request received by the receiving module; the saving module 1203 It is configured to save the identity of the second terminal device when the second terminal device passes the verification.
  • the device further includes: a connection establishing module 1204 and a sending module 1205.
  • the connection establishing module 1204 is configured to establish a communication connection with the first terminal device
  • the sending module 1205 is configured to send the access information to the first terminal device.
  • connection establishing module 1204 is further configured to establish a communication connection with the second terminal device.
  • the first terminal device may be a wearable device
  • the second terminal device may be a mobile terminal.
  • the consumer equipment includes a household appliance or a router.
  • the embodiment of the present disclosure saves the access information in the first terminal device by using the power device as the access point, and the second terminal device can directly obtain the access information from the first terminal device, and then use the access information and the The device is connected to obtain the right to use the device. If the access information of the powered device is forgotten or the person who knows the access information of the powered device is absent, the way to obtain the access information is brought to the user. Great convenience.
  • FIG. 13 is a block diagram of a usage rights obtaining apparatus 1300, according to an exemplary embodiment.
  • device 1300 can be a wearable device, a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a powered device, and the like.
  • the electrical equipment includes but is not limited to household appliances and routers, and the household appliances may be televisions, refrigerators, washing machines, air conditioners, and the like.
  • the apparatus 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, and an input/output (I/O) interface 1312.
  • a processing component 1302 a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, and an input/output (I/O) interface 1312.
  • the sensor component 1314, and the communication component 1316 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, and an input/output (I/O) interface 1312.
  • the sensor component 1314, and the communication component 1316 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, and an input/output (I/O) interface 1312.
  • the sensor component 1314, and the communication component 1316 may include one or
  • Processing component 1302 typically controls the overall operation of device 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 1302 can include one or more processors 1320 to execute instructions to perform all or part of the steps described above.
  • processing component 1302 can include one or more modules to facilitate interaction between component 1302 and other components.
  • processing component 1302 can include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302.
  • Memory 1304 is configured to store various types of data to support operation at device 1300. Examples of such data include instructions for any application or method operating on device 1300, contact data, phone book data, messages, pictures, videos, and the like.
  • Memory 1304 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read only memory (Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read Only Memory ( Read-Only Memory (ROM), magnetic memory, flash memory, disk or optical disk.
  • SRAM Static Random Access Memory
  • EEPROM Electrically erasable programmable read only memory
  • EPROM Erasable Programmable Read Only Memory
  • PROM Programmable Read-Only Memory
  • ROM Read Only Memory
  • magnetic memory flash memory, disk or optical disk.
  • Power component 1306 provides power to various components of device 1300.
  • Power component 1306 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1300.
  • the multimedia component 1308 includes a screen between the device 1300 and the user that provides an output interface.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 1308 includes a front camera and/or a rear camera. When the device 1300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 1310 is configured to output and/or input an audio signal.
  • the audio component 1310 includes a microphone (Microphone, MIC for short) that is configured to receive an external audio signal when the device 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 1304 or transmitted via communication component 1316.
  • the audio component 1310 also includes a speaker for outputting an audio signal.
  • the I/O interface 1312 provides an interface between the processing component 1302 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 1314 includes one or more sensors for providing device 1300 with a status assessment of various aspects.
  • the sensor assembly 1314 includes a plurality of self-capacitance sensors disposed on the left and right edges of the touch screen.
  • the sensor assembly 1314 can also detect an open/closed state of the device 1300, a relative positioning of the components, such as the display and keypad of the device 1300, and the sensor component 1314 can also detect a change in position of a component of the device 1300 or device 1300, The presence or absence of contact by the user with the device 1300, the orientation or acceleration/deceleration of the device 1300 and the temperature change of the device 1200.
  • Sensor assembly 1314 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • the sensor component 1314 may also include a photosensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or a Charge-coupled Device (CCD) image sensor, for use in imaging applications.
  • CMOS Complementary Metal Oxide Semiconductor
  • CCD Charge-coupled Device
  • the sensor component 1314 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1316 is configured to facilitate wired or wireless communication between device 1300 and other devices.
  • the device 1300 can access a wireless network based on a communication standard, such as Wireless Fidelity (WiFi), Second Generation Mobile Communication Technology (2G) or Third Generation Mobile Communication Technology (3rd). Generation mobile communication technology, referred to as 3G), or a combination thereof.
  • communication component 1316 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • communication component 1316 also includes a Near Field Communication (NFC) module to facilitate short range communication.
  • NFC Near Field Communication
  • the NFC module can be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (Blue Tooth, BT for short). ) Technology and other technologies to achieve.
  • RFID Radio Frequency Identification
  • IrDA Infrared Data Association
  • UWB Ultra Wideband
  • Bluetooth Bluetooth
  • the device 1300 may be configured by one or more application specific integrated circuits (ASICs), digital signal processing (Digital Signal Processing, for short), and digital signal processing devices (Digital Signal Processing Device). , referred to as DSPD), programmable logic A Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), controller, microcontroller, microprocessor or other electronic component is implemented to perform the above method.
  • ASICs application specific integrated circuits
  • DSP digital signal processing
  • DSP Digital Signal Processing Device
  • FPGA Field-Programmable Gate Array
  • controller microcontroller, microprocessor or other electronic component is implemented to perform the above method.
  • the device 1300 when the device 1300 is a wearable device, one or more of the multimedia component 1308, the audio component 1310, and the I/O interface 1312 in the above components may not be included, and the sensor in the sensor component 1314 may also be based on Practical application choices.
  • the multimedia component 1308, the audio component 1310, and the I/O interface 1312 in the above components can also be set as needed, and a suitable type of sensor and communication component can be selected.
  • the home appliance may not need to be configured with the second. Generation of mobile communication technology or third-generation mobile communication technology.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 1304 comprising instructions executable by processor 1320 of apparatus 1300 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, and optical data. Storage devices, etc.
  • a non-transitory computer readable storage medium when a command in a storage medium is executed by a processor of a terminal device (eg, a mobile terminal and a wearable device), enabling the terminal device to perform a usage right acquisition method, the method include:
  • the service set identifies the SSID and password
  • the acquiring an access information sending instruction includes:
  • the method further includes:
  • the establishing a communication connection with the powered device includes:
  • the first wireless communication technology including Bluetooth technology, wireless high-fidelity WIFI technology, or Zigbee communication technology.
  • the first terminal device when the first terminal device establishes a communication connection with the powered device by using Bluetooth technology, the first terminal device acts as a peripheral Peripheral device, and the powered device acts as a central Center device.
  • the method further includes:
  • a non-transitory computer readable storage medium when a command in a storage medium is executed by a processor of a terminal device (eg, a mobile terminal and a wearable device), enabling the terminal device to perform a usage right acquisition method, the method include:
  • the access information includes a service set identifier SSID and a password of the powered device;
  • the establishing, by using the access information, the communication connection with the powered device includes:
  • connection instruction a communication connection with the powered device by using the access information.
  • the method further includes:
  • a non-transitory computer readable storage medium when an instruction in a storage medium is executed by a processor of a powered device, enabling the powered device to perform a usage rights acquisition method, the method comprising:
  • connection request sent by the second terminal device, where the connection request includes an identifier of the second terminal device, and access information of the powered device, where the access information includes a service set identifier SSID and a password of the powered device, where The access information is obtained by the second terminal device from the first terminal device;
  • the identifier of the second terminal device is saved.
  • the method further includes:
  • FIG. 14 is a block diagram of a usage rights acquisition system, according to an exemplary embodiment.
  • the system includes: a first terminal device 1401, a second terminal device 1402, and a powered device 1403, wherein the first terminal device 1401 includes a usage right acquiring device as shown in FIG. 6 or FIG.
  • the second terminal device 1402 includes a usage right acquisition device as shown in FIG. 8 or FIG. 9, and the power consumption device 1403 includes a usage right acquisition device as shown in FIG. 10 or FIG.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

本公开是关于一种使用权限获取方法和装置,属于智能家居技术领域。所述方法包括:获取接入信息发送指令,该接入信息包括用电设备的服务集标识SSID和密码;根据该接入信息发送指令,将用电设备的接入信息发送给第二终端设备,所述接入信息用于所述第二终端设备与所述用电设备建立通信连接。本公开实通过将用电设备的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取用电设备的接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。

Description

使用权限获取方法和装置
相关申请的交叉引用
本申请基于申请号为201510509391.4、申请日为2015年8月18日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及智能家居技术领域,尤其涉及一种使用权限获取方法和装置。
背景技术
随着人们的生活水平逐渐提升,家用电器逐渐向智能化发展,采用移动终端等可随身携带的终端设备控制家用电器的方式,也逐渐普及。若要采用终端设备控制家用电器,首先,终端设备要与家用电器建立连接,然后,才能向家用电器发送各种控制指令。
通常,终端设备与家用电器通过密码建立通信连接。而在第一次连接时,需要用户手动输入密码到终端设备中,后续终端设备可以自动采用该密码与家用电器建立连接。在这种情况下,时间一长,用户可能会遗忘该密码,在用户遗忘密码的情况下或者知道密码的用户不在场的情况下,将无法将其他终端设备与家用电器连接,从而无法采用其他终端设备控制家用电器,给用户带来不便。
发明内容
为克服相关技术中存在的问题,本公开提供一种使用权限获取方法和装置。所述技术方案如下:
根据本公开实施例的第一方面,提供一种使用权限获取方法,应用于第一终端设备,所述方法包括:
获取接入信息发送指令,所述接入信息发送指令用于指示所述第一终端设备将用电设备的接入信息发送给第二终端设备,所述接入信息包括所述用电设备的服务集标识SSID和密码;
根据所述接入信息发送指令,将所述用电设备的接入信息发送给第二终端设备,所述接入信息用于所述第二终端设备与所述用电设备建立通信连接。
可选地,所述获取接入信息发送指令,包括:
获取输入的接入信息发送指令;
或者,接收所述第二终端设备发送的接入信息发送指令。在实现时,可以由第一终端设 备触发本实施例的方法,也可以由第二终端设备触发本实施例的方法,实现灵活。
在本公开实施例的一种实现方式中,所述方法还包括:
与所述用电设备建立通信连接;
接收并保存所述用电设备发送的所述接入信息。
在该实现方式中,第一终端设备从用电设备处获取其接入信息,不需要用户手动操作,减少了用户的操作步骤,并且由于不需要手动输入接入信息,第一终端设备的输入部分的结构也可以相应简化,有利于降低成本。
进一步地,所述与所述用电设备建立通信连接,包括:
采用第一无线通信技术与所述用电设备建立通信连接,所述第一无线通信技术包括蓝牙技术、无线高保真WIFI技术或Zigbee通信技术。
第一终端设备可以采用多种无线通信技术与用电设备建立通信连接,容易实现。
更进一步地,当所述第一终端设备采用蓝牙技术与所述用电设备建立通信连接时,所述第一终端设备作为***Peripheral设备,所述用电设备作为中心Center设备。
将第一终端设备作为***设备,用电设备作为中心设备,由用电设备扫描第一终端设备,主动发起连接,有利于降低第一终端设备的硬件配置,进而降低第一终端设备的成本。
在本公开实施例的另一种实现方式中,所述方法还包括:
采用第二无线通信技术与所述第二终端设备建立通信连接,且在所述建立通信连接的过程中,无密码验证过程。
第一终端设备和第二终端设备的建立通信连接的过程中不用采用密码验证,在知道第一终端设备的连接密码的用户不在场的情况下,便于其他用户的终端设备直接获得用电设备的接入信息。
可选地,所述第一终端设备为可穿戴设备,所述第二终端设备为移动终端。采用可穿戴设备作为第一终端设备保存接入信息,实现成本低,采用移动终端作为第二终端设备,是考虑到移动终端时用户会随身携带的设备,从而使得本公开实施例的方法更为实用。
可选地,所述用电设备包括家用电器或路由器。
根据本公开实施例的第二方面,提供一种使用权限获取方法,应用于第二终端设备,所述方法包括:
接收第一终端设备发送的用电设备的接入信息,所述接入信息包括所述用电设备的服务集标识SSID和密码;
采用所述接入信息与所述用电设备建立通信连接。
在本公开实施例的一种实现方式中,所述采用所述接入信息与所述用电设备建立通信连接,包括:
接收输入的连接指令;
根据所述连接指令,采用所述接入信息与所述用电设备建立通信连接。
在该实现方式中,接收到连接指令之后,第二终端设备才与用电设备建立通信连接,可以节省第二终端设备的功耗。
在本公开实施例的另一种实现方式中,所述方法还包括:
采用第二无线通信技术与所述第一终端设备建立通信连接,且在所述建立通信连接的过程中,无密码验证过程。第一终端设备和第二终端设备的建立通信连接的过程中不用采用密码验证,在知道第一终端设备的连接密码的用户不在场的情况下,便于其他用户的终端设备直接获得用电设备的接入信息。
根据本公开实施例的第三方面,提供一种使用权限获取装置,应用于第一终端设备,所述装置包括:
获取模块,用于获取接入信息发送指令,所述接入信息发送指令用于指示所述第一终端设备将用电设备的接入信息发送给第二终端设备,所述接入信息包括所述用电设备的服务集标识SSID和密码;
发送模块,用于根据所述接入信息发送指令,将所述用电设备的接入信息发送给第二终端设备,所述接入信息用于所述第二终端设备与所述用电设备建立通信连接。
可选地,所述获取模块用于获取输入的接入信息发送指令;或者,所述获取模块用于接收所述第二终端设备发送的接入信息发送指令。
在本公开实施例的一种实现方式中,所述装置还包括:
第一连接建立模块,用于与所述用电设备建立通信连接;
接收模块,用于接收所述用电设备发送的所述接入信息;
存储模块,用于保存所述接收模块接收到的所述接入信息。
进一步地,所述第一连接建立模块用于采用第一无线通信技术与所述用电设备建立通信连接,所述第一无线通信技术包括蓝牙技术、无线高保真技术或Zigbee通信技术。
更进一步地,当所述第一连接建立模块采用蓝牙技术与所述用电设备建立通信连接时,所述第一终端设备作为***Peripheral设备,所述用电设备作为中心Center设备。
在本公开实施例的另一种实现方式中,所述装置还包括:
第二连接建立模块,用于采用第二无线通信技术与所述第二终端设备建立通信连接,且 在所述建立通信连接的过程中,无密码验证过程。
可选地,所述第一终端设备为可穿戴设备,所述第二终端设备为移动终端。
可选地,所述用电设备包括家用电器或路由器。
根据本公开实施例的第四方面,提供一种使用权限获取装置,应用于第二终端设备,所述装置包括:
接收模块,用于接收第一终端设备发送的用电设备的接入信息,所述接入信息包括所述用电设备的服务集标识SSID和密码;
连接建立模块,用于采用所述接收模块接收到的接入信息与所述用电设备建立通信连接。
在本公开实施例的一种实现方式中,所述连接建立模块包括:
指令接收子模块,用于接收输入的连接指令;
连接建立子模块,用于根据所述指令接收子模块接收到的连接指令,采用所述接入信息与所述用电设备建立通信连接。
在本公开实施例的另一种实现方式中,所述连接建立模块用于采用第二无线通信技术与所述第一终端设备建立通信连接,且在所述建立通信连接的过程中,无密码验证过程。
根据本公开实施例的第五方面,提供一种使用权限获取装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取接入信息发送指令,所述接入信息发送指令用于指示所述第一终端设备将用电设备的接入信息发送给第二终端设备,所述接入信息包括所述用电设备的服务集标识SSID和密码;
根据所述接入信息发送指令,将所述用电设备的接入信息发送给第二终端设备,所述接入信息用于所述第二终端设备与所述用电设备建立通信连接。
根据本公开实施例的第六方面,提供一种使用权限获取装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
接收第一终端设备发送的用电设备的接入信息,所述接入信息包括所述用电设备的服务集标识SSID和密码;
采用所述接入信息与所述用电设备建立通信连接。
本公开实施例提供的技术方案可以包括以下有益效果:
本公开实施例通过将用电设备的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取用电设备的接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1是根据一示例性实施例示出的使用权限获取方法的应用场景图;
图2是根据一示例性实施例示出的一种使用权限获取方法的流程图;
图3是根据一示例性实施例示出的另一种使用权限获取方法的流程图;
图4是根据一示例性实施例示出的另一种使用权限获取方法的流程图;
图5是根据一示例性实施例示出的一种使用权限获取方法的交互图;
图6是根据一示例性实施例示出的一种使用权限获取方法的交互图;
图7是根据一示例性实施例示出的一种使用权限获取装置的示意图;
图8是根据一示例性实施例示出的一种使用权限获取装置的示意图;
图9是根据一示例性实施例示出的另一种使用权限获取装置的框图;
图10是根据一示例性实施例示出的又一种使用权限获取装置的框图;
图11是根据一示例性实施例示出的又一种使用权限获取装置的框图;
图12是根据一示例性实施例示出的又一种使用权限获取装置的框图;
图13是根据一示例性实施例示出的又一种使用权限获取装置的框图;
图14是根据一示例性实施例示出的一种使用权限获取***的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
下面先结合图1简单介绍一下本实施例提供的使用权限获取方法的应用场景。如图1所示,第一终端设备1和第二终端设备2均可以与用电设备3无线连接。
其中,用电设备3配置有至少一种通信模块,至少一种通信模块选自WIFI(Wireless Fidelity,无线高保真)通信模块、蓝牙通信模块、Zigbee通信模块、红外线通信模块等,且至少一种通信模块中包括WIFI通信模块。当用电设备3配置有至少两种通信模块时,第一终端设备1和第二终端设备2可以采用相同的通信方式与用电设备3无线连接。例如,第一终端设备1和第二终端设备2与用电设备3采用WIFI技术连接。也可以采用不同的通信方式与用电设备3无线连接,例如,第一终端设备1采用蓝牙技术连接用电设备3,而第二终端设备采用WIFI技术连接用电设备3。
在图1所示场景中,第一终端设备1为手环,但本公开实施例并不以此为限,第一终端设备1也可以是除手环以外的其他可穿戴设备,例如智能手表、智能项链等,此外,第一终端设备1还可以是移动终端,例如,手机、平板电脑等。另外,在图1所示场景中,第二终端设备2为智能手机,同样,本公开并不以此为限,第二终端设备2还可以是除智能手机以外的其他移动终端,例如平板电脑等,第二终端设备2还可以是可穿戴设备,例如手环、智能手表等。再者,在图1所示场景中,用电设备3为空调,容易知道,用电设备3还可以为冰箱、电视等家用电器,还可以是路由器等需要通过WIFI接入后才能使用的电子设备,本公开对此不作限制。图1所示场景中终端设备的数量也不仅限于两个,还可以是多个。
图2是根据一示例性实施例示出的一种使用权限获取方法的流程图,如图2所示,该使用权限获取方法用于第一终端设备中。该方法包括以下步骤。
在步骤S201中,获取接入信息发送指令。
其中,该接入信息发送指令用于指示第一终端设备将接入信息发送给第二终端设备。该接入信息包括用电设备的SSID(Service Set Identifier,服务集标识)和密码。
实现时,该接入信息发送指令可以通过第一终端设备直接输入,也可以是第二终端设备发送的。
在步骤S202中,根据该接入信息发送指令,将用电设备的接入信息发送给第二终端设 备,该接入信息用于第二终端设备与用电设备建立通信连接。
该第二终端设备用于采用接收到的接入信息,与用电设备建立通信连接。
实现时,当用电设备为路由器时,第二终端设备与用电设备建立通信连接之后,可以通过路由器连接网络,通过网络发送或接收数据。当用电设备为家用电器时,第二终端设备与用电设备建立通信连接之后,可以获得家用电器的控制权限,向其发送例如开启、关闭、模式设置等指令。
本公开实施例通过将用电设备的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取用电设备的接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
图3是根据一示例性实施例示出的一种使用权限获取方法的流程图,如图3所示,该方法可以应用于第二终端设备中。该方法包括以下步骤。
在步骤S301中,接收第一终端设备发送的用电设备的接入信息,该接入信息包括用电设备的SSID和密码。
该接入信息用于第二终端设备与用电设备建立通信连接。
在步骤S302中,采用接收到的接入信息与用电设备建立通信连接。
实现时,当用电设备为路由器时,第二终端设备与用电设备建立通信连接之后,可以通过路由器连接网络,通过网络发送或接收数据。当用电设备为家用电器时,第二终端设备与用电设备建立通信连接之后,可以获得家用电器的控制权限,向其发送例如开启、关闭、模式设置等指令。
本公开实施例通过将用电设备的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取用电设备的接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
图4是根据一示例性实施例示出的一种使用权限获取方法的流程图,如图4所示,该方法可以应用于用电设备中,该方法可以包括以下步骤。
在步骤S401中,接收第二终端设备发送的连接请求。
该连接请求包括第二终端设备的标识、用电设备的接入信息,该接入信息包括用电设备的SSID和密码,该接入信息是第二终端设备从第一终端设备获取的。该接入信息用于第二 终端设备与用电设备建立通信连接。
在步骤S402中,根据接收到的连接请求,对第二终端设备进行身份验证。
在步骤S403中,若第二终端设备通过验证,则保存第二终端设备的标识。
在保存第二终端设备的标识之后,第二终端设备即获得了用电设备的使用权限。
实现时,该步骤S402和S403可以包括:
将连接请求中的密码和设定密码(即前述接入信息中的密码)进行比较,若连接请求中的密码和设定密码相同,则第二终端设备通过验证,若连接请求中的密码和设定密码不同,则第二终端设备不能通过验证。
本公开实施例通过将用电设备的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取用电设备的接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
图5是根据一示例性实施例示出的一种使用权限获取方法的交互图,在本实施例中,以家用电器配置有蓝牙通信模块和WiFi通信模块为例对本公开实施例进行说明。如图5所示,该方法包括以下步骤。
在步骤S501中,第一终端设备与家用电器建立通信连接。
该步骤S501可以包括:第一终端设备采用第一无线通信技术与家用电器建立无线连接,第一无线通信技术包括但不限于蓝牙技术、WIFI技术和Zigbee通信技术。
当第一无线通信技术为蓝牙技术时,该步骤501进一步包括:
家用电器扫描蓝牙设备;
向第一终端设备发送连接请求;
与第一终端设备建立蓝牙连接。
第一终端设备作为***Peripheral设备,而用电设备作为中心Center设备。将第一终端设备作为***设备,用电设备作为中心设备,由用电设备扫描第一终端设备,主动发起连接,有利于降低第一终端设备的硬件配置,进而降低第一终端设备的成本。
实现时,由于家用电器不一定配置有触摸屏、显示屏和按钮等操作组件,或者即使配置有这些操作组件也不一定方便操作(比如壁式空调一般安装在较高的位置),因此,直接手动控制家用电器采用蓝牙连接不太方便,此时,可以采用移动终端辅助家用电器与第一终端设备建立蓝牙连接。则,该步骤S501进一步可以包括:
家用电器接收移动终端的扫描指令;
家用电器扫描蓝牙设备并将扫描到的蓝牙设备的标识发送给家用电器;
移动终端显示家用电器扫描到的蓝牙设备;
移动终端接收输入的选择指示,并根据该选择指示生成设备连接指示,该设备连接指示包括第一终端设备的标识;
根据移动终端发送的设备连接指示向第一终端设备发起蓝牙连接,与第一终端设备建立蓝牙连接。
在需要采用移动终端辅助家用电器与第一终端设备建立蓝牙连接时,家用电器需要先与移动终端建立连接,例如,采用WIFI技术建立通信连接,此时,移动终端需要向用户输出可以接入的SSID列表,用户选择家用电器的SSID,并输入对应的密码,移动终端即可通过WIFI技术接入家用电器。
本实施例中,第一终端设备和家用电器采用蓝牙技术连接,可以满足第一终端设备的低功耗需求。实现时,第一无线通信技术优选采用不需要密码验证的通信技术,可以减少用户的操作步骤,对于蓝牙技术而言,即将***设备设置为无需密码验证即可连接。当然,第一无线通信技术也可以采用需要密码验证的通信技术。
在步骤S502中,家用电器保存第一终端设备的标识。
其中,第一终端设备的标识可以为MAC(Media Access Control,媒体访问控制)地址。
通过该步骤S502,第一终端设备获取了家用电器的使用权限。则本实施例的方法还可以包括:
家用电器接收第一终端设备发送的电器控制指令,该电器控制指令包括第一终端设备的标识;
家用电器比较电器控制指令中的第一终端设备的标识,和家用电器已保存的终端设备的标识;
若电器控制指令中的第一终端设备的标识与家用电器已保存的终端设备的标识相同(表示第一终端设备具有使用权限),则执行接收到的电器控制指令;
若电器控制指令中的第一终端设备的标识与家用电器已保存的终端设备的标识相同(表示第一终端设备不具有使用权限),则不执行接收到的电器控制指令。
电器控制指令可以用于设置家用电器的开启、关闭、运行时间、档位、运行模式等,本公开对此不做限制。
该步骤S502为可选步骤,若不需要采用第一终端设备控制家用电器,而仅仅将其作为接入信息的中间保存设备,则可以不执行该步骤S502。
在步骤S503中,家用电器将接入信息发送给第一终端设备。
其中,接入信息包括家用电器的SSID和密码,该接入信息用于供终端设备将家用电器作为接入点接入。
在本实施例中,接入信息是家用电器发送给第一终端设备的,在其他实施例中,接入信息也可以是移动终端发送给第一终端设备的。
在步骤S504中,第一终端设备保存接收到的接入信息。
在步骤S505中,第一终端设备与第二终端设备建立通信连接。
该步骤S505中,第一终端设备与第二终端设备可以采用第二无线通信技术连接。
在第一终端设备采用第二无线通信技术与第二终端设备建立通信连接的过程中,无密码验证过程。第一终端设备和第二终端设备的建立通信连接的过程中不用采用密码验证,在知道第一终端设备的连接密码的用户不在场的情况下,便于其他用户的终端设备直接获得用电设备的接入信息。
实现时,该第二无线通信技术可以为蓝牙技术,第一终端设备作为***Peripheral设备,而第二终端设备作为中心Center设备,且第一终端设备默认配置为蓝牙连接不需要密码验证。
在步骤S506中,第一终端设备获取接入信息发送指令。
该接入信息发送指令用于指示第一终端设备将接入信息发送给第二终端设备。
在本实施例的一种实现方式中,该步骤S506可以包括:
检测用户手势,若检测到设定手势,则触发接入信息发送指令。
该设定手势包括例如检测到用户晃动手环,或者检测到用户敲击手环等。
在本实施例的另一种实现方式中,该步骤S506可以包括:
接收第二终端设备发送的接入信息发送指令。
在步骤S507中,第一终端设备将接入信息发送给第二终端设备。
在步骤S508中,第二终端设备采用接收到的接入信息与家用电器建立通信连接。
在本实施例中,第二终端设备获取到接入信息之后,可以立即请求与家用电器建立无线连接,这样可以进一步减少用户的操作步骤,提高用户体验。而在本公开实施例的另一种实现方式中,第二终端设备获取到接入信息之后,可以仅保存获取到的接入信息,在接收到用户指示后再请求与家用电器建立无线连接,则在这种实现方式中,该步骤S508可以包括:
第二终端设备接收输入的连接指令;
根据接收到的连接指令,采用该接入信息与家用电器建立无线连接。
在步骤S509中,家用电器保存第二终端设备的标识。
其中,第二终端设备的标识可以为MAC地址。
通过该步骤S509,第二终端设备获取了家用电器的使用权限。则本实施例的方法还可以包括:
家用电器接收第二终端设备发送的电器控制指令,该电器控制指令包括第二终端设备的标识;
家用电器比较电器控制指令中的第二终端设备的标识,和保存的终端设备的标识;
若电器控制指令中的第二终端设备的标识与家用电器已保存的终端设备的标识相同(表示第二终端设备具有使用权限),则执行接收到的电器控制指令;
若电器控制指令中的第二终端设备的标识与家用电器已保存的终端设备的标识相同(表示第二终端设备不具有使用权限),则不执行接收到的电器控制指令。
可选地,在本公开实施例的一种实现方式中,该方法还可以包括:
当第一终端设备与家用电器的连接断开时,家用电器删除第一终端设备的标识;或者,
当第二终端设备与家用电器的连接断开时,家用电器删除第二终端设备的标识。
可选地,在本公开实施例的另一种实现方式中,家用电器也可以保存所有连接过的终端设备的标识,而不删除(或者删除超出设定时间未连接用电设备的终端设备的标识)。
此外,在本公开实施例的另一种实现方式中,该方法还可以包括:
第二终端设备采用第三无线通信技术与用电设备连接。该第三无线通信技术为除WIFI技术以外的通信技术,例如蓝牙技术。
当第三无线通信技术为蓝牙技术时,第二终端设备为中心设备,用电设备为***设备,通常,为了安全起见,用电设备的接入是需要身份验证的,此时,第二终端设备需要经过密码验证之后与用电设备连接。
需要说明的是,在本公开实施例中,第一终端设备优选为可穿戴设备,例如手环等,而第二终端设备优选采用移动终端,例如手机,这是因为,当第一终端设备采用可穿戴设备时,成本较低,并且移动终端通常用户都会随身携带,用户随身携带的移动终端需要获得用电设备的情况更为普遍。此外,容易知道,本实施例的方法同样适用于路由器。
本公开实施例通过将用电设备作为接入点时的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
图6是根据一示例性实施例示出的一种使用权限获取方法的交互图,在本实施例中,以用电设备为空调、第一终端设备为手环、第二终端设备为移动终端(即图1所示场景)为例, 对本公开实施例进行说明。并且,在本实施例中,空调配置有蓝牙通信模块和WIFI通信模块。如图6所示,该方法包括以下步骤。
在步骤S601中,移动终端与空调采用WIFI技术建立通信连接。
实现时,该步骤S601可以包括:
移动终端显示可接入的SSID列表;
移动终端接收输入的接入指令,该接入指令包括空调的SSID和密码,该接入指令用于指示移动终端向空调发送接入请求,该接入请求中携带空调的SSID和密码;
空调接收移动终端发送的接入请求,并验证该接入请求中的密码;
若验证通过,则允许移动终端接入空调;若验证未通过,则不允许移动终端接入空调。
实现时,该步骤S601中的移动终端可以为户主或者居住者的移动终端。
在步骤S602中,手环与空调建立蓝牙连接。
在该步骤S602中,手环可以作为***设备,空调作为中心设备。
该步骤S602可以包括:
空调接收移动终端的扫描指令;
空调扫描蓝牙设备;
空调将扫描到的蓝牙设备发送给移动终端;
移动终端显示空调扫描到的蓝牙设备;
移动终端接收输入的选择指示,并根据该选择指示生成设备连接指示,该设备连接指示包括手环的标识;
根据移动终端发送的设备连接指示向手环发起蓝牙连接,与手环建立蓝牙连接。
在步骤S603中,空调保存手环的标识。
其中,手环的标识可以为MAC地址。
通过该步骤S603,手环获取了空调的控制权限。则本实施例的方法还可以包括:
空调接收手环发送的电器控制指令,该电器控制指令包括手环的标识;
空调比较电器控制指令中的手环的标识,和家用电器已保存的终端设备的标识;
若电器控制指令中的手环的标识与空调已保存的终端设备的标识相同(表示手环具有控制权限),则执行接收到的电器控制指令;
若电器控制指令中的手环的标识与空调已保存的终端设备的标识相同(表示手环不具有控制权限),则不执行接收到的电器控制指令。
电器控制指令可以用于设置空调的开启、关闭、运行时间、档位、运行模式等,本公开对此不做限制。
实现时,手环发送的电器控制指令可以采用以下方式生成:
检测用户的手势;
确定用户的手势对应的电器控制指令。
例如,若用户的手势为敲击手环一次,则对应的电器控制指令为开启空调;若用户的手势为连续两次敲击手环,则对应的电器控制指令为关闭空调;若用户的手势为左右晃动手环,则对应的电器控制指令为左右扫风模式;若用户的手势为上下晃动手环,则对应的电器控制指令为上下扫风模式;以上手势和电器控制指令的对应关系仅为举例,本公开对此不作限制。
该步骤S603为可选步骤,若不需要采用手环控制家用电器,而仅仅将其作为接入信息的中间保存设备,则可以不执行该步骤S603。
在步骤S604中,空调将接入信息发送给手环。
其中,接入信息包括空调的SSID和密码,该接入信息用于供终端设备将空调作为接入点接入。
在本实施例中,接入信息是空调发送给手环的,在其他实施例中,接入信息也可以是移动终端发送给手环的。
在步骤S605中,手环保存接收到的接入信息。
在步骤S606中,手环与另一移动终端建立通信连接。
在该步骤S606中,手环和另一移动终端采用蓝牙技术建立通信连接,并且,手环作为***设备,该另一移动终端作为中心设备,且手环默认配置为蓝牙连接时不需要密码验证。
实现时,该步骤S606中的移动终端可以为客人或者租户的移动终端。需要说明的是,本实施例中,控制手环与空调建立蓝牙连接的移动终端和后续从手环获得接入信息的移动终端为不同的两个移动终端,而在其他实施例中,控制手环与空调建立蓝牙连接的移动终端和后续从手环获得接入信息的移动终端也可以为同一移动终端。
在步骤S607中,手环获取接入信息发送指令。
在本实施例的一种实现方式中,该步骤S607可以包括:
检测用户手势,若检测到设定手势,则触发接入信息发送指令。
该设定手势包括例如检测到用户晃动手环,或者检测到用户敲击手环等。
在本实施例的另一种实现方式中,该步骤S607可以包括:
接收另一移动终端发送的接入信息发送指令。
在步骤S608中,手环将接入信息发送给另一移动终端。
在该步骤S609中,该另一移动终端采用接收到的接入信息与空调建立通信连接。
在本实施例中,该另一移动终端获取到接入信息之后,可以立即请求与空调建立通信连 接,这样可以进一步减少用户的操作步骤,提高用户体验。而在本公开实施例的另一种实现方式中,该另一移动终端获取到接入信息之后,可以仅保存获取到的接入信息,在接收到用户指示后再请求与空调建立无线连接,则在这种实现方式中,该步骤S508可以包括:
该另一移动终端接收输入的连接指令;
根据接收到的连接指令,采用该接入信息与空调建立通信连接。
在步骤S610中,空调保存该另一移动终端的标识。
其中,该另一移动终端的标识可以为MAC地址。
通过该步骤S610,该另一移动终端获取了空调的控制权限。则本实施例的方法还可以包括:
空调接收该另一移动终端发送的电器控制指令,该电器控制指令包括该另一移动终端的标识;
空调比较电器控制指令中的移动终端的标识,和保存的终端设备的标识;
若电器控制指令中的移动终端的标识与空调已保存的终端设备的标识相同(表示该另一移动终端具有使用权限),则执行接收到的电器控制指令;
若电器控制指令中的移动终端的标识与空调已保存的终端设备的标识相同(表示该另一移动终端不具有使用权限),则不执行接收到的电器控制指令。
可选地,在本公开实施例的一种实现方式中,该方法还可以包括:
当手环与空调的连接断开时,空调删除手环的标识;或者,
当移动终端与空调的连接断开时,空调删除移动终端的标识。
本公开实施例通过将空调作为接入点时的接入信息保存在手环中,移动终端可以直接从手环获取接入信息,进而采用该接入信息与空调连接,获得其使用权限,在空调的接入信息被遗忘或者知道空调的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
图7是根据一示例性实施例示出的一种使用权限获取装置的框图。该装置应用于第一终端设备中,参照图7,该装置包括获取模块701和发送模块702。
该获取模块701被配置为用于获取接入信息发送指令,接入信息发送指令用于指示第一终端设备将用电设备的接入信息发送给第二终端设备,该接入信息包括用电设备的SSID和密码。
该发送模块702被配置为用于根据接入信息发送指令,将用电设备的接入信息发送给第二终端设备,该接入信息用于第二终端设备与用电设备建立通信连接。
本公开实施例通过将用电设备作为接入点时的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
图8是根据一示例性实施例示出的一种使用权限获取装置的框图。该装置应用于第一终端设备中,参照图8,该装置包括获取模块801和发送模块802。该获取模块801被配置为用于获取接入信息发送指令,该接入信息发送指令用于指示第一终端设备将用电设备的接入信息发送给第二终端设备,该接入信息包括用电设备的SSID和密码。该发送模块802被配置为用于根据接入信息发送指令,将用电设备的接入信息发送给第二终端设备,该接入信息用于第二终端设备与用电设备建立通信连接。
在本实施例的一种可能的实现方式中,该获取模块801被配置为用于获取输入的接入信息发送指令;或者,获取模块801被配置为用于接收第二终端设备发送的接入信息发送指令。
在本实施例的另一种可能的实现方式中,该装置还包括:第一连接建立模块803、接收模块804和存储模块805。其中,第一连接建立模块803被配置为用于与用电设备建立通信连接;接收模块804被配置为用于接收用电设备发送的接入信息;存储模块805被配置为用于保存接收模块804接收到的接入信息。
进一步地,第一连接建立模块803用于采用第一无线通信技术与用电设备建立通信连接,第一无线通信技术包括但不限于蓝牙技术、无线高保真技术或Zigbee通信技术。
更进一步地,当第一连接建立模块803采用蓝牙技术与用电设备建立通信连接时,第一终端设备作为***peripheral设备,用电设备作为中心Center设备。
在本公开实施例的另一种可能的实现方式中,该装置还包括:第二连接建立模块806,该第二连接建立模块806被配置为用于采用第二无线通信技术与第二终端设备建立通信连接,且在该建立通信连接的过程中,无密码验证过程。
可选地,第一终端设备可以为可穿戴设备,第二终端设备可以为移动终端。用电设备包括家用电器或路由器。
本公开实施例通过将用电设备作为接入点时的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
图9是根据一示例性实施例示出的一种使用权限获取装置的框图。该装置应用于第二终端设备中,参照图9,该装置包括接收模块901和连接建立模块902。其中,接收模块901被配置为用于接收第一终端设备发送的用电设备的接入信息,该接入信息包括用电设备的服务集标识SSID和密码;连接建立模块902被配置为用于采用接收模块901接收到的接入信息与用电设备建立通信连接。
本公开实施例通过将用电设备作为接入点时的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
图10是根据一示例性实施例示出的一种使用权限获取装置的框图。该装置应用于第二终端设备中,参照图10,该装置包括接收模块1001和连接建立模块1002。其中,接收模块1001被配置为用于接收第一终端设备发送的用电设备的接入信息,该接入信息包括用电设备的SSID和密码;连接建立模块1002被配置为用于采用接收模块1001接收到的接入信息与用电设备建立通信连接。
在本公开实施例的一种实现方式中,连接建立模块1002包括:指令接收子模块10021和连接建立子模块10022。其中,指令接收子模块10021被配置为用于接收输入的连接指令;连接建立子模块10022被配置为用于根据指令接收子模块接收到的连接指令,采用该接入信息与用电设备建立通信连接。
在本公开实施例的另一种实现方式中,连接建立模块1002被配置为用于采用第二无线通信技术与第一终端设备建立通信连接,且在该建立通信连接的过程中,无密码验证过程。
可选地,第一终端设备可以为可穿戴设备,第二终端设备可以为移动终端。用电设备包括家用电器或路由器。
本公开实施例通过将用电设备作为接入点时的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
图11是根据一示例性实施例示出的一种使用权限获取装置的框图。该装置应用于用电设备中,参照图11,该装置包括:接收模块1101、验证模块1102和保存模块1103。其中,接收模块1101被配置为用于接收第二终端设备发送的连接请求,连接请求包括第二终端设 备的标识、用电设备的接入信息,接入信息包括用电设备的服务集标识SSID和密码,接入信息是第二终端设备从第一终端设备获取的;验证模块1102被配置为用于根据接收模块1101接收到的连接请求,对第二终端设备进行身份验证;保存模块1103被配置为用于当第二终端设备通过验证时,保存第二终端设备的标识。
本公开实施例通过将用电设备作为接入点时的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
图12是根据一示例性实施例示出的一种使用权限获取装置的框图。该装置应用于用电设备中,参照图12,该装置包括:接收模块1201、验证模块1202和保存模块1203。其中,接收模块1201被配置为用于接收第二终端设备发送的连接请求,连接请求包括第二终端设备的标识、用电设备的接入信息,该接入信息包括用电设备的服务集标识SSID和密码,该接入信息是第二终端设备从第一终端设备获取的;验证模块1202被配置为用于根据接收模块接收到的连接请求,对第二终端设备进行身份验证;保存模块1203被配置为用于当第二终端设备通过验证时,保存第二终端设备的标识。
在本公开实施例的一种实现方式中,该装置还包括:连接建立模块1204和发送模块1205。其中,连接建立模块1204被配置为用于与第一终端设备建立通信连接;发送模块1205被配置为用于将接入信息发送给第一终端设备。
在本公开实施例的另一种实现方式中,该连接建立模块1204还用于与第二终端设备建立通信连接。
可选地,第一终端设备可以为可穿戴设备,第二终端设备可以为移动终端。用电设备包括家用电器或路由器。
本公开实施例通过将用电设备作为接入点时的接入信息保存在第一终端设备中,第二终端设备可以直接从第一终端设备获取接入信息,进而采用该接入信息与用电设备连接,获得其使用权限,在用电设备的接入信息被遗忘或者知道用电设备的接入信息的人不在场的情况下,这种获得接入信息的方式,给用户带来了极大的便利。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图13是根据一示例性实施例示出的一种使用权限获取装置1300的框图。例如,装置1300可以是可穿戴设备,移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理、用电设备等。用电设备包括但不限于家用电器和路由器,家用电器可以为电视、冰箱、洗衣机、空调等。
参照图13,装置1300可以包括以下一个或多个组件:处理组件1302,存储器1304,电力组件1306,多媒体组件1308,音频组件1310,输入/输出(Input/Output,简称I/O)的接口1312,传感器组件1314,以及通信组件1316。
处理组件1302通常控制装置1300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1302可以包括一个或多个处理器1320来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1302可以包括一个或多个模块,便于处理组件1302和其他组件之间的交互。例如,处理组件1302可以包括多媒体模块,以方便多媒体组件1308和处理组件1302之间的交互。
存储器1304被配置为存储各种类型的数据以支持在装置1300的操作。这些数据的示例包括用于在装置1300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件1306为装置1300的各种组件提供电力。电力组件1306可以包括电源管理***,一个或多个电源,及其他与为装置1300生成、管理和分配电力相关联的组件。
多媒体组件1308包括在装置1300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(Liquid Crystal Display,简称LCD)和触摸面板(Touch Panel,简称TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1308包括一个前置摄像头和/或后置摄像头。当装置1300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜***或具有焦距和光学变焦能力。
音频组件1310被配置为输出和/或输入音频信号。例如,音频组件1310包括一个麦克风(Microphone,简称MIC),当装置1300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1304或经由通信组件1316发送。在一些实施例中,音频组件1310还包括一个扬声器,用于输出音频信号。
I/O接口1312为处理组件1302和***接口模块之间提供接口,上述***接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件1314包括一个或多个传感器,用于为装置1300提供各个方面的状态评估。传感器组件1314包括多个自容传感器,自容传感器设置在触摸屏的左右两侧边缘。传感器组件1314还可以检测到装置1300的打开/关闭状态,组件的相对定位,例如所述组件为装置1300的显示器和小键盘,传感器组件1314还可以检测装置1300或装置1300一个组件的位置改变,用户与装置1300接触的存在或不存在,装置1300方位或加速/减速和装置1200的温度变化。传感器组件1314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1314还可以包括光传感器,如互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,简称CMOS)或电荷耦合元件(Charge-coupled Device,简称CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1316被配置为便于装置1300和其他设备之间有线或无线方式的通信。装置1300可以接入基于通信标准的无线网络,如无线保真技术(Wireless Fidelity,简称WiFi),第二代移动通讯技术(Second Generation mobile communication technology,简称2G)或第三代移动通讯技术(3rd Generation mobile communication technology,简称3G),或它们的组合。在一个示例性实施例中,通信组件1316经由广播信道接收来自外部广播管理***的广播信号或广播相关信息。在一个示例性实施例中,通信组件1316还包括近场通信(Near Field Communication,简称NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(Radio Frequency Identification,简称RFID)技术,红外数据协会(Infrared Data Association,简称IrDA)技术,超宽带(Ultra Wideband,简称UWB)技术,蓝牙(Blue Tooth,简称BT)技术和其他技术来实现。
在示例性实施例中,装置1300可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(Digital Signal Processing,简称)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻 辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
需要说明的是,当装置1300是可穿戴设备时,可以不包括上述组件中的多媒体组件1308、音频组件1310和I/O接口1312中的一个或多个,传感器组件1314中的传感器也可以根据实际应用选择。当装置1300是用电设备时,同样可以根据需要设置上述组件中的多媒体组件1308、音频组件1310和I/O接口1312以及选择合适的类型的传感器和通信组件,比如家用电器可以不必配置第二代移动通讯技术或第三代移动通讯技术等。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1304,上述指令可由装置1300的处理器1320执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(Ramdom Access Memory,简称RAM)、光盘只读存储器(Compact Disc Read-Only Memory,简称CD-ROM)、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当存储介质中的指令由终端设备(例如移动终端和可穿戴设备)的处理器执行时,使得终端设备能够执行一种使用权限获取方法,所述方法包括:
获取接入信息发送指令,所述接入信息发送指令用于指示所述第一终端设备将用电设备的接入信息发送给第二终端设备,所述接入信息包括所述用电设备的服务集标识SSID和密码;
根据所述接入信息发送指令,将所述用电设备的接入信息发送给第二终端设备,所述接入信息用于所述第二终端设备与所述用电设备建立通信连接。
可选地,所述获取接入信息发送指令,包括:
获取输入的接入信息发送指令;
或者,接收所述第二终端设备发送的接入信息发送指令。
在本公开实施例的一种实现方式中,所述方法还包括:
与所述用电设备建立通信连接;
接收并保存所述用电设备发送的所述接入信息。
进一步地,所述与所述用电设备建立通信连接,包括:
采用第一无线通信技术与所述用电设备建立通信连接,所述第一无线通信技术包括蓝牙技术、无线高保真WIFI技术或Zigbee通信技术。
更进一步地,当所述第一终端设备采用蓝牙技术与所述用电设备建立通信连接时,所述 第一终端设备作为***Peripheral设备,所述用电设备作为中心Center设备。
在本公开实施例的另一种实现方式中,所述方法还包括:
采用第二无线通信技术与所述第二终端设备建立通信连接,且在所述第一终端设备采用所述第二无线通信技术与所述第二终端设备建立通信连接的过程中,无密码验证过程。
一种非临时性计算机可读存储介质,当存储介质中的指令由终端设备(例如移动终端和可穿戴设备)的处理器执行时,使得终端设备能够执行一种使用权限获取方法,所述方法包括:
接收第一终端设备发送的用电设备的接入信息,所述接入信息包括所述用电设备的服务集标识SSID和密码;
采用所述接入信息与所述用电设备建立通信连接。
在本公开实施例的一种实现方式中,所述采用所述接入信息与所述用电设备建立通信连接,包括:
接收输入的连接指令;
根据所述连接指令,采用所述接入信息与所述用电设备建立通信连接。
在本公开实施例的另一种实现方式中,所述方法还包括:
采用第二无线通信技术与所述第一终端设备建立通信连接,且在所述第二终端设备采用所述第一无线通信技术与所述第一终端设备建立通信连接的过程中,无密码验证过程。
一种非临时性计算机可读存储介质,当存储介质中的指令由用电设备的处理器执行时,使得用电设备能够执行一种使用权限获取方法,所述方法包括:
接收第二终端设备发送的连接请求,所述连接请求包括第二终端设备的标识、用电设备的接入信息,所述接入信息包括所述用电设备的服务集标识SSID和密码,所述接入信息是所述第二终端设备从第一终端设备获取的;
根据接收到的所述连接请求,对所述第二终端设备进行身份验证;
若第二终端设备通过验证,则保存所述第二终端设备的标识。
在本公开实施例的一种实现方式中,所述方法还包括:
与第一终端设备建立通信连接;
将所述接入信息发送给所述第一终端设备。
图14是根据一示例性实施例示出的一种使用权限获取***的框图。如图14所示,该***包括:第一终端设备1401、第二终端设备1402和用电设备1403,其中,第一终端设备1401包括如图6或图7所示的使用权限获取装置,第二终端设备1402包括如图8或图9所示的使用权限获取装置,用电设备1403包括如图10或图11所示的使用权限获取装置。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制

Claims (24)

  1. 一种使用权限获取方法,应用于第一终端设备,其特征在于,所述方法包括:
    获取接入信息发送指令,所述接入信息发送指令用于指示所述第一终端设备将用电设备的接入信息发送给第二终端设备,所述接入信息包括所述用电设备的服务集标识SSID和密码;
    根据所述接入信息发送指令,将所述用电设备的接入信息发送给第二终端设备,所述接入信息用于所述第二终端设备与所述用电设备建立通信连接。
  2. 根据权利要求1所述的方法,其特征在于,所述获取接入信息发送指令,包括:
    获取输入的接入信息发送指令;
    或者,接收所述第二终端设备发送的接入信息发送指令。
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    与所述用电设备建立通信连接;
    接收并保存所述用电设备发送的所述接入信息。
  4. 根据权利要求3所述的方法,其特征在于,所述与所述用电设备建立通信连接,包括:
    采用第一无线通信技术与所述用电设备建立通信连接,所述第一无线通信技术包括蓝牙技术、无线高保真WIFI技术或Zigbee通信技术。
  5. 根据权利要求4所述的方法,其特征在于,当所述第一终端设备采用蓝牙技术与所述用电设备建立通信连接时,所述第一终端设备作为***Peripheral设备,所述用电设备作为中心Center设备。
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    采用第二无线通信技术与所述第二终端设备建立通信连接,且在所述建立通信连接的过程中,无密码验证过程。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述第一终端设备为可穿戴设备,所述第二终端设备为移动终端。
  8. 根据权利要求1-6任一项所述的方法,其特征在于,所述用电设备包括家用电器或路由器。
  9. 一种使用权限获取方法,应用于第二终端设备,其特征在于,所述方法包括:
    接收第一终端设备发送的用电设备的接入信息,所述接入信息包括所述用电设备的服务集标识SSID和密码;
    采用所述接入信息与所述用电设备建立通信连接。
  10. 根据权利要求9所述的方法,其特征在于,所述采用所述接入信息与所述用电设备建立通信连接,包括:
    接收输入的连接指令;
    根据所述连接指令,采用所述接入信息与所述用电设备建立通信连接。
  11. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    采用第二无线通信技术与所述第一终端设备建立通信连接,且在所述建立通信连接的过程中,无密码验证过程。
  12. 一种使用权限获取装置,应用于第一终端设备,其特征在于,所述装置包括:
    获取模块,用于获取接入信息发送指令,所述接入信息发送指令用于指示所述第一终端设备将用电设备的接入信息发送给第二终端设备,所述接入信息包括所述用电设备的服务集标识SSID和密码;
    发送模块,用于根据所述接入信息发送指令,将所述用电设备的接入信息发送给第二终端设备,所述接入信息用于所述第二终端设备与所述用电设备建立通信连接。
  13. 根据权利要求12所述的装置,其特征在于,所述获取模块用于获取输入的接入信息发送指令;或者,所述获取模块用于接收所述第二终端设备发送的接入信息发送指令。
  14. 根据权利要求12所述的装置,其特征在于,所述装置还包括:
    第一连接建立模块,用于与所述用电设备建立通信连接;
    接收模块,用于接收所述用电设备发送的所述接入信息;
    存储模块,用于保存所述接收模块接收到的所述接入信息。
  15. 根据权利要求14所述的装置,其特征在于,所述第一连接建立模块用于采用第一无线通信技术与所述用电设备建立通信连接,所述第一无线通信技术包括蓝牙技术、无线高保真技术或Zigbee通信技术。
  16. 根据权利要求15所述的装置,其特征在于,当所述第一连接建立模块采用蓝牙技术与所述用电设备建立通信连接时,所述第一终端设备作为***peripheral设备,所述用电设备作为中心Center设备。
  17. 根据权利要求12所述的装置,其特征在于,所述装置还包括:
    第二连接建立模块,用于采用第二无线通信技术与所述第二终端设备建立通信连接,且在所述建立通信连接的过程中,无密码验证过程。
  18. 根据权利要求12-17任一项所述的装置,其特征在于,所述第一终端设备为可穿戴 设备,所述第二终端设备为移动终端。
  19. 根据权利要求12-17任一项所述的装置,其特征在于,所述用电设备包括家用电器或路由器。
  20. 一种使用权限获取装置,应用于第二终端设备,其特征在于,所述装置包括:
    接收模块,用于接收第一终端设备发送的用电设备的接入信息,所述接入信息包括所述用电设备的服务集标识SSID和密码;
    连接建立模块,用于采用所述接收模块接收到的接入信息与所述用电设备建立通信连接。
  21. 根据权利要求20所述的装置,其特征在于,所述连接建立模块包括:
    指令接收子模块,用于接收输入的连接指令;
    连接建立子模块,用于根据所述指令接收子模块接收到的连接指令,采用所述接入信息与所述用电设备建立通信连接。
  22. 根据权利要求20所述的装置,其特征在于,所述连接建立模块用于采用第二无线通信技术与所述第一终端设备建立通信连接,且在所述建立通信连接的过程中,无密码验证过程。
  23. 一种使用权限获取装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取接入信息发送指令,所述接入信息发送指令用于指示所述第一终端设备将用电设备的接入信息发送给第二终端设备,所述接入信息包括所述用电设备的服务集标识SSID和密码;
    根据所述接入信息发送指令,将所述用电设备的接入信息发送给第二终端设备,所述接入信息用于所述第二终端设备与所述用电设备建立通信连接。
  24. 一种使用权限获取装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    接收第一终端设备发送的用电设备的接入信息,所述接入信息包括所述用电设备的服务集标识SSID和密码;
    采用所述接入信息与所述用电设备建立通信连接。
PCT/CN2015/097765 2015-08-18 2015-12-17 使用权限获取方法和装置 WO2017028426A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
RU2017102665A RU2674328C2 (ru) 2015-08-18 2015-12-17 Способ и устройство для получения права пользования
KR1020177025984A KR101895743B1 (ko) 2015-08-18 2015-12-17 사용 권한을 획득하기 위한 방법 및 장치
MX2017006550A MX2017006550A (es) 2015-08-18 2015-12-17 Metodo y dispositivo para adquirir autoridad de uso.
JP2016536212A JP6266111B2 (ja) 2015-08-18 2015-12-17 使用権限取得方法及び装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510509391.4A CN105101339A (zh) 2015-08-18 2015-08-18 使用权限获取方法和装置
CN201510509391.4 2015-08-18

Publications (1)

Publication Number Publication Date
WO2017028426A1 true WO2017028426A1 (zh) 2017-02-23

Family

ID=54580620

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/097765 WO2017028426A1 (zh) 2015-08-18 2015-12-17 使用权限获取方法和装置

Country Status (8)

Country Link
US (1) US20170055150A1 (zh)
EP (1) EP3133851B1 (zh)
JP (1) JP6266111B2 (zh)
KR (1) KR101895743B1 (zh)
CN (1) CN105101339A (zh)
MX (1) MX2017006550A (zh)
RU (1) RU2674328C2 (zh)
WO (1) WO2017028426A1 (zh)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101339A (zh) * 2015-08-18 2015-11-25 小米科技有限责任公司 使用权限获取方法和装置
US9961531B2 (en) * 2015-10-02 2018-05-01 Lg Electronics Inc. Method and device for controlling device using bluetooth in wireless communication system
CN105682181B (zh) * 2016-03-16 2019-04-05 青岛海信移动通信技术股份有限公司 一种接入局域网的方法、网关设备和用户设备
CN105682173A (zh) * 2016-03-16 2016-06-15 青岛海信移动通信技术股份有限公司 一种接入网络的方法和设备
CN106028264B (zh) * 2016-05-20 2019-05-03 珠海市杰理科技股份有限公司 电子设备蓝牙配对方法和***
CN108616850B (zh) * 2016-12-16 2021-11-26 美的智慧家居科技有限公司 一种电器的路由信息的获取方法及装置
KR102661628B1 (ko) 2018-09-13 2024-05-02 삼성전자주식회사 IoT 기기 제어 서비스를 제공하는 전자 장치 및 그 제어 방법
JP7209144B2 (ja) 2018-09-18 2023-01-20 パナソニックIpマネジメント株式会社 制御方法、プログラム
CN109700170B (zh) * 2018-12-28 2021-06-04 北京小米移动软件有限公司 刷牙数据报告生成的方法、***、电子设备及存储介质
CN109828819A (zh) * 2019-02-16 2019-05-31 深圳市技达信息技术有限公司 绑定远程显示客户端和远程显示服务端的方法
WO2020241948A1 (ko) * 2019-05-31 2020-12-03 엘지전자 주식회사 신체 영역 네트워크 기반 인증 시스템 및 그 방법
CN110290526B (zh) * 2019-06-26 2023-10-24 北京小米移动软件有限公司 一种数据访问方法、装置及介质
JP2020048186A (ja) * 2019-07-10 2020-03-26 パナソニックIpマネジメント株式会社 制御方法、プログラム
CN112235169A (zh) * 2019-07-15 2021-01-15 广东美的制冷设备有限公司 权限管理方法及***、终端、家电设备和计算机装置
CN110611905B (zh) * 2019-08-09 2023-11-21 华为技术有限公司 信息共享方法、终端设备、存储介质及计算机程序产品
CN111885570B (zh) * 2020-07-15 2022-11-08 哲库科技(北京)有限公司 一种网络接入方法、电子设备及存储介质
CN112716760A (zh) * 2020-12-22 2021-04-30 未来穿戴技术有限公司 按摩仪的连接方法及按摩仪、终端设备
CN113873485B (zh) * 2021-09-22 2024-04-23 联想(北京)有限公司 通信方法及通信***

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120110640A1 (en) * 2010-11-02 2012-05-03 Donelson Loren J Method, apparatus and system for wireless network authentication through social networking
CN103987033A (zh) * 2014-04-23 2014-08-13 微梦创科网络科技(中国)有限公司 设备连接Wi-Fi网络的方法、设备及***
CN104270744A (zh) * 2014-09-28 2015-01-07 杭州雄迈信息技术有限公司 无线网络的快速配置***及方法
CN104768143A (zh) * 2014-01-02 2015-07-08 海尔集团公司 一种发送Wi-Fi配置信息的方法及终端
CN104796888A (zh) * 2015-03-19 2015-07-22 北京宇音天下科技有限公司 基于声波的智能硬件终端连接wi-fi网络的方法及实现所述方法的***
CN105101339A (zh) * 2015-08-18 2015-11-25 小米科技有限责任公司 使用权限获取方法和装置
CN204887029U (zh) * 2015-08-31 2015-12-16 新余学院 一种新型wifi芯片连接路由器的配置***

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2405622B1 (en) * 2010-07-08 2014-05-14 Mobile Imaging in Sweden AB Device communication
US20120052802A1 (en) * 2010-08-24 2012-03-01 Nokia Corporation Advertisement of an existing wireless connection
US8831568B2 (en) * 2011-09-27 2014-09-09 Qualcomm Incorporated Automatic configuration of a wireless device
KR101813020B1 (ko) * 2011-10-31 2017-12-29 삼성전자주식회사 무선 네트워크에서 접속을 구성하기 위한 장치 및 방법
JP5541543B2 (ja) * 2012-05-28 2014-07-09 Necアクセステクニカ株式会社 無線通信システム、無線通信装置、無線通信設定方法及び無線通信設定プログラム
US10257705B2 (en) * 2013-06-10 2019-04-09 Apple Inc. Configuring wireless accessory devices
KR102164801B1 (ko) * 2014-03-21 2020-10-13 삼성전자주식회사 액세스 포인트 연결 시스템, 방법 및 장치
CN104159218B (zh) * 2014-07-17 2016-04-06 小米科技有限责任公司 网络连接建立方法和装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120110640A1 (en) * 2010-11-02 2012-05-03 Donelson Loren J Method, apparatus and system for wireless network authentication through social networking
CN104768143A (zh) * 2014-01-02 2015-07-08 海尔集团公司 一种发送Wi-Fi配置信息的方法及终端
CN103987033A (zh) * 2014-04-23 2014-08-13 微梦创科网络科技(中国)有限公司 设备连接Wi-Fi网络的方法、设备及***
CN104270744A (zh) * 2014-09-28 2015-01-07 杭州雄迈信息技术有限公司 无线网络的快速配置***及方法
CN104796888A (zh) * 2015-03-19 2015-07-22 北京宇音天下科技有限公司 基于声波的智能硬件终端连接wi-fi网络的方法及实现所述方法的***
CN105101339A (zh) * 2015-08-18 2015-11-25 小米科技有限责任公司 使用权限获取方法和装置
CN204887029U (zh) * 2015-08-31 2015-12-16 新余学院 一种新型wifi芯片连接路由器的配置***

Also Published As

Publication number Publication date
US20170055150A1 (en) 2017-02-23
MX2017006550A (es) 2017-08-09
RU2017102665A3 (zh) 2018-07-31
KR20170117554A (ko) 2017-10-23
KR101895743B1 (ko) 2018-10-04
CN105101339A (zh) 2015-11-25
JP2017528928A (ja) 2017-09-28
RU2674328C2 (ru) 2018-12-06
JP6266111B2 (ja) 2018-01-24
EP3133851A1 (en) 2017-02-22
RU2017102665A (ru) 2018-07-31
EP3133851B1 (en) 2021-09-01

Similar Documents

Publication Publication Date Title
WO2017028426A1 (zh) 使用权限获取方法和装置
JP6220993B2 (ja) スマート・ハードウェアデバイスの制御方法、装置、プログラム及び記録媒体
US10007354B2 (en) Method and apparatus for controlling smart device
US9769667B2 (en) Methods for controlling smart device
EP3136793B1 (en) Method and apparatus for awakening electronic device
US20160295625A1 (en) Method and apparatus for network access
CN104765990B (zh) 智能设备管理账户的设置方法及装置
WO2016095448A1 (zh) 设备联网方法及装置
EP3054717A1 (en) Methods and apparatuses for binding with device
CN105516183B (zh) 设备连接方法及装置
EP3163803B1 (en) Method and device for establishing connection
US10027549B2 (en) Method and apparatus for displaying router setup interface
CN104869612A (zh) 接入网络的方法及装置
CN105094732A (zh) 屏幕显示方法及装置
CN106507437B (zh) 智能设备联网方法和装置
WO2016015403A1 (zh) 一种接入wi-fi网络的方法及装置
WO2016155231A1 (zh) 网络接入方法及装置
CN104184668A (zh) 物联网的联网方法、装置、路由器、以及第三方设备
US20170171794A1 (en) Method and apparatus for acquiring routing information
WO2016155304A1 (zh) 无线访问接入点的控制方法及装置
WO2017008400A1 (zh) 控制智能设备的方法及装置
CN105120505A (zh) 智能设备接入路由器的方法、装置以及***
CN104618783A (zh) 遥控方法及装置
CN106292316B (zh) 工作模式切换方法和装置
CN111277984A (zh) 无线局域网接入方法及装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016536212

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017102665

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15901628

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: MX/A/2017/006550

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 20177025984

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15901628

Country of ref document: EP

Kind code of ref document: A1