Automatically paired devices

By storing public and private keys in the accessory and generating encrypted messages, automatic wireless pairing of the host device and the accessory is achieved, solving the problem of a complex and time-consuming pairing process, improving user experience and enhancing security.

CN113647124BActive Publication Date: 2024-08-23GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980094912.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-04-22
Filing Date
2019-11-21
Publication Date
2024-08-23
Estimated Expiration
2039-11-21

AI Technical Summary

Technical Problem

In the existing technology, the pairing process of the host device and the accessory is complex and time-consuming, which increases the possibility of pairing failure and has a negative impact on the user experience.

Method used

By storing public and private keys in the accessory and using those keys to generate encrypted messages, the host device can automatically pair with the accessory wirelessly over short distances, enabling automatic connection without user input.

Benefits of technology

It simplifies the pairing process, improves the user experience, and enhances the security of accessories and host devices through encrypted channels, reducing the risk of attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113647124B_ABST
    Figure CN113647124B_ABST
Patent Text Reader

Abstract

A system and method for automatically connecting an accessory to a host device is disclosed. The accessory may include a private key and a public key, wherein the public key is associated with an account. The same account may be associated with the host device. The accessory may transmit an encrypted message including a secret key to the host device, wherein the secret key may be the public key. After the secret key is decrypted and verified, the accessory and the host device may automatically connect via short-range wireless pairing.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is a continuation of U.S. patent application No. 16 / 390,174 filed on April 22, 2019, the disclosure of which is incorporated herein by reference in its entirety. Background Art

[0003] Accessories that are compatible with a host device such as a mobile phone can be connected via a wired or short-range wireless pairing. For example, some types of wireless headphones can connect to a mobile phone via Bluetooth. In some cases, the host device and the accessory can be obtained from the same entity, for example, a user can create an account with a mobile phone provider and obtain a phone and a wireless headset from the provider.

[0004] In order to establish a cryptographically secure communication channel between the host device and the accessory that is resistant to attack, the user may be asked to pair the accessory with the device. The user may find the pairing process cumbersome. For example, in order to pair a headset with a mobile phone, the user may be required to navigate through various screens to find and start the Bluetooth pairing function in the phone's settings, find the correct button (or combination of buttons) to press on the accessory to start its Bluetooth pairing function, select the headset when it is displayed on the phone screen, and potentially press additional buttons on the phone or headset to confirm that pairing should be performed. If the accessory has a screen, the user may be further prompted to confirm that the alphanumeric code displayed on the accessory matches the alphanumeric code displayed on the host device. In addition to having a potential negative impact on the user's unboxing experience (OOBE), the complex and time-consuming pairing process also increases the likelihood that the process will fail. Summary of the invention

[0005] The present disclosure provides for automated connection of devices, such as between an accessory and a host device.

[0006] One aspect of the present disclosure provides an accessory having a short-range wireless antenna, a memory configured to store a public key and a private key, and one or more processors coupled to the memory and configured to transmit an encrypted message to a host device. The public key can be associated with the accessory and an account. The host device can also be associated with the account. The accessory and the host device can automatically connect via short-range wireless pairing.

[0007] The public key can be associated with the serial number of the accessory, and in some cases, the secret key within encrypted messages transmitted by the accessory can be the public key.

[0008] Upon receiving the encrypted message from the accessory, the host device can verify the key. Further, the host device and accessory can automatically connect without receiving user input, wherein the only user input that the accessory can receive is input to associate the accessory with the account prior to automatically connecting the accessory and the host device. When the accessory and host device automatically connect, a confirmation can be received from the host device that the accessory is associated with the account.

[0009] Another aspect of the present disclosure provides a method for an accessory to automatically connect to a host device. The method includes associating a public key and a private key with the accessory; associating the public key associated with the accessory with an account, wherein the account is also associated with the host device; transmitting, by the accessory, an encrypted message including a secret key, wherein the encrypted message is suitable for being decrypted by the host device; and automatically connecting to the host device via short-range wireless pairing by the accessory when the encrypted message is decrypted.

[0010] In some cases, the public and private keys may be associated with the accessory during purchase by the user. Alternatively, the public and private keys may be automatically associated with the accessory when the accessory is purchased via a website associated with the account. In yet another example, the public and private keys may be associated with the accessory after the user purchases it. For example, the public and private keys may be associated with the accessory using radio frequency identification. Alternatively, the public and private keys may be associated with the accessory using near field communication. The public key may be associated with the serial number of the accessory.

[0011] In some cases, the account may be identified by an email address of the user, and associating the public key with the account includes receiving the public key and the email address of the user.

[0012] In some cases, automatically connecting can include receiving a confirmation from the host device that the accessory is associated with the account.Further, according to some examples, the secret key included in the encrypted message can be the public key.

[0013] Another aspect of the present disclosure provides a method for automatically connecting a host device to an accessory. The method includes associating the host device with an account, wherein the account is also associated with an accessory having a public key and a private key; associating the public key of the accessory associated with the account with the host device via a network; receiving an encrypted message transmitted by the accessory using one or more processors of the host device; verifying the secret key in the encrypted message using the one or more processors of the host device; and connecting to the accessory via short-range wireless pairing.

[0014] In some cases, the host device can search for the public key using one or more processors of the host device. In some examples, the accessory can be a headset. Thus, according to some examples, the host device can provide an audio signal to the accessory after automatically connecting to the accessory. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 is a functional schematic diagram of an example system in accordance with aspects of the present disclosure.

[0016] Figure 2 is a functional diagram illustrating, by way of example, connections between a host device and an account and a server according to aspects of the present disclosure.

[0017] Figure 3 is a functional schematic diagram illustrating a method for connecting a host device and an accessory according to an example of aspects of the present disclosure.

[0018] Figure 4 is a functional schematic diagram further illustrating the connection between a host device, a server, and an accessory according to aspects of the present disclosure.

[0019] Figure 5 is a schematic diagram according to aspects of the present disclosure.

[0020] Figure 6 is a flow chart according to aspects of the present disclosure. DETAILED DESCRIPTION

[0021] Overview

[0022] The systems and methods described herein permit automatic connection of devices. For example, an accessory may include a short-range wireless network antenna, one or more processors, and a memory that stores private and public keys. The public key stored on the accessory and the host device to which the accessory is to be connected may be associated with the same account. For example, when the accessory is provided to the user, the public key may already be associated with the same account that the host device uses to connect to a cellular network or to send and receive emails. When the accessory is within range of the host device, the accessory can transmit an encrypted message including a secret key to the host device and automatically connect to the host device via short-range wireless pairing.

[0023] The account can be associated with the accessory's public key.The account that becomes associated with the accessory's public key can be the same account associated with the host device, and the public key can be shared with the host device.

[0024] When the host device and the accessory are within range of each other, the accessory can transmit an encrypted message. The host device can receive the encrypted message and verify its contents, which can include confirming that the accessory transmitting the encrypted message has the same public key associated with the account and is therefore authorized to be connected to the host device. Upon verification, the host device and the accessory can automatically connect so that they become paired via short-range wireless pairing.

[0025] By providing automatic connection, the user experience can be improved. For example, a new accessory can automatically connect to a host device without user input when the accessory is unboxed. In addition, a secure communication channel can be established between the accessory and the host device, thereby making the accessory and the host device less vulnerable to attack.

[0026] Example System

[0027] Figure 1 An example system 100 is illustrated in which the features described above can be implemented. It should not be considered to limit the scope of the present disclosure and the usefulness of the features described herein. In this example, system 100 can include accessory 110, host device 140, and server 115 connected via network 160. Accessory 110 can include one or more processors 118, antenna 120, and memory 112. The antenna can be, for example, a short-range wireless network antenna. Accessory 110 can be able to communicate with server 115 and host device 140 via network 160.

[0028] Memory 112 of accessory 110 can store information that can be accessed by processor 118. Memory 112 can also include data that can be retrieved, manipulated, or stored by processor 118. Memory 112 can be any non-transitory type capable of storing information that can be accessed by processor 118, including non-transitory computer-readable media, or other media that stores data that can be read with the aid of an electronic device, such as a hard disk, a memory card, a read-only memory (ROM), a random access memory (RAM), an optical disk, and other writable and readable memories.

[0029] The data stored in memory 112 of accessory 110 may include private key 114 and public key 116. Public key 116 may be a unique identifier associated with accessory 110. Private key 114 may be stored only in memory 112 of accessory 110 and may not be available elsewhere. In some examples, private key 114 and public key 116 may be created when the accessory is manufactured and stored on accessory 110. Public key 116 may be associated with a serial number of accessory 110, and the public key and its associated serial number may be provided to server 115. As such, server 115 may maintain a database (not shown) that pairs the serial number of the accessory with public key 116 and private key 114.

[0030] Alternatively, public key 116 and private key 114 may be associated with the accessory during the shipping process. For example, a box containing accessory 110 may be passed through a machine that utilizes radio frequency identification (RFID) or near field communication (NFC) to associate the public and private keys with accessory 110. After associating the public and private keys via RFID or NFC and storing the public and private keys in its memory, accessory 110 may be shipped.

[0031] In another alternative, public key 116 and private key 114 may be associated with accessory 110 where accessory 110 is distributed, such as at a retail store or a warehouse from which the accessory is shipped by an online retail store. In this case, the distributor may unpack the sealed accessory 110, program the accessory 110 with public key 116 and private key 114, and then repackage the accessory 110. In yet another alternative, public key 116 and private key 114 may be associated with accessory 110 by a supplier or provider different from the supplier or provider of the account, who collaborates with the supplier or provider of account 130 so that the public key may be shared with the account.

[0032] The one or more processors 118 may include any conventional processor, such as a commercially available CPU or microprocessor. Alternatively, the processor can be a dedicated component such as an ASIC or other hardware-based processor. Although not necessarily, the accessory 110 may include specialized hardware components to perform specific computing functions faster or more efficiently. The one or more processors 118 may be configured to transmit encrypted messages.

[0033] Although Figure 1 While the processor, memory, and other elements of accessory 110 are functionally illustrated as being in the same respective boxes, it will be understood by those skilled in the art that the processor or memory may actually include multiple processors or memories that may be stored in the same physical housing. Similarly, the memory may be a hard disk or other storage medium located in a housing different from that of accessory 110. Thus, references to a processor or computing device will be understood to be to a collection of processors or computing devices or memories that may operate in parallel.

[0034] Accessory 110 can be various nodes of network 160 and can communicate directly or indirectly with other nodes of network 160. Figure 1Only a single accessory is depicted in the figure, but it should be appreciated that a typical system may include one or more accessories, each of which is at a different node of the network 160. The network 160 described herein and the nodes therebetween can be interconnected using various protocols and systems, so that the network can be part of the Internet, the World Wide Web, a specific corporate intranet, a wide area network, or a local network. The network 160 can utilize one or more company-owned standard communication protocols, such as WiFi. Although as mentioned above, certain advantages are obtained when information is transmitted or received, other aspects of the subject matter described herein are not limited to any particular transmission method.

[0035] Host device 140 can be configured similarly to accessory 110, as described above, with one or more processors 142 and memory 148. Memory 148 can store information accessible by processor 142, including instructions 146 executable by processor 142 and data 144.

[0036] Data 144 may be retrieved, stored, or modified by processor 142 in accordance with instructions 146. For example, although the present disclosure is not limited to a particular data structure, data 144 may be stored in a relational database as a table, XML document, or flat file having a plurality of different fields and records. Data 144 may also be formatted in a computer-readable format, such as, but not limited to, binary values, ASCII, or Unicode. For further example only, data 144 may include information sufficient to identify relevant information, such as numbers, descriptive text, proprietary codes, pointers, references to data stored in other memories (including other network locations), or information used by functions to calculate relevant data. According to one example, data 144 may include a certificate associated with account 130, thereby associating host device 140 with account 130. Data 144 may also include public key 135.

[0037] Instructions 146 can be any set of instructions to be executed directly by processor 142, such as machine code, or indirectly, such as a script. In this regard, the terms "instructions," "applications," "steps," and "programs" can be used interchangeably herein. Instructions can be stored in an object code format for direct processing by a processor, or in any other computing device language, including scripts or collections of independent source code modules that are interpreted on demand or compiled in advance. The functions, methods, and routines of instructions are explained in more detail below.

[0038] Host device 140 may further include antenna 150. For example, antenna 150 may be a short-range wireless network antenna. Host device 140 may be able to communicate with account 130 and server 115 via network 160.

[0039] The host device 140 may be a mobile computing device capable of wirelessly exchanging data over the network 160. By way of example only, the host device 140 may be a mobile phone or a device such as a smart phone, tablet PC, or netbook capable of obtaining information via the Internet. In another example, the host device 140 may be a head-mounted computing system. Alternatively, the host device 140 may be a personal computing device intended for use by the user 125 and having all components normally used in conjunction with a personal computing device, such as a central processing unit (CPU), a display (e.g., a monitor with a screen, a touch screen, a projector, a television, or other device capable of being operated to display information), and an input device for the user 125 (e.g., a mouse, keyboard, touch screen, or microphone). Although Figure 1 Only a single host device is depicted in FIG. 1 , but it should be appreciated that a typical system may include one or more host devices, each of which acts as a different node of network 160 .

[0040] Host device 140 can be associated with account 130. For example, data 144 stored on host device 140 can include a unique identifier that is used to access account information stored on server 115 via network 160. Account 130 can be used to obtain private and public keys of authorized or associated devices. For example, account 130 can be associated with a provider, such as a cellular phone service provider or an email hosting provider, such as Google. Alternatively, account 130 can be used to log into an electronic store or app store on host device 140.

[0041] Example Method

[0042] Figure 2 An example of a relationship that may exist among host device 140, server 115, accessory 110, and user 125 before the accessory and host device are connected is illustrated. In this example, user 125 visits a website, which for ease of illustration is hosted on the same server as account 130. User 125 may log into account 130, purchase accessory 110, and submit a request 180 to have the accessory shipped to the user's address.

[0043] The public key associated with the accessory can be associated with the account. For example, server 115 can store a copy of public key 116 or a reference to it in account 130 along with other information, thereby creating an association 182 between account 130 and accessory 110. This association can occur when user 125 purchases accessory 110. Alternatively, user 125 can purchase accessory 110 without using an account. User 125 can then associate public key 116 with account 130 by submitting a request to server 115. In another alternative, user 125 can visit a physical store to purchase accessory 110. The user can then associate public key 116 with account 130 at the time of purchase or later according to the method described above.

[0044] The public key can be associated with the host device associated with the account. For example, host device 140 can include instructions for requesting a public key that has been associated with account 130 or responding to a message from server 115 that the accessory's public key has been added to the account. In either case, host device 140 can receive the public key associated with account 130 and store it in data 144 as one of public keys 135, thereby creating an association 184 between account 130 and host device 140.

[0045] Figure 3 An example of information exchange between a host device and an accessory when they are within range of each other is illustrated. As an example, the host device 140 and the accessory 110 each have an antenna 150, 120, respectively, where the antenna 150, 120 can be a short-range wireless network antenna. For example, the antenna can be used to transmit and receive Bluetooth signals, RFID beacons. Therefore, there can be a maximum distance between the device 140 and the accessory 110 that allows the host device 140 and the accessory 110 to be within range of each other.

[0046] When a host device and an accessory are within range of each other, the host device or the accessory, or both, can detect the presence of the other. For example, host device 140 can determine whether a previously unknown accessory is within range by periodically checking whether an antenna has received a connection request, and if so, alert accessory 110 of its presence. Host device 140 can also transmit a connection request, and accessory 110 can alert host device 140 of its presence.

[0047] The accessory can transmit an encrypted message to be received by the host device. The encrypted message can be encrypted using a private key. According to one example, the encrypted message can be associated with a secret key. For example, the host device can recognize the format of the message as an opportunity to automatically pair with the accessory, and the host device can determine whether it is authorized to automatically connect with the accessory by searching for a matching secret key in the secret keys associated with the account.

[0048] The key may be, for example, a public key 116, a private key 114, a unique identification code, or any other form of identification that the host device receives from the account 130 for the purpose of pairing with an accessory that is also associated with the account. Figure 3 In the example shown, encrypted message 186 will be considered to include public key 116.

[0049] The host device can receive the encrypted message transmitted by the accessory. Upon receiving the encrypted message, host device 140 can decrypt the message. The message can be decrypted, for example, using the public key. For example, the host device can decrypt the message using a public key associated with the account and corresponding to the private key of the accessory.

[0050] Upon receiving the key from the accessory, the host device can determine whether the key matches the key of the accessory associated with the account. For example and as noted above, data 144 of host device 140 can store public key 116 of multiple public keys 135. Because message 186 from accessory 110 includes public key 116, and because multiple public keys 135 stored by host device 140 include a key with the same value as public key 116, host device 140 can verify the key, e.g., determine that it is authorized to automatically connect 188 with accessory 110.

[0051] In another example, the accessory can encrypt a message including a secret value using a private key. After the host device receives the encrypted message, the accessory can expect an echo of the value back from the host device. The returned echo can include a similarly encrypted message using a public key. This can, for example, indicate that the host device has a public key that matches the accessory's public key associated with the account.

[0052] Figure 4The relationship between the host device and the accessory is illustrated after the host device verifies the secret key associated with both the accessory and the account. For example, after the host device 140 verifies the secret key sent by the accessory 110, the host device 140 can automatically connect 190 to the accessory. For example, upon confirming that the public key 116 stored in the message 186 from the accessory 110 matches one of the public keys 135 stored on the host device 140 and associated with the account 130, the host device 140 can automatically connect to the accessory 110 (e.g., via Bluetooth pairing) without requiring intervention or confirmation from the user. As a further example, the host device 140 and the accessory 110 can automatically connect to each other and exchange data, rather than just creating (or maintaining) a connection themselves. In this regard, if the accessory is a pair of headphones and the host device is a phone, the headphones can receive audio signals sent from the phone. Alternatively, if the accessory is a game controller and the host device is a console, the console can accept game commands sent from the game controller.

[0053] The accessory may be powered on before the user receives it, in which case the accessory and host device may automatically connect without any user intervention other than bringing the accessory and host device within range of each other. Thus, instead of an otherwise cumbersome or complicated OOBE experience, the user may begin using the accessory for its intended purpose (e.g., as a headset) immediately after taking it out of the box. Alternatively, if accessory 110 is not powered on, user 125 may simply unbox and power on accessory 110 in order for it to automatically connect with host device 140.

[0054] To the extent that OOBE involves actions that are not specific to connecting a device, those aspects may be OOBE that is completed upon receipt of an accessory or upon purchase. Such OOBE actions may include, for example, reading and signing legal terms, entering user 125 data, confirming instructions for use, opting in or out of specific features, data collection, and the like. The vendor may provide the user 125 with the ability to customize features associated with the accessory at the time of sale. For example, if a user purchases an accessory in a physical store, the vendor may provide the user with access to a kiosk for the purpose of securely logging into their account and opting in or out of specific features. The accessory's secret key and the user's selections may then be associated with the account 130, and the host device 140 may retrieve the user's selections from the server 115 along with the accessory's secret key, and then operate in accordance with the user's selections. Thus, upon receiving the purchased accessory 110, the user 125 may have completed the OOBE and may begin using the accessory 110 immediately.

[0055] Figure 5The sequence of steps that may occur between account 130, accessory 110, and host device 140 is illustrated. For example, at block 510, the host device may be associated with account 130 stored on a server. According to one embodiment, host device 140 may be associated with account 130 when setting up host device 140. For example, when setting up host device 140, a user may be asked to enter an email address and account 130 may be or include an email account, an account associated with the address, or a cell phone account.

[0056] At block 520, a public key associated with the accessory may be associated with the account. According to one embodiment, when the user purchases the accessory, the associated store may associate the public key with the account. For example, if the user obtains the accessory from an entity different from the entity hosting the account, the user may authorize the first entity to send the public key and the user's account identifier to the second entity.

[0057] Once the account and the public key associated with the accessory are associated with each other, the public key associated with the accessory can be shared with the host device at block 530. According to one example, the public key associated with accessory 110 can be transmitted to the host device via a server. Alternatively, host device 140 can send a request to the server to receive the public key associated with account 130.

[0058] The accessory can transmit an encrypted message at block 540. The encrypted message can include a key for automatically connecting the accessory to the host device.

[0059] At block 550, the host device can receive, decrypt, and extract the key from the encrypted message. For example, the key can be a public key. To verify the key, the host device can identify the public key associated with the accessory as a public key associated with an account associated with the host device.

[0060] At block 560, the host device can automatically connect to the accessory.

[0061] Figure 6 Flowchart 600 is an action that can be performed in accordance with aspects of the technology described herein. A public key and a private key can be associated with an accessory (block 610). This can occur at the time of manufacture or thereafter. The public key associated with the accessory can then be associated with an account (block 620). The host device can be associated with the account (block 630). The account associated with the accessory and the account associated with the host device can be the same account. The accessory can transmit an encrypted message that can include a key (block 640). The key can be a public key associated with the device. The host device can receive an encrypted message transmitted by the accessory (block 650). The host device can verify the key in the encrypted message (block 660). The host device and the accessory can automatically connect via short-range wireless pairing (block 670).

[0062] Some examples are given below:

[0063] Example 1: An accessory, comprising:

[0064] Short-range wireless network antennas;

[0065] a memory configured to store a public key and a private key, the public key associated with the accessory and the account; and

[0066] One or more processors coupled to the memory, the processors being configured to:

[0067] transmitting an encrypted message to a host device associated with the account;

[0068] Automatically connect to the host device via short-range wireless pairing.

[0069] Example 2: The accessory of example 1, wherein automatically connecting includes receiving verification of a key from the host device.

[0070] Example 3: The accessory of example 1 or 2, wherein automatically connecting includes connecting without receiving user input.

[0071] Example 4: The accessory of at least one of the preceding examples, wherein the one or more processors of the accessory are further configured to receive user input to associate the accessory with an account prior to automatically connecting to the host device.

[0072] Example 5: An accessory according to at least one of the preceding examples, wherein the public key is associated with a serial number of the accessory.

[0073] Example 6 The accessory of at least one of the preceding examples, wherein automatically connecting comprises receiving confirmation from the host device that the accessory is associated with the account.

[0074] Example 7: An accessory according to at least one of the preceding examples, wherein the secret key within the encrypted message is a public key.

[0075] Example 8: A method comprising:

[0076] Associating public and private keys with the accessory;

[0077] associating a public key associated with the accessory with an account, wherein the account is also associated with the host device;

[0078] transmitting, by the accessory, an encrypted message including the secret key, wherein the encrypted message is suitable for decryption by the host device; and

[0079] When the encrypted message is decrypted, the accessory automatically connects to the host device via short-range wireless pairing.

[0080] Example 9: The method of Example 8, wherein the public key and the private key are associated with the accessory during purchase by the user.

[0081] Example 10: The method of example 8 or 9, wherein the public key and the private key are automatically associated with the accessory when purchased via a website associated with the account.

[0082] Example 11: The method of at least one of Examples 8 to 10, wherein the public key and the private key are associated with the accessory after purchase by the user.

[0083] Example 12: The method of at least one of Examples 8 to 11, wherein the public key and the private key are associated with the accessory using radio frequency identification.

[0084] Example 13: The method of at least one of Examples 8 to 12, wherein the public key and the private key are associated with the accessory using near field communication.

[0085] Example 14: The method of at least one of Examples 8 to 13, wherein the public key is associated with a serial number of the accessory.

[0086] Example 15: A method according to at least one of Examples 8 to 14, wherein the account is identified by an email address of the user, and associating the public key with the account includes receiving the public key and the email address of the user.

[0087] Example 16: The method of at least one of Examples 8 to 15, wherein automatically connecting comprises receiving confirmation from the host device that the accessory is associated with the account.

[0088] Example 17: A method according to at least one of Examples 8 to 16, wherein the secret key included in the encrypted message is a public key.

[0089] Example 18: A method comprising:

[0090] associating a host device with an account, wherein the account is also associated with an accessory having a public key and a private key;

[0091] associating, via a network, a public key of an accessory associated with the account with the host device;

[0092] receiving, using one or more processors of the host device, an encrypted message transmitted by the accessory;

[0093] verifying a secret key in the encrypted message using one or more processors of the host device; and

[0094] Connect to accessories via short-range wireless pairing.

[0095] Example 19: The method of Example 18, further comprising the step of searching for the public key using one or more processors of the host device.

[0096] Example 20: The method of Example 18 or 19, wherein the accessory comprises headphones, and further comprising providing an audio signal to the accessory after connecting to the accessory.

[0097] Unless stated otherwise, the above optional examples are not mutually exclusive, but can be implemented in various combinations to achieve unique advantages. Since these and other changes and combinations of the features discussed above can be utilized without departing from the subject matter defined by the claims, the above description of the embodiment should be understood as an illustration of the subject matter defined by the claims rather than a restriction. As an example, the previous operation does not have to be performed in the exact order described above. On the contrary, each step can be processed in a different order or processed simultaneously. Unless stated otherwise, the step can also be omitted. In addition, the examples described herein and the clauses expressed as "such as", "including", etc. should not be interpreted as limiting the subject matter of the claims to specific examples; on the contrary, the example is only intended to illustrate only one of many possible embodiments. Further, the same reference numerals in different figures can identify the same or similar elements.

Claims

1. An accessory for connecting to a host device, comprising: Short-range wireless network antennas; a memory configured to store a public key and a private key, the public key being associated with the accessory and an account, wherein the account is associated with a vendor or provider; and One or more processors coupled to the memory, the one or more processors configured to: Establishing an initial connection between the host device and the accessory, wherein establishing the initial connection comprises: encrypting a message containing the public key using the private key; transmitting an encrypted message to the host device associated with the account; and Automatically connecting to the host device via the short-range wireless network antenna after the public key is verified.

2. The accessory according to claim 1, wherein: Automatically connecting includes connecting without receiving user input.

3. The accessory according to claim 1, wherein: The one or more processors of the accessory are further configured to receive user input to associate the accessory with the account prior to automatically connecting to the host device.

4. The accessory according to claim 1, wherein: The public key is associated with the serial number of the accessory.

5. The accessory according to claim 1, wherein: Automatically connecting includes receiving confirmation from the host device that the accessory is associated with the account.

6. A method for automatic connection of a device, comprising: storing, by the accessory, a public key and a private key, wherein the public key is associated with the accessory, an account, and a host device, and wherein the account is associated with a vendor or provider; encrypting, by the accessory, a message containing the public key using the private key; transmitting an encrypted message by the accessory when establishing an initial connection between the host device and the accessory, wherein the encrypted message is adapted to be decrypted by the host device; receiving, by the accessory from the host device, verification of the public key; and The initial connection between the accessory and the host device is automatically established via short-range wireless pairing after receiving verification of the public key.

7. The method according to claim 6, wherein: The public key and the private key are associated with the accessory during purchase by a user.

8. The method according to claim 7, wherein: The public and private keys are automatically associated with the accessory upon purchase via a website associated with the account.

9. The method according to claim 6, wherein: The public key and the private key are associated with the accessory after purchase by a user.

10. The method according to claim 9, wherein: The public key and the private key are associated with the accessory using radio frequency identification.

11. The method according to claim 9, wherein: The public key and the private key are associated with the accessory using near field communication.

12. The method according to claim 6, wherein: The public key is associated with the serial number of the accessory.

13. The method according to claim 6, wherein: The account is identified by an email address of a user, and associating the public key with the account includes receiving the public key and the email address of the user.

14. The method according to claim 6, wherein: Automatically connecting includes receiving confirmation from the host device that the accessory is associated with the account.

15. A method for automatic connection of a device, comprising: associating the host device with an account, wherein the account is associated with a vendor or provider, and wherein the account is also associated with an accessory having a public key and a private key; associating the public key of the accessory with the host device via a network; receiving, by the host device, an encrypted message transmitted by the accessory when establishing an initial connection between the host device and the accessory, wherein the encrypted message is encrypted using the private key; decrypting, by one or more processors of the host device, the encrypted message to obtain the public key; verifying, by the one or more processors of the host device, the public key; and The initial connection between the host device and the accessory is established via short-range wireless pairing after verifying the public key.

16. The method of claim 15, further comprising searching for the public key using the one or more processors of the host device.

17. The method according to claim 15 or 16, wherein: The accessory includes a headset, and the method further includes providing an audio signal to the accessory after connecting to the accessory.