# Patent

## Title
Device activation method and system

## Abstract

A method of activating a first device is disclosed. The method includes: the first device pairing with a second device; receiving a connection request from a second device; connecting to the second device; opening a communication channel to the second device; transmitting an activation package to the second device; receiving an activation payload from the second device; and performing an activation using information from the activation payload.

## Background
FIELD
This relates generally to methods and systems for activating a device, and more particularly, to using a second device to activate a first device.
BACKGROUND
A new (or freshly-restored) electronic device usually needs to be activated before it can be used. The activation process can typically involve, for example, initializing some basic settings (e.g., date/time, language), security (e.g., username, password), and/or other system and network settings (e.g., phone number, network account) associated with the device. Some devices (e.g., smartphones) require a network connection for at least part of the activation process to, for example, register with and receive confirmation from a network server and/or download data from a network. However, the activation process can be a challenge for devices restricted by their limited network capabilities and other limitations.
SUMMARY
This generally relates to activating an electronic device using another electronic device. In the embodiments discussed below, the device being activated can be referred to as the first device and the device assisting with the activation of the first device can be referred to as the second device. The first device can have limited network capability and/or restricted by its form factor, which can make it difficult for it to perform a self-activation. The first device can be paired with the second device. A secure channel can be established between the paired devices to allow the first device to pass data to the second device. The second device can, in turn, serve as a proxy to make the activation request on behalf of the first device and return the necessary information to the first device to complete the activation process.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram illustrating an exemplary network including a first device and a second device, according to an embodiment of the disclosure.
FIG. 2 is a flowchart illustrating exemplary steps of activating a first device using a second device as a proxy, according to an embodiment of the disclosure.
FIG. 3 is a block diagram illustrating the exemplary modules of a first device, according to an embodiment of the disclosure.
FIG. 4 is a block diagram illustrating the exemplary modules of a second device, according to an embodiment of the disclosure.
FIG. 5 is a block diagram illustrating the exemplary modules of the network server, according to an embodiment of the disclosure.
FIG. 6 illustrates exemplary components of a computing system such as the first device or second device described in the embodiments of the disclosure.



DETAILED DESCRIPTION
In the following description of example embodiments, reference is made to the accompanying drawings in which it is shown by way of illustration specific embodiments that can be practiced. It is to be understood that other embodiments can be used and structural changes can be made without departing from the scope of the various embodiments.
This generally relates to activating an electronic device using another electronic device. In the embodiments discussed below, the device being activated can be referred to as the first device and the device assisting with the activation of the first device can be referred to as the second device. The first device can have limited network capability and/or restricted by its form factor, which can make it difficult for it to perform a self-activation. The first device can be paired with the second device. A secure channel can be established between the paired devices to allow the first device to pass data to the second device. The second device can, in turn, serve as a proxy to make the activation request on behalf of the first device and return the necessary information to the first device to complete the activation process.
FIG. 1 illustrates an exemplary network including the first and second devices 100, 102. The first device 100 can be any electronic device including, but not limited to, a tablet PC, smartphone, cellular phone, digital media player, electronic reader, electronic wearable device, smart TV, video game console, a personal computer (PC), and Mac. In some embodiments, the first device 100 can have limited network capability, at least before it is activated. For example, the first device 100 may not be able to connect to a cellular or Wi-Fi network and can be limited to having only short distance wireless connections such as a Bluetooth connection. The cellular or Wi-Fi capabilities can be unavailable before the activation process is completed. Additionally or alternatively, in some embodiments, the first device 100 can be limited by its form factor. For example, the first device 100 may not include a virtual or physical keypad that allows a user to enter input such as a Wi-Fi password to establish a Wi-Fi connection. As such, the first device 100 may not be able to perform one or more steps of the activation process (e.g., a step that requires a Wi-Fi connection to a network server) on its own.
In the embodiments described below, the first device 100 can use the second device 102 as its proxy to solve this problem. More specifically, the second device 102 can perform a number of steps including, for example, making the activation request to a network server 104 on behalf of the first device 100 and forwarding a confirmation and other information from the network server 104 to the first device 100.
The second device 102 can also be any electronic device including, but not limited to, a tablet PC, smartphone, cellular phone, digital media player, electronic reader, electronic wearable device, smart TV, video game console, a personal computer (PC), and Mac. Preferably, unlike the first device 100, the second device 102 can be network enabled to connect to, for example, a Wi-Fi or cellular network to communicate with other devices (e.g., network server 104) on the same network. Accordingly, the second device 102 can perform its own activation without assistance from another device. The second device 102 can additionally have short distance network capability such as Bluetooth that allows it to communicate with the first device 100, as will be detailed below. In addition, the second device can include common I/O devices such as a camera, scanner, microphone, and/or display for interfacing with a user and/or another device.
Referring back to FIG. 1, the second device can be connected to a network server 104 via a network. The network can be any type of computer network including, but not limited to, a local area network (LAN), wide area network (WAN), the Internet, Wi-Fi network, and cellular network. The network server 104 can be a cloud server or any other types of computer servers. In this embodiment, the first device may not be able to connect to the network server 104 directly when it has not been activated yet.
FIG. 2 is a flowchart illustrating the exemplary steps in a method of activating the first device 100, according to an embodiment of the disclosure. In this embodiment, the second device 102 can serve as a proxy for the first device 100 by passing the required information back and forth between the first device 100 and the network server 104.
As illustrated in FIG. 2, the activation process can start by powering up the first device (step 201). In one embodiment, a welcome screen can be shown followed by one or more screens that allow one or more local setup steps (e.g., selecting a language) to be performed (step 202). If the first device is a wearable device, the first device can determine if it is being worn by the user. This can be done using one or more sensors (e.g., a touch, proximity sensor, a heart rate sensor, or other biological sensor) built in the first device. If it is determined that the first device is not being worn by the user, the first device can display a message asking the user to put on the device to continue the activation process (step 203). This step can be optional if the device is already being worn by the user or if the device is not a wearable device. In some embodiments, this step can be optional regardless of whether the device is a wearable device or not.
In this embodiment, because of its limited network capability, the first device may not be able to connect to the network directly. Accordingly, the first device can be required to connect to a proxy device such as the second device to continue the activation process.
For example, the first device can launch an application (e.g., a mobile app) to display a computer-readable code (e.g., a Quick Response (QR) code or bar code) on its display (step 204). Specific examples of computer-readable code are disclosed in U.S. patent application Ser. No. 14/339,754, which is hereby incorporated by reference in its entirely. In some implementations, the computer readable code is not visible or is difficult to be seen by the human eye. The computer-readable code can encode information that can be used in the activation process. For example, the computer-readable code can include a device ID for identifying the first device to another device (e.g., the second device). In addition, the computer-readable code can include a Bluetooth out-of-band ID (or other similar information) for establishing a communication channel between the first device and the second device.
In this embodiment, when the computer-readable code is displayed on the first device, the first device can start advertising itself to other devices using, for example, the Bluetooth LE standard advertising protocol (step 205). The first device can remain in this state until a response from another device (e.g., the second device) is received. Alternatively, the advertising can end after a predetermined period of time.
To initiate the pairing process, the second device can, for example, scan the computer-readable code displayed on the first device (step 206). In one embodiment, a code-scanning app can be launched on the second device. The app can turn on the camera on the second device and use the camera to scan the code (e.g., a QR code) displayed on the first device. The second device can then use the app to extract the information such as the device ID and the Bluetooth out-of-band key from the code (step 207).
In other embodiments, different mechanisms can be used to pass the same information from the first device to the second device. For example, in one embodiment, the information can be encoded in, for example, an audio clip, that can be captured by a microphone on the second device. In another embodiment, a user can tap the two devices together to transfer the information. It should be understood that the disclosure is not limited to the mechanisms mentioned in this document and that any suitable means can be used for passing information between the two devices in order to pair the devices.
In one embodiment, the pairing process can include the first and second devices performing a “handshake” to make sure that the devices are connectible. Once it is determined that they can connect, the devices can be connected using, for example, the Bluetooth out-of-band key (e.g., a 16-byte key) extracted from the computer-readable code. The key can define the first device as a re-connectable device to the second device and be plugged in on both devices to pair the devices. If successful, a Bluetooth secure channel can be brought up (step 208). With the secure channel in place, the devices can verify if their identity services (IDS) are running normally (step 209). The IDS can include a queue for storing forward messages between the two devices and, thus, be used as a messaging system for facilitating communications between the first and second devices. Part of bringing up the IDS can also include checking whether both devices are valid to make sure that not only that there can be a secure connection between them, but that the devices themselves are trusted devices. In one embodiment, a device can be deemed a trusted device if it runs the same OS or is on the same platform with respect to the other device.
After the second device determines that the pairing with the first device is successful and the devices are connected for data, the second device can notify the first device to activate using the IDS channel that has been brought up (step 210). This communication can be transmitted via the secure channel within the IDS. Although a secure channel within IDS is described as the communication channel between the two devices in this embodiment, it should be understood that other suitable communication channels/services can also be used for performing the same tasks.
Then, the first device can put together a package of activation data, which can include, for example, the device type, serial number, and unique ID associated with the first device along with a network address such as a uniform resource locator (URL) that identifies the location of a network server. The first device can send the package to the second device via the secure channel (step 212). After receiving the activation package from the first device, the second device can connect to the network server based on the network address and perform a proxy activation at the network server (step 213). The network server can, in turn, send an activation payload back to the second device (step 214). The activation payload can include, for example, a confirmation that the first device is a valid device, updates for the first device's regulatory images, and one or more keys for digital rights management (DRM) security. The second device can pass this activation payload to the first device via the secured channel within the IDS (step 215). Using the information in the activation payload, the first device can complete the activation by, for example, updating its regulatory images, setting up its DRM security, and performing other necessary steps to put itself in an activated state. The first device can then notify the second device whether the activation is successful (step 216). If the activation is successful, the process is finished. If not, the first device can request the second device to display a message to inform the user that the activation has failed and provide an option for the user to try activating the first device again.
Because IDS can also be used by a messaging service on the devices, they can also leverage a high-level user account (e.g., an Apple ID) associated with the first device to provide additional and/or more advanced features on the first device. In one embodiment, the first device can receive a temporary account to identify itself when it is paired with the second device. Thereafter, the first device can ask the user to authorize the device using his high-level user account (e.g., Apple ID). When authorization is done, additional processes such as software opt-ins and data synchronization (e.g., copying or moving data from the second device and/or another remote location, e.g., a cloud storage, to the first device) can be performed. Additionally or alternatively, with the upgraded account, the first device can have direct Wi-Fi access and/or connect to a cloud server by using a push token associated with the account. Additionally or alternatively, storage space for the first device can be allocated on the second device or a remote server for backing up and storing data from the first device. The secure channel within the IDS can be preserved after the pairing stage to facilitate further communications between the two devices.
Although embodiment of FIG. 2 illustrates using one device (e.g., the second device) to activate another device (e.g., the first device), it should be understood that any suitable device within Bluetooth range of the first device can be used to activate the first device.
FIG. 3 is a block diagram illustrating the exemplary modules of the first device 100 of FIG. 1. The first device 100 can include, for example, a prompting module 301, display module 302, advertising module 303, connecting module 304, activation package creating module 305, transmitting module 306, receiving module 307, and notifying module 308. The prompting module 301 can prompt the user to wear the first device. Additionally or alternatively, the prompting module 301 can prompt the user to select some of the local settings (e.g., language) of the first device 100. The display module 301 can display a computer-readable code such as a QR code to be used for pairing the first device with another device. The advertising module 302 can advertise the first device to other devices in its vicinity (e.g., within the Bluetooth connection radius). The connecting module 303 can establish a connection (e.g., a secure channel within IDS) between the first device and the second device. The activation package creating module 304 can create an activation package including information that can be used by the second device to perform a proxy activation. The transmitting module 305 can transmit the activation package to the second device. The receiving module 306 can receive an activation payload from the second device. The notifying module 307 can notify the second device whether the activation process is a success. It should be understood that some of the modules illustrated in FIG. 3 can be optional and the first device 100 can include other modules not illustrated in FIG. 3.
FIG. 4 is a block diagram illustrating the exemplary modules of the second device 102 of FIG. 1. The second device 102 can include, for example, a scanning module 401, extracting module 402, connecting module 403, notifying module 404, proxy activation module 405, and activation payload forwarding module 406. The scanning module 401 can scan the computer-readable code displayed on a device being activated (e.g., the first device). The extracting module 402 can extract information from the scanned computer-readable code. The connecting module 403 can establish a communication channel with the first device using information extracted from the scanned computer-readable code. The notifying module 404 can notify the first device (e.g., the first device) that a communication channel has been established for transmitting information required to complete the activation of the first device. The proxy activating module 405 can perform a proxy activation at a network server in response to a request from the first device. The activation payload forward module 406 can forward an activation payload received from the network server to the first device. It should be understood that some of the modules illustrated in FIG. 4 can be optional and the second device 102 can include other modules not illustrated in FIG. 4.
FIG. 5 is a block diagram illustrating the exemplary modules of the network server 104 of FIG. 1. The network server 104 can include a receiving module 501 configured to receive an activation request from a device on the network. The device can be a device to be activated or a device (e.g., the second device 102) serving as a proxy to the device (e.g., the first device 100) being activated. The network server 104 can also include an activation payload generating module 502 that can generate an activation payload to be used in activating a device and a transmitting module 503 that can transmit the activation payload to either the device being activated or the device serving as a proxy to the device being activated.
Each of the modules of FIGS. 3-5 can be implemented in software, hardware, or a combination of the two. In some embodiments, one or more of the modules of the first device 100, second device 102, and network server 104 can be implemented in software and stored and/or transported within any non-transitory computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. In the context of this document, a “non-transitory computer-readable storage medium” can be any medium that can contain or store the program for use by or in connection with the instruction execution system, apparatus, or device. The non-transitory computer readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, a portable computer diskette (magnetic), a random access memory (RAM) (magnetic), a read-only memory (ROM) (magnetic), an erasable programmable read-only memory (EPROM) (magnetic), a portable optical disc such a CD, CD-R, CD-RW, DVD, DVD-R, or DVD-RW, or flash memory such as compact flash cards, secured digital cards, USB memory devices, memory sticks, and the like.
The non-transitory computer readable storage medium can be part of a computing system that can be the first device, second device, or network server in the above-described embodiments. FIG. 6 illustrates exemplary common components of one such computing system. As illustrated, the system 600 can include a central processing unit (CPU) 602, I/O components 604 including, but not limited to one or more of display, keypad, touch screen, speaker, and microphone, storage medium 606 such as the ones listed in the last paragraph, and network interface 608, all of which can be connected to each other via a system bus 610. The storage medium 606 can include the modules of FIGS. 3-5 depending on whether the system is the first device 100, second device 102, or network server 104.
Although embodiments have been fully described with reference to the accompanying drawings, it is to be noted that various changes and modifications will become apparent to those skilled in the art. Such changes and modifications are to be understood as being included within the scope of the various embodiments as defined by the appended claims.

## Claims

1. A method of activating a first device comprising: the first device
pairing with a second device;
receiving a connection request from the second device;
connecting to the second device;
opening a communication channel to the second device;
transmitting an activation package to the second device, the activation package comprising first information for validating the first device to a server;
receiving an activation payload from the second device, the activation payload comprising second information for activating the first device; and
performing an activation using the second information from the activation payload.

2. The method of claim 1, wherein pairing with the second device comprises generating and displaying a computer-readable code.

3. The method of claim 2, further comprising:
prompting a user to wear the first device before displaying the computer-readable code.

4. The method of claim 2, wherein the computer-readable code comprises a Quick Response (QR) code or a bar code.

5. The method of claim 2, wherein the computer-readable code comprises a key for establishing a secure communication channel.

6. The method of claim 2, wherein the computer-readable code comprises a device ID associated with the first device.

7. The method of claim 2, wherein connecting to the second device uses third information embedded in the computer-readable code to determine whether the first device and the second device are connectable.

8. The method of claim 2, further comprising the first device advertising itself for connecting to another device using a short distance network protocol when the computer-readable code is displayed.

9. The method of claim 1, wherein the communication channel comprises a messaging system configured for transmitting messages between the first device and the second device.

10. The method of claim 1, further comprising notifying the second device regarding whether the activation is successful or not.

11. The method of claim 1, wherein opening the communication channel with the second device comprises determining whether the second device is a trusted device.

12. A first device comprising:
a pairing module configured for pairing the first device with a second device;
a connecting module configured for connecting to the second device;
an activation package creating module configured for creating an activation package;
a transmitting module configured for transmitting the activation package to the second device, the activation package comprising information for validating the first device to a server;
a receiving module configured for receiving an activation payload from the second device, the activation payload comprising information for activating the first device;
a notifying module configured for notifying the second device regarding whether the first device is successfully activated; and
a non-transitory computer-readable storage medium including the pairing module, the connecting module, the activation package creating module, the transmitting module, the receiving module, and the notifying module.

13. The first device of claim 12, the non-transitory computer-readable storage medium further comprising a prompting module configured for prompting a user to wear the first device.

14. The first device of claim 12, the non-transitory computer-readable storage medium further comprising an advertising module configured for advertising the first device for connecting to another device.

15. The first device of claim 12, the non-transitory computer-readable storage medium further comprising a determining module configured for determining whether the second device is a trusted device.

16. The first device of claim 12, wherein the pairing module further comprises a displaying module configured for displaying a computer-readable code.

17. The first device of claim 16, wherein the computer-readable code comprises a key for establishing a secure communication channel.

18. The first device of claim 16, wherein the computer-readable code comprises a Quick Response (QR) code or a bar code.

19. A method of activating a first device by a second device, comprising the second device:
pairing with the first device;
establishing a communication channel with the first device;
receiving an activation package from the first device through the communication channel, the activation package comprising information for validating the first device to a server;
performing a proxy activation for the server using the activation package; and
forwarding an activation payload to the first device, the activation payload comprising information required to activate the first device.

20. The method of claim 19, further comprising:
determining whether the first device is a trusted device.

21. The method of claim 19, further comprising:
receiving a notification from the first device regarding whether the first device has been activated successfully.

22. The method of claim 19, further comprising:
capturing a computer-readable code from the first device; and
extracting information from the computer-readable code.

23. The method of claim 22, wherein the extracted information comprises a device ID associated with the first device.

24. The method of claim 19, wherein the activation package comprises at least one of: a device type, serial number, and unique ID associated with the first device.

25. The method of claim 19, wherein the activation payload comprises at least one of: a confirmation that the first device is a valid device, an update for device regulatory images, and a key for digital rights management security.

26. The method of claim 19, wherein the activation package comprises a URL request associated with a network server.

27. A second device comprising:
a connecting module configured for pairing the second device with a first device and establishing a communication channel with the first device;
a receiving module configured for receiving an activation package from the first device through the communication channel, the activation package comprising information for validating the first device to a server;
a proxy activation module configured for performing a proxy activation for the server using the activation package;
an activation payload forwarding module configured for forwarding an activation payload to the first device, the activation payload comprising information required to activate the first device; and
a non-transitory computer-readable storage medium including the connecting module, the receiving module, the proxy activation package creating module, and the activation payload forwarding module.

28. The second device of claim 27, the non-transitory computer-readable storage medium further comprising a determining module configured for determining whether the first device is a trusted device.

29. The second device of claim 27, the non-transitory computer-readable storage medium further comprising a notifying module configured for notifying the first device to initiate an activation process.

30. The second device of claim 27, the non-transitory computer-readable storage medium further comprising:
a scanning module configured for capturing a computer-readable code from the first device; and
an extracting module configured for extracting information from the computer-readable code.

31. A non-transitory computer-readable storage medium of a first device storing instructions, which, when executed by a processor, perform a method comprising:
pairing with a second device;
receiving a connection request from the second device;
connecting to the second device;
opening a communication channel with the second device;
transmitting an activation package to the second device, the activation package comprising first information for validating the first device to a server;
receiving an activation payload from the second device, the activation payload comprising second information for activating the first device; and
performing an activation using the second information from the activation payload.

32. A non-transitory computer-readable storage medium of a second device storing instructions, which, when executed by a processor, perform a method comprising:
pairing with a first device;
establishing a communication channel with the first device;
receiving an activation package from the first device through the communication channel, the activation package comprising information for validating the first device to a server;
performing a proxy activation for the server using the activation package; and
forwarding an activation payload to the first device, the activation payload comprising information required to activating the first device.