Patent Description:
Near field communication (near field communication, NFC) is a short-range wireless connection technology based on radio frequency identification (radio frequency identification devices, RFID).

In recent years, NFC is increasingly applied to interconnection and communication between devices due to convenience of the NFC. In the conventional technology, a media access control (media access control, MAC) address of a device is usually burned in an NFC tag before delivery, and the NFC tag is posted outside the body of the device. When interconnection and communication are required, another device may approach the NFC tag, obtain the MAC address in the NFC tag through NFC communication, and establish a communication connection to the device posted with the NFC tag. <CIT> discloses an improved fast wireless accessory device pairing process at a radio communication device that includes initiating, via a first short-range transceiver, a pairing procedure with a wearable computing device and establishing a link with the wearable computing device. Subsequently, receiving Bluetooth device connection information for each of a plurality of wireless accessory devices associated with a wearer of the wearable computing device. The Bluetooth device connection information includes at least a hardware device identifier of the associated wireless accessory and capability information of the associated wireless accessory. Responsive to receiving the Bluetooth device connection information, and for each of the plurality wireless accessory devices, using the hardware device identifier and capability information to pair with and communicate with the wireless accessory device. <CIT> discloses a n NFC-enabled electronic device and a method for operating the same. The method according to an embodiment includes performing, by the electronic device, tagging with a first external device to establish communication with the first external device; receiving, by the electronic device, at least one of device information and user information from the first external device through the communication; and transmitting, by the electronic device, a remote control signal to at least one second external device, based on the at least one of the device information and the user information.

The present invention provides an accessory device of claim <NUM>. Further embodiments of the invention are disclosed in the dependent claims.

The following further describes this application with reference to specific embodiments and the accompanying drawings. Specific embodiments described herein are merely intended to explain this application, but not to limit this application. In addition, for ease of description, the accompanying drawings show only some but not all structures or processes related to this application. It should be noted that, in this specification, reference numerals and letters in the following accompanying drawings represent similar items. Therefore, once an item is defined in an accompanying drawing, the item does not need to be further defined or interpreted in subsequent accompanying drawings.

<FIG> shows structures of a tablet computer <NUM>, a keyboard <NUM>, and a mobile phone <NUM> and a scenario of data transmission between the tablet computer <NUM>, the keyboard <NUM>, and the mobile phone <NUM> according to an embodiment of this application. According to some embodiments of this application, although the tablet computer <NUM> and the keyboard <NUM> are disposed separately in space in <FIG>, the tablet computer <NUM> and the keyboard <NUM> may be sold together, or may be sold separately. According to some embodiments of this application, the tablet computer <NUM> may establish a communication connection to the keyboard <NUM>, and send device information (for example but not limited to a MAC address, a device serial number (serial number, SN), or other device information) of the tablet computer <NUM> to the keyboard <NUM>; the keyboard <NUM> may write the device information of the tablet computer <NUM> into an NFC storage medium, and when an NFC connection is established between the keyboard <NUM> and the mobile phone <NUM>, send the device information of the tablet computer <NUM> to the mobile phone <NUM>; and the mobile phone <NUM> may establish a communication connection to the tablet computer <NUM> based on the device information of the tablet computer <NUM>, for example but not limited to, a Bluetooth connection, a Wi-Fi connection, or another communication connection.

As shown in <FIG>, the tablet computer <NUM> may include but is not limited to a control module <NUM>, a wireless charging communications module <NUM>, and a Bluetooth communications module <NUM>. The wireless charging communications module <NUM> includes a wireless charging control unit <NUM> and a wireless charging coil <NUM>. The Bluetooth communications module <NUM> includes a Bluetooth control unit <NUM> and a Bluetooth antenna <NUM>. According to some embodiments of this application, the control module <NUM> in the tablet computer <NUM> may control, for example but not limited to, communication between the keyboard <NUM> and each of the wireless charging communications module <NUM> and the Bluetooth communications module <NUM>, communication between the Bluetooth communications module <NUM> and the mobile phone <NUM>, communication between the tablet computer <NUM> and another communications module, and interaction between the tablet computer <NUM> and a user.

As shown in <FIG>, the keyboard <NUM> may include but is not limited to a microcontroller unit (Microcontroller Unit, MCU) <NUM>, a wireless charging communications module <NUM>, a Bluetooth communications module <NUM>, and an NFC communications module <NUM>. The wireless charging communications module <NUM> may include a wireless charging control unit <NUM> and a wireless charging coil <NUM>. The Bluetooth communications module <NUM> may include a Bluetooth control unit <NUM> and a Bluetooth antenna <NUM>. The NFC communications module <NUM> may include an NFC control unit <NUM>, an amplification circuit <NUM>, and an NFC coil <NUM>. The NFC control unit <NUM> may include an NFC storage medium <NUM>, and the amplification circuit <NUM> is optional. According to some embodiments of this application, the MCU <NUM> in the keyboard <NUM> may control, for example but not limited to, communication between the tablet computer <NUM> and each of the wireless charging communications module <NUM> and the Bluetooth communications module <NUM>, communication between the NFC communications module <NUM> and the mobile phone <NUM>, and communication between the keyboard <NUM> and another communications module.

As shown in <FIG>, the mobile phone <NUM> may include an NFC communications module <NUM>, a Bluetooth communications module <NUM>, and a Wi-Fi communications module <NUM>. According to some embodiments of this application, the NFC communications module <NUM> is configured to: perform NFC communication with the keyboard <NUM>, and obtain the device information of the tablet computer <NUM>, for example, at least one of a Bluetooth MAC address and the device sn; the Bluetooth communications module <NUM> may establish a Bluetooth connection to the tablet computer <NUM> based on the device information of the tablet computer <NUM>; and the Wi-Fi communications module <NUM> may establish a Wi-Fi connection to the tablet computer <NUM> based on the established Bluetooth connection to the tablet computer <NUM>. For example, if the device information of the tablet computer <NUM> includes the Bluetooth MAC address, the Bluetooth communications module <NUM> may initiate a Bluetooth connection request to the tablet computer <NUM> based on the Bluetooth MAC address of the tablet computer <NUM>. For example, if the device information of the tablet computer <NUM> includes the device sn, the mobile phone <NUM> may determine the Bluetooth MAC address of the tablet computer <NUM> based on a stored correspondence between a device sn and a Bluetooth MAC address, and initiate a Bluetooth connection request to the tablet computer <NUM> by using the Bluetooth communications module <NUM>.

The following further describes the tablet computer <NUM> and the keyboard <NUM> based on the examples in <FIG>.

According to some embodiments of this application, in response to that the wireless charging module <NUM> receives a Bluetooth MAC address of the keyboard <NUM> from the keyboard <NUM> through wireless charging communication, the tablet computer <NUM> may enable a Bluetooth function of the tablet computer <NUM>, and send the device information of the tablet computer <NUM> to the keyboard <NUM> based on a Bluetooth connection to the keyboard <NUM>.

Specifically, when resonance frequencies of the wireless charging coil <NUM> in the tablet computer <NUM> and the wireless charging coil <NUM> in the keyboard <NUM> are the same, and when the tablet computer <NUM> and the keyboard <NUM> mutually approach (for example but not limited to, touch), the wireless charging coil <NUM> in the tablet computer <NUM> and the wireless charging coil <NUM> in the keyboard <NUM> may exchange energy based on a magnetic resonance effect. Therefore, the wireless charging control unit <NUM> in the tablet computer <NUM> may control the wireless charging coil <NUM> to perform wireless communication with the keyboard <NUM>, and may also control the wireless charging coil <NUM> to wirelessly charge the keyboard <NUM> based on the magnetic resonance effect.

The wireless charging control unit <NUM> may include but is not limited to a capacitor, a direct current power, an inverter, a demodulator, a charging electricity diverter switch, and the like that are configured to enable the wireless charging coil <NUM> to be in a resonant state. The inverter may convert a direct current into an alternating current. The charging electricity diverter switch may be configured to adjust wireless charging power. The demodulator may demodulate a signal from the keyboard <NUM>.

The wireless charging control unit <NUM> may control the wireless charging coil <NUM> to send a pulse signal. The pulse signal may be used by the tablet computer <NUM> to determine whether there is a keyboard that can be connected or needs to be charged.

The wireless charging coil <NUM> may receive an acknowledgment signal from the keyboard <NUM>. The acknowledgment signal may include the Bluetooth MAC address of the keyboard <NUM>, and may further include configuration information related to charging power.

In response to receiving the acknowledgment signal, the wireless charging control unit <NUM> may send a keyboard connection message to the control module <NUM>. The keyboard connection message includes the Bluetooth MAC address of the keyboard <NUM>. The control module <NUM> may control to enable the Bluetooth function of the tablet computer, and send a scanning indication message to the Bluetooth control unit <NUM>. The scanning indication message indicates the Bluetooth control unit <NUM> to perform Bluetooth broadcast message scanning through the Bluetooth antenna <NUM>.

The Bluetooth antenna <NUM> may receive Bluetooth broadcast messages from one or more broadcast devices. The one or more broadcast devices include the keyboard <NUM>, and the Bluetooth broadcast messages each may include one or more of a device name, a device sn, and a Bluetooth MAC address of the broadcast device, and a Bluetooth protocol related indication such as a Bluetooth GATT service related indication.

When the Bluetooth broadcast messages each include the Bluetooth MAC address of the broadcast device, the control module <NUM> may compare the Bluetooth MAC addresses in the one or more Bluetooth broadcast messages with the Bluetooth MAC address received through the wireless charging coil <NUM>, to determine a Bluetooth broadcast message of the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM>.

The control module <NUM> may further determine, based on device information such as one or more of a device name, a device sn, and the Bluetooth MAC address of the keyboard <NUM> in the Bluetooth broadcast message of the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM>, whether the keyboard <NUM> is trusted. In an example, the control module <NUM> may compare the device information of the keyboard <NUM> with trusted device information stored in the tablet computer <NUM>, and determine whether the device information of the keyboard <NUM> is included in the trusted device information. The trusted device information includes information about a trusted device of the tablet computer <NUM>. The trusted device information may be information received from a server or another information source, or may be information burned when the tablet computer <NUM> is delivered from a factory, or may be information about a device that has communicated with the tablet computer <NUM>. A source of the trusted device information is not limited herein. In another example, the control module <NUM> may control the interaction between the tablet computer <NUM> and the user, to be specific, display the device information of the keyboard <NUM> to the user, and determine, based on a user input, whether the keyboard <NUM> is trusted.

When determining that the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> is trusted, for example, when determining that the device information of the keyboard <NUM> is included in the trusted device information or the user input indicates that the keyboard <NUM> is trusted, the control module <NUM> may control, by using the Bluetooth control unit <NUM>, the Bluetooth antenna <NUM> to send, according to a Bluetooth protocol such as a Bluetooth GATT service indicated by the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> in the Bluetooth broadcast message, the device information of the tablet computer <NUM> such as at least one of the MAC address and the device sn to the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM>. The device sn may be but is not limited to a device sn randomly generated by the control module <NUM>, and the random device sn can improve security of communication between the tablet computer <NUM> and the mobile phone <NUM>.

In another embodiment, Bluetooth broadcast messages received by the Bluetooth antenna <NUM> from one or more devices each may include one or more of a device name, a device sn, and a Bluetooth MAC address of the broadcast device, and a Bluetooth protocol related indication such as a Bluetooth GATT service related indication. The control module <NUM> may determine specific trusted broadcast devices based on device information in each Bluetooth broadcast message, for example, the one or more of the device name, the device sn, and the Bluetooth MAC address of the broadcast device. The broadcast devices include the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM>.

The control module <NUM> may control, by using the Bluetooth control unit <NUM>, the Bluetooth antenna <NUM> to send the device information of the tablet computer <NUM> such as at least one of the MAC address and the device sn to each trusted broadcast device according to a Bluetooth protocol such as a Bluetooth GATT service indicated by each trusted broadcast device in the Bluetooth broadcast message of the trusted broadcast device. The device sn may be but is not limited to a device sn randomly generated by the control module <NUM>, and the random device sn can improve security of communication between the tablet computer <NUM> and the mobile phone <NUM>. The trusted broadcast devices may include the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM>.

It should be noted that the tablet computer <NUM> and the keyboard <NUM> perform wireless charging communication through the magnetic resonance effect in the foregoing embodiment. However, it may be understood that the tablet computer <NUM> and the keyboard <NUM> may alternatively perform wireless charging communication through electromagnetic induction.

According to some embodiments of this application, the keyboard <NUM> may first send the Bluetooth MAC address of the keyboard <NUM> to the tablet computer <NUM> through wireless charging communication by using the wireless charging module <NUM>, and then receive the device information of the tablet computer <NUM> based on the Bluetooth connection to the tablet computer <NUM>.

Specifically, when resonance frequencies of the wireless charging coil <NUM> in the tablet computer <NUM> and the wireless charging coil <NUM> in the keyboard <NUM> are the same, and when the keyboard <NUM> and the tablet computer <NUM> mutually approach (for example but not limited to, touch), the wireless charging coil <NUM> in the keyboard <NUM> and the wireless charging coil <NUM> in the tablet computer <NUM> may exchange energy based on a magnetic resonance effect. Therefore, the wireless charging control unit <NUM> in the keyboard <NUM> may control the wireless charging coil <NUM> to perform wireless charging communication with the tablet computer <NUM>, and the wireless charging coil <NUM> may also receive power from the tablet computer <NUM> based on the magnetic resonance effect. The wireless charging control unit <NUM> may include but is not limited to a capacitor, a rectifier, a filter and voltage regulator, a modulator, and the like that are configured to enable the wireless charging coil <NUM> to be in a resonant state. The modulator may adjust a voltage amplitude of the wireless charging coil <NUM> based on to-be sent information through load modulation (for example, resistance modulation and capacitance modulation). The demodulator in the wireless charging control unit <NUM> in the tablet computer <NUM> may obtain, through demodulation based on the voltage amplitude converted based on the magnetic resonance effect, the information sent by the keyboard <NUM>.

The wireless charging coil <NUM> may receive a pulse signal from the tablet computer <NUM>. The pulse signal may be used by the tablet computer <NUM> to determine whether there is a keyboard that can be connected or needs to be charged.

In response to receiving the pulse signal, the wireless charging control unit <NUM> may control the wireless charging coil <NUM> to send an acknowledgment signal to the tablet computer <NUM>. The acknowledgment signal may include the Bluetooth MAC address of the keyboard <NUM>, or may include configuration information related to charging power. The wireless charging control unit <NUM> may store the Bluetooth MAC address of the keyboard <NUM>, or may send a request to the MCU <NUM>.

In response to that the wireless charging coil <NUM> sends the acknowledgment signal to the tablet computer <NUM>, the MCU <NUM> may control to enable a Bluetooth function of the keyboard <NUM>, and control, by using the Bluetooth control unit <NUM><NUM>, the Bluetooth antenna <NUM> to send a Bluetooth broadcast message. The Bluetooth broadcast message is used to enable the tablet computer <NUM> to determine whether the keyboard <NUM> is trusted and determine a to-be-used Bluetooth protocol, and may include the one or more of the device name, the device sn, and the Bluetooth MAC address of the keyboard <NUM>, and a Bluetooth protocol related indication such as a Bluetooth GATT service related indication. In another example, regardless of whether the wireless charging coil <NUM> sends an acknowledgment signal to the tablet computer <NUM>, the Bluetooth antenna <NUM> may send a Bluetooth broadcast message.

The Bluetooth antenna <NUM> may receive the device information of the tablet computer <NUM> that is sent by the tablet computer <NUM> according to the Bluetooth protocol (for example, a Bluetooth GATT service), for example, the at least one of the MAC address and the device sn. In response to this, the Bluetooth control unit <NUM> may send the device information of the tablet computer <NUM> to the MCU <NUM>, and the MCU <NUM> performs security processing on the device information of the tablet computer <NUM>, for example, encrypts the device information of the tablet computer <NUM> by using a hash algorithm, to obtain a hash value of the device information of the tablet computer <NUM>, so that the mobile phone <NUM> can determine whether the device information of the tablet computer <NUM> is tampered with.

The MCU <NUM> may send the device information of the tablet computer <NUM> on which security processing is performed to the NFC control unit <NUM>, and the NFC control unit <NUM> writes the device information of the tablet computer <NUM> into the NFC storage medium <NUM>. For example, the NFC storage medium <NUM> may include but is not limited to a random access memory (RAM) such as a dynamic random access memory (DRAM) or a static random access memory (SRAM), a flash memory, and another type of accessible storage medium.

In another example, the NFC control unit <NUM> may determine whether the device information of the tablet computer <NUM> received from the MCU <NUM> is the same as device information in the NFC storage medium <NUM>. When determining that the two pieces of device information are different, the NFC control unit <NUM> updates the device information in the NFC storage medium <NUM> by using the device information of the tablet computer <NUM>; or when determining that the two pieces of device information are the same, the NFC control unit <NUM> does not update the device information in the NFC storage medium <NUM>.

When the mobile phone <NUM> approaches (for example, touches) the keyboard <NUM>, the NFC coil <NUM> may receive a radio frequency signal from the mobile phone <NUM> through electromagnetic induction. The radio frequency signal is used to indicate the keyboard <NUM> to send the device information of the tablet computer <NUM>. In response to this, the NFC control unit <NUM> may control the NFC coil <NUM> to send the device information of the tablet computer <NUM> in the NFC storage medium <NUM> to the mobile phone <NUM> through electromagnetic induction.

In another example, the amplification circuit <NUM> such as a low-frequency voltage amplifier (for example, a common-emitter amplification circuit or an emitter output amplification circuit), a power amplifier (for example, a class-A single-tube power amplifier or a class-B push-pull power amplifier), or a direct current amplifier (for example, a differential amplifier or an integrated operational amplifier) may amplify an electrical signal that indicates the device information of the tablet computer <NUM>, so that the NFC coil <NUM> sends the amplified electrical signal to the mobile phone <NUM>, to extend an NFC communication distance between the keyboard <NUM> and the mobile phone <NUM>. The electrical signal that indicates the device information of the tablet computer <NUM> may be obtained based on the device information of the tablet computer <NUM> through load modulation.

In the embodiment, two communication modes are used between the tablet computer <NUM> and the keyboard <NUM>, so that communication security can be improved. Further, in response to receiving the Bluetooth MAC address of the keyboard <NUM> through wireless charging communication, the Bluetooth function of the tablet computer <NUM> is triggered to be enabled, so that various operations required by the user to manually enable the Bluetooth function of the tablet computer <NUM> can be avoided. In addition, in response to sending the Bluetooth MAC address of the keyboard <NUM> to the tablet computer <NUM> through wireless charging communication, the Bluetooth function of the keyboard <NUM> is triggered to be enabled, so that various operations required by the user to manually enable the Bluetooth function of the keyboard <NUM> can be avoided. Moreover, a message from the auxiliary device <NUM> is received through short-distance communication such as wireless charging communication, to trigger a long-distance communication mode between the tablet computer <NUM> and the auxiliary device <NUM>, so that a communication distance between the tablet computer <NUM> and the auxiliary device <NUM> can be extended, and the tablet computer <NUM> and the auxiliary device <NUM> do not need to be limited to a short-distance communication range.

It should be noted that the communications modules included in the tablet computer <NUM> in the embodiment is not limited to the example in <FIG>. For example, the tablet computer <NUM> may include one or more of the following communications modules: a cellular mobile communications module (for example but not limited to, a <NUM> mobile communications module, a <NUM> mobile communications module, a <NUM> mobile communications module, and a <NUM> mobile communications module, which are not shown in the figure), a Wi-Fi communications module (not shown in the figure), an NFC communications module (not shown in the figure), a direct-connection communications module (not shown in the figure) (for example but not limited to, a USB communications module and a Pogopin communications module), and another type of communications module. Herein, one or more of the control module <NUM>, the wireless charging control unit <NUM>, the Bluetooth control unit <NUM>, and a control unit in another type of communications module are referred to as a control unit in the tablet computer <NUM>. Functions of the control unit include but is not limited to controlling communication between communications modules, communication between the tablet computer <NUM> and the keyboard <NUM>, communication between the tablet computer <NUM> and the mobile phone <NUM>, and interaction between the tablet computer <NUM> and the user. One or more of the wireless charging coil <NUM>, the Bluetooth antenna <NUM>, and a transceiver unit in another type of communications module (for example, a transceiver unit in a cellular mobile communications module may include an antenna used for mobile communication, a transceiver unit in a Wi-Fi communications module may include an antenna used for Wi-Fi communication, and a transceiver unit in a direct-connection communications module may include a USB data cable, Pogopin, or another electronic component that physically connects the tablet computer <NUM> to the keyboard <NUM>) are referred to as a transceiver unit in the tablet computer <NUM>. Functions of the transceiver unit include but is not limited to implementing communication between the tablet computer <NUM> and the keyboard <NUM>, communication between the tablet computer <NUM> and the mobile phone <NUM>, or communication between the tablet computer <NUM> and another device.

According to some embodiments of this application, one or more components of the control unit (for example, the control module <NUM>, the wireless charging control unit <NUM>, the Bluetooth control unit <NUM>, and/or another control unit) in the tablet computer <NUM> may include an application-specific integrated circuit (ASIC), an electronic circuit, a (shared, special-purpose, or group) processor and/or memory that executes one or more software or firmware programs, a combinational logic circuit, and/or another proper component that provides the described functions. According to one aspect, the processor may be a microprocessor, a digital signal processor, a microcontroller, or the like, and/or may be any combination thereof. According to another aspect, the processor may be a single-core processor, a multi-core processor, or the like, and/or may be any combination thereof.

It should be noted that wireless charging communication between the tablet computer <NUM> and the keyboard <NUM> may be replaced with another communication mode, Bluetooth communication may also be replaced with another communication mode, and even both wireless charging communication and Bluetooth communication may be replaced with another communication mode. The another communication mode may be a combination of one or more of cellular mobile communication, Wi-Fi communication, direct-connection communication (USB connection-based communication, Pogopin connection-based communication, or the like), NFC communication, wireless charging communication, and Bluetooth communication. In other words, the tablet computer <NUM> may establish a communication connection to the keyboard <NUM> in any proper communication mode, receive the device information of the keyboard <NUM> based on the communication connection, and send the device information of the tablet computer <NUM> to the keyboard <NUM> when determining, based on the device information of the keyboard <NUM>, that the keyboard <NUM> is trusted. It should be noted that the communication modes include broadcast communication performed before each communication connection is established.

<FIG> shows a schematic diagram of a scenario of data transmission between a plurality of televisions <NUM>, a remote control <NUM>, and a mobile phone <NUM>. As shown in <FIG>, the remote control <NUM> may assist in implementing functions related to the plurality of televisions <NUM>, for example, televisions 40a, 40b, and 40n. Although the plurality of televisions 40a, 40b, and 40n and the remote control <NUM> are disposed separately in space in <FIG>, one or more of the televisions 40a, 40b, and 40n and the remote control <NUM> may be sold together, or may be sold separately.

According to some embodiments of this application, the television <NUM> may include but is not limited to a module that is the same as that of the tablet computer <NUM> described in the foregoing embodiment, and the remote control <NUM> may include but is not limited to a module that is the same as that of the keyboard <NUM> described in the foregoing embodiment. Descriptions of the tablet computer <NUM> in the foregoing embodiment are also applicable to the television <NUM>, and descriptions of the keyboard <NUM> in the foregoing embodiment are also applicable to the remote control <NUM>. The remote control <NUM> may separately establish wireless charging communication and Bluetooth communication connections to the televisions 40a, 40b, and 40n, send device information of the remote control <NUM> based on the communication connections, receive device information of the televisions 40a, 40b, and 40n from the televisions 40a, 40b, and 40n, and write the device information of the televisions 40a, 40b, and 40n into an NFC storage medium of the remote control <NUM>. For a specific process, refer to the descriptions of the tablet computer <NUM> and the keyboard <NUM> in the foregoing embodiment.

According to some embodiments of this application, a control unit in the remote control <NUM> such as an MCU may establish a one-to-one correspondence between the device information of the televisions <NUM> and shortcut keys of the remote control <NUM>, and control, based on shortcut key selection made by a user, a transceiver unit such as an NFC coil to send device information of a television <NUM> corresponding to a shortcut key selected by the user to the mobile phone <NUM>.

<FIG> is a schematic diagram of the remote control <NUM> including shortcut keys. As shown in the figure, the remote control <NUM> may include a user interface <NUM>. In response to that the NFC coil in the remote control <NUM> receives a radio frequency signal from the mobile phone <NUM>, the MCU in the remote control <NUM> may control to display a plurality of shortcut keys on the user interface <NUM>, for example, shortcut keys <NUM>, <NUM>, and <NUM>. The shortcut keys <NUM>, <NUM>, and <NUM> may respectively indicate device names, Bluetooth MAC addresses, device SN numbers, or other device information of the televisions 40a, 40b, and 40n. As shown in <FIG>, for example, the shortcut key <NUM> is selected by the user. In response to this, the MCU in the remote control <NUM> may control, by using an NFC control unit, the NFC coil to send the device information of the television 40a to the mobile phone <NUM>.

In another example, as shown in <FIG>, the remote control <NUM> may further include physical buttons <NUM> to <NUM>. In response to that a Bluetooth antenna in the remote control <NUM> receives the device information from the television 40a, the MCU in the remote control <NUM> may control to display, on the user interface <NUM>, an indication <NUM> that enables the user to select a shortcut key for the television 40a. For example, the physical button <NUM> is selected by the user. In response to this, the MCU in the remote control <NUM> establishes a correspondence between the physical button <NUM> and the television 40n, in other words, the physical button <NUM> is used as a shortcut key of the television 40n. Similarly, based on a user input, the MCU in the remote control <NUM> may establish a correspondence between the physical button <NUM> and the television 40a and a correspondence between the physical button <NUM> and the television 40b. In response to that the NFC coil in the remote control <NUM> receives the radio frequency signal from the mobile phone <NUM> and the user selects the physical button <NUM>, the MCU in the remote control <NUM> may control, by using the NFC control unit, the NFC coil to send the device information of the television 40n to the mobile phone <NUM>.

It should be noted that each of the tablet computer <NUM>, the keyboard <NUM>, the mobile phone <NUM>, the television <NUM>, and the remote control <NUM> in this embodiment may be replaced with any one of the following devices: a portable or mobile device, a mobile phone, a tablet computer, a television, a personal digital assistant, a laptop device, a desktop computer, a handheld PC, a server, a network device, a graphics device, a video game device, a set-top box, a cellular phone, a portable media player, a handheld device, a wearable device (for example, display glasses or goggles, a head-mounted display, a watch, or a head-mounted device), a virtual reality device and/or an augmented reality device, an internet of things device, an industrial control device, an automotive infotainment device, a streaming media client device, an ebook, a reading device, a POS terminal, and other devices. In addition, the keyboard <NUM> or the remote control <NUM> may alternatively be replaced with any one of the following devices: a mouse, a dock, a router, a headphone, a compact disc drive, a USB (Universal Serial Bus, universal serial bus) flash drive, and other devices. Herein, the tablet computer <NUM>, the television <NUM>, and an alternative device thereof that have the structure described in the embodiment may be referred to as a host device; the keyboard <NUM>, the remote control <NUM>, and an alternative device thereof that have the structure described in the embodiment may be referred to as an accessory device; and the mobile phone <NUM> and an alternative device thereof that have the structure described in the embodiment may be referred to as a terminal device. The accessory device may assist in implementing a function of the host device.

In this embodiment of this application, device information of the host device in the accessory device may be randomly updated according to a user requirement. However, in the conventional technology, information about an NFC tag posted on a surface of the host device is written before delivery, and cannot be updated by the user. This embodiment of this application can greatly improve user experience.

Further, in this embodiment of the application, the host device sends the device information of the host device to the accessory device that is disposed separately from the host device in space. In this way, when the terminal device is relatively far away from the host device and is relatively close to the accessory device, for example, when the terminal device and the accessory device are located in a different room from the host device, the terminal device may obtain the device information of the host device by using the accessory device. Compared with the conventional technology, this can extend a distance of obtaining the device information of the host device, and can also improve user experience.

Further, in this embodiment of this application, the terminal device obtains device information of a plurality of host devices by using the accessory device, so that the user can manage and use the device information of the plurality of host devices.

Further, in this embodiment of this application, in the accessory device, an NFC communications module may not need to be posted on the surface of the host device by using an amplification circuit unit, but may be placed inside the accessory device. This can improve aesthetics and make the NFC communications module not easily damaged.

<FIG> and <FIG> are a schematic flowchart of a method for data transmission between a tablet computer, a keyboard, and a mobile phone according to an embodiment of the present invention. Different modules in the tablet computer <NUM>, the keyboard <NUM>, and the mobile phone <NUM> in <FIG> may implement different blocks or other parts of the method. For content that is not described in the foregoing apparatus embodiment, refer to the following method embodiment. Similarly, for content that is not described in the method embodiment, refer to the foregoing apparatus embodiment. As shown in <FIG> and <FIG>, the method for data transmission between the tablet computer, the keyboard, and the mobile phone may include the following steps.

S501: The tablet computer <NUM> sends a pulse signal to the keyboard <NUM> through the wireless charging coil <NUM>, where the pulse signal may be used by the tablet computer <NUM> to determine whether there is a keyboard that can be connected or needs to be charged.

When resonance frequencies of the wireless charging coil <NUM> in the tablet computer <NUM> and the wireless charging coil <NUM> in the keyboard <NUM> are the same, and when the tablet computer <NUM> and the keyboard <NUM> mutually approach (for example but not limited to, touch), the wireless charging coil <NUM> in the tablet computer <NUM> and the wireless charging coil <NUM> in the keyboard <NUM> may exchange energy based on a magnetic resonance effect. Therefore, the tablet computer <NUM> and the keyboard <NUM> may perform wireless communication, and the tablet computer <NUM> may also wirelessly charge the keyboard <NUM> based on the magnetic resonance effect.

S502: In response to receiving the pulse signal, the keyboard <NUM> sends an acknowledgment signal to the tablet computer <NUM> through the wireless charging coil <NUM>, where the acknowledgment signal may include a Bluetooth MAC address of the keyboard <NUM>, and may further include configuration information related to charging power.

S503: In response to sending the acknowledgment signal to the tablet computer <NUM>, the keyboard <NUM> enables a Bluetooth function, and sends a Bluetooth broadcast message, where the Bluetooth broadcast message is used to enable the tablet computer <NUM> to determine whether the keyboard <NUM> is trusted and determine a to-be-used Bluetooth protocol, and may include one or more of a device name, a device sn, and the Bluetooth MAC address of the keyboard <NUM>, and a Bluetooth protocol related indication such as a Bluetooth GATT service related indication a. In another example, regardless of whether the keyboard <NUM> sends an acknowledgment signal to the tablet computer <NUM>, the keyboard <NUM> may send a Bluetooth broadcast message.

S504: In response to receiving the acknowledgment signal, the tablet computer <NUM> enables a Bluetooth function, and receives Bluetooth broadcast messages from one or more broadcast devices, where the one or more broadcast devices include the keyboard <NUM>, and the Bluetooth broadcast messages each may include one or more of a device name, a device sn, and a Bluetooth MAC address of a broadcast device, and a Bluetooth protocol related indication such as a Bluetooth GATT service related indication.

S505: When the Bluetooth broadcast messages each include the Bluetooth MAC address of the broadcast device, the tablet computer <NUM> may compare the Bluetooth MAC addresses in the one or more Bluetooth broadcast messages with the Bluetooth MAC address received through the wireless charging coil <NUM>, to determine the Bluetooth broadcast message of the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM>.

S506: The tablet computer <NUM> determines, based on the device information in the Bluetooth broadcast message of the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM>, for example, the one or more of the device name, the device sn, and the Bluetooth MAC address of the broadcast device, whether the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> is trusted. In an example, the tablet computer <NUM> may compare the device information of the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> with trusted device information stored in the tablet computer <NUM>, and determines whether the device information of the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> is included in the trusted device information. The trusted device information includes information about a trusted device of the tablet computer <NUM>, and the trusted device information may be information received from a server or another information source, or may be information burned when the tablet computer <NUM> is delivered from a factory, or may be information about a device that has communicated with the tablet computer <NUM>. A source of the trusted device information is not limited herein. In another example, the tablet computer <NUM> may control interaction between the tablet computer <NUM> and a user, to be specific, display the device information of the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> to the user, and determine, based on a user input, whether the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> is trusted.

S507: When determining that the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> is trusted, for example, when determining that the device information of the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> is included in the trusted device information or the user input indicates that the keyboard <NUM> is trusted, the tablet computer <NUM> sends, according to the Bluetooth protocol such as a Bluetooth GATT service indicated by the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> in the Bluetooth broadcast message, device information of the tablet computer <NUM> such as at least one of a MAC address and a device sn to the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM>. The device sn may be but is not limited to a device sn randomly generated by the control module <NUM>, and the random device sn can improve security of communication between the tablet computer <NUM> and the mobile phone <NUM>.

It should be noted that, when determining that the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> is untrusted, for example, when determining that the device information of the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> is not included in the trusted device information or the user input indicates that the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM> is untrusted, the tablet computer <NUM> does not send the device information of the tablet computer <NUM> such as the at least one of the MAC address and the device sn to the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM>.

S508: The keyboard <NUM> may perform security processing on the device information of the tablet computer <NUM> and write the device information into the NFC storage medium <NUM>, where the security processing is, for example but not limited to, encrypting the device information of the tablet computer <NUM> by using a hash algorithm, to obtain a hash value of the device information of the tablet computer <NUM>, so that the mobile phone <NUM> can determine whether the device information of the tablet computer <NUM> is tampered with.

In another example, the keyboard <NUM> may determine whether the device information of the tablet computer <NUM> is the same as device information in the NFC storage medium <NUM>. When determining that the two pieces of device information are different, the keyboard <NUM> updates the device information in the NFC storage medium <NUM> by using the device information of the tablet computer <NUM>; or when determining that the two pieces of device information are the same, the keyboard <NUM> does not update the device information in the NFC storage medium <NUM>.

S509: The mobile phone <NUM> sends a radio frequency signal through NFC communication, where the radio frequency signal indicates the keyboard <NUM> to send the device information in the NFC storage medium <NUM>.

S510: When the mobile phone <NUM> approaches (for example, touches) the keyboard <NUM>, the keyboard <NUM> receives the radio frequency signal from the mobile phone <NUM> through the NFC coil <NUM> and electromagnetic induction. In response to this, the keyboard <NUM> may amplify, by using an amplification circuit <NUM>, an electrical signal that indicates the device information of the tablet computer <NUM>, so that the NFC coil <NUM> can send the amplified electrical signal to the mobile phone <NUM>, to extend an NFC communication distance between the keyboard <NUM> and the mobile phone <NUM>. The electrical signal that indicates the device information of the tablet computer <NUM> may be obtained through load modulation based on the device information of the tablet computer <NUM>.

S511: The keyboard <NUM> sends, to the mobile phone <NUM> through the NFC coil <NUM>, the amplified electrical signal that indicates the device information of the tablet computer <NUM>.

S512: The mobile phone <NUM> establishes a communication connection to the tablet computer <NUM> based on the device information of the tablet computer <NUM>, for example, establishes a Bluetooth connection to the tablet computer <NUM> based on at least one of a Bluetooth MAC address and the device SN of the tablet computer <NUM>, and further establishes a Wi-Fi connection based on the Bluetooth connection.

In another embodiment, the method may not include S505. In addition, in S506, the tablet computer <NUM> determines specific trusted broadcast devices based on device information in each Bluetooth broadcast message such as the one or more of the device name, the device sn, and the Bluetooth MAC address of the broadcast device. The broadcast devices include the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM>. In S507, the tablet computer <NUM> sends the device information of the tablet computer <NUM> such as the at least one of the MAC address and the device sn to each trusted broadcast device according to a Bluetooth protocol such as a Bluetooth GATT service indicated by each trusted broadcast device in the Bluetooth broadcast message of the trusted broadcast device. The device sn may be but is not limited to a randomly generated device sn, and the random device sn can improve security of communication between the tablet computer <NUM> and the mobile phone <NUM>. The trusted broadcast devices may include the keyboard <NUM> that performs wireless charging communication with the tablet computer <NUM>.

<FIG> is a schematic flowchart of a method for data transmission between a plurality of televisions, a remote control, and a mobile phone according to an embodiment of the present invention. Different modules in the mobile phone <NUM>, the television <NUM>, and the remote control <NUM> in <FIG> may implement different blocks or other parts of the method. For content that is not described in the foregoing apparatus embodiment, refer to the following method embodiment. Similarly, for content that is not described in the method embodiment, refer to the foregoing apparatus embodiment. As shown in <FIG>, the method for data transmission between the plurality of televisions, the remote control, and the mobile phone may include the following steps.

S601 and S602: The remote control <NUM> performs wireless charging communication and Bluetooth communication with the television 40a and the television 40b respectively, and obtains device information of the television 40a and the television 40b. For a specific process, refer to the descriptions of the tablet computer <NUM> and the keyboard <NUM> in <FIG> and <FIG>. The television 40a and the television 40b perform a same block as the tablet computer <NUM>, and the remote control <NUM> performs a same block as the keyboard <NUM>.

S603: When the mobile phone <NUM> approaches the remote control <NUM>, the remote control <NUM> receives, through the NFC coil and electromagnetic induction, a radio frequency signal sent by the mobile phone <NUM>, where the radio frequency signal is used to indicate the keyboard <NUM> to send device information in the NFC storage medium.

S604: The remote control <NUM> displays shortcut keys that are in a one-to-one correspondence with the television 40a and the television 40b on the user interface, for example, the shortcut keys <NUM> and <NUM> shown in <FIG>.

S605: The remote control <NUM> receives, through the user interface, selection made by a user for the shortcut key <NUM> of the television 40a.

In another example, the remote control <NUM> receives, through the user interface, selection made by the user for the shortcut key <NUM> of the television 40b.

S606: In response to a user input, the remote control <NUM> sends the device information of the television 40a to the mobile phone <NUM> through the NFC coil.

In another example, in response to the user input, the remote control <NUM> sends the device information of the television 40b to the mobile phone <NUM> through the NFC coil.

It should be noted that, in the data transmission method in the embodiment, the television 40a and the television 40b are merely used as examples, and there may be any other quantity of televisions <NUM> in the data transmission method.

<FIG> is another schematic flowchart of a method for data transmission between a plurality of televisions, a remote control, and a mobile phone according to an embodiment of the present invention. Different modules in the mobile phone <NUM>, the television <NUM>, and the remote control <NUM> in <FIG> may implement different blocks or other parts of the method. For content that is not described in the foregoing apparatus embodiment, refer to the following method embodiment. Similarly, for content that is not described in the method embodiment, refer to the foregoing apparatus embodiment. As shown in <FIG>, the method for data transmission between the plurality of televisions, the remote control, and the mobile phone may include the following steps.

S701: The remote control <NUM> performs wireless charging communication and Bluetooth communication with the television 40a, and obtains device information of the television 40a. For a specific process, refer to the descriptions of the tablet computer <NUM> and the keyboard <NUM> in <FIG> and <FIG>. The television 40a performs a same block as the tablet computer <NUM>, and the remote control <NUM> performs a same block as the keyboard <NUM>.

S702: The remote control <NUM> displays, on the user interface, an indication that enables a user to select a shortcut key corresponding to the television 40a, for example, the indication <NUM> in <FIG>, and establishes a correspondence between the television 40a and a physical button (for example, the button <NUM> in <FIG>) of the remote control <NUM> that is selected by the user.

S703: The remote control <NUM> communicates with the television 40b, and obtains device information of the television 40b. For a specific process, refer to the descriptions of the tablet computer <NUM> and the keyboard <NUM> in <FIG> and <FIG>. The television 40b performs a same block as the tablet computer <NUM>, and the remote control <NUM> performs a same block as the keyboard <NUM>.

S704: The remote control <NUM> displays, on the user interface, an indication that enables the user to select a shortcut key corresponding to the television 40b, and establishes a correspondence between the television 40b and another physical button (for example, the button <NUM> in <FIG>) of the remote control <NUM> that is selected by the user.

S705: When the mobile phone <NUM> approaches the remote control <NUM>, the remote control <NUM> receives, through the NFC coil based on electromagnetic induction, a radio frequency signal sent by the mobile phone <NUM>, where the radio frequency signal is used to indicate the remote control <NUM> to send device information in the NFC storage medium.

S706: The remote control <NUM> receives the selection made by the user for a physical button corresponding to the television 40a, for example, selection for <NUM> in <FIG>.

In another example, the remote control <NUM> receives selection made by the user for a physical button corresponding to the television 40b, for example, selection for <NUM> in <FIG>.

S707: The remote control <NUM> sends the device information of the television 40a to the mobile phone <NUM> through the NFC coil.

In another example, the remote control <NUM> sends the device information of the television 40b to the mobile phone <NUM> through the NFC coil.

<FIG> is a schematic diagram of a structure of a data transmission apparatus <NUM> according to an embodiment of this application. The data transmission apparatus <NUM> may be the tablet computer or the keyboard in the foregoing embodiment. The apparatus <NUM> may include one or more processors <NUM>, a system control logic <NUM> connected to at least one of the processors <NUM>, a system memory <NUM> connected to the system control logic <NUM>, a nonvolatile memory (NVM) <NUM> connected to the system control logic <NUM>, and a network interface <NUM> connected to the system control logic <NUM>.

The processor <NUM> may include one or more single-core or multi-core processors. The processor <NUM> may include any combination of a general-purpose processor and a special-purpose processor (for example, a graphics processor, an application processor, or a baseband processor). In this embodiment of this application, the processor <NUM> may be configured to perform one or more of embodiments shown in FIG. <NUM> to FIG.

In some embodiments, the system control logic <NUM> may include any proper interface controller, to provide any proper interface for the at least one of the processors <NUM> and/or any proper device or component that communicates with the system control logic <NUM>.

In some embodiments, the system control logic <NUM> may include one or more memory controllers, to provide an interface that connects to the system memory <NUM>. The system memory <NUM> may be configured to load and store data and/or instructions. In some embodiments, the memory <NUM> in the apparatus <NUM> may include any proper volatile memory, for example, a proper dynamic random access memory (DRAM).

The NVM/memory <NUM> may include one or more tangible, non-transitory computer-readable media that are configured to store data and/or instructions. In some embodiments, the NVM/memory <NUM> may include any proper nonvolatile memory such as a flash memory and/or any proper nonvolatile storage device such as at least one of a hard disk drive (Hard Disk Drive, HDD), a compact disc (Compact Disc, CD) drive, and a digital versatile disc (Digital Versatile Disc, DVD) drive.

The NVM/memory <NUM> may include a part of storage resources installed on the apparatus <NUM>, or may be accessed by a device, but is not necessarily a part of the device. For example, the NVM/memory <NUM> may be accessed over a network through the network interface <NUM>.

In particular, the system memory <NUM> and the NVM/memory <NUM> may respectively include a temporary copy and a permanent copy of an instruction <NUM>. The instruction <NUM> may include an instruction executed by the at least one of the processors <NUM> to enable the apparatus <NUM> to implement the methods shown in <FIG> and <FIG>. In some embodiments, the instruction <NUM>, hardware, firmware, and/or software components thereof may be additionally/alternatively placed in the system control logic <NUM>, the network interface <NUM>, and/or the processor <NUM>.

The network interface <NUM> may include a transceiver. The transceiver is configured to provide a radio interface for the apparatus <NUM> to communicate with any other proper device (for example, a front-end module or an antenna) over one or more networks. In some embodiments, the network interface <NUM> may be integrated into another component in the apparatus <NUM>. For example, the network interface <NUM> may integrate into at least one of the processor <NUM>, the system memory <NUM>, the NVM/memory <NUM>, and a firmware device (not shown) having instructions. When the at least one of the processors <NUM> execute the instructions, the apparatus <NUM> implements one or more of embodiments shown in <FIG>. Communications module.

The network interface <NUM> may further include any proper hardware and/or firmware, to provide a multiple-input multiple-output radio interface. For example, the network interface <NUM> may be a network adapter, a wireless network adapter, a phone modem, and/or a wireless modem.

In an embodiment, at least one of the processors <NUM> may be packaged with logic of one or more controllers used for the system control logic <NUM>, to form a system in package (SiP). In an embodiment, at least one of the processors <NUM> may be integrated on a same tube core with logic of one or more controllers used for the system control logic <NUM>, to form a system on a chip (SoC).

The apparatus <NUM> may further include an input/output (I/O) interface <NUM>. The I/O interface <NUM> may include a user interface, so that a user can interact with the apparatus <NUM>. A design of a peripheral component interface also enables a peripheral component to interact with the apparatus <NUM>. In some embodiments, the apparatus <NUM> further includes a sensor. The sensor is configured to determine at least one of an environmental condition and position information that are related to the apparatus <NUM>.

In some embodiments, the user interface may include but is not limited to a display (for example, a liquid crystal display or a touchscreen display), a speaker, a microphone, one or more cameras (for example, a still image camera and/or a video camera), a flashlight (for example, a light emitting diode flashlight), and a keyboard.

In some embodiments, the peripheral component interface may include but is not limited to a nonvolatile memory port, an audio jack, and a charging port.

In some embodiments, the sensor may include but is not limited to a gyroscope sensor, an accelerometer, a proximity sensor, an ambient light sensor, and a positioning unit. The positioning unit may alternatively be a part of the network interface <NUM>, or may interact with the network interface <NUM>, to communicate with a component (for example, a global positioning system (GPS) satellite) of a positioning network.

Although this application is described with reference to example embodiments, this does not mean that features of the present invention are limited to the implementations. On the contrary, a purpose of describing the present invention with reference to the implementations is to cover other selections or modifications that may be derived based on the claims of this application. To provide an in-depth understanding of this application, the following descriptions include a plurality of specific details. This application may be alternatively implemented without using these details. In addition, to avoid confusion or blurring the focus of this application, some specific details will be omitted from the description. It should be noted that, when there is no conflict, embodiments in this application and the features in embodiments may be mutually combined.

Furthermore, various operations will be described as a plurality of discrete operations in a manner that is most conducive to understanding illustrative embodiments. However, an order described should not be construed as implying that these operations need to depend on the order. In particular, these operations do not need to be performed in the rendered order.

Unless otherwise stated, terms "contain", "have", and "include" are synonymous. A phrase "A/B" indicates "A or B". A phrase "A and/or B" indicates "(A and B) or (A or B)".

As used herein, a term "module" or "unit" may mean, be, or include: an application-specific integrated circuit (ASIC), an electronic circuit, a (shared, special-purpose, or group) processor and/or a memory that executes one or more software or firmware programs, a composite logic circuit, and/or another proper component that provides the described functions.

In the accompanying drawings, some structure or method features may be shown in a particular arrangement and/or order. However, it should be understood that such a particular arrangement and/or order may not be required. In some embodiments, these features may be arranged in a manner and/or order different from that shown in the illustrative accompanying drawings. In addition, inclusion of the structure or method features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

Embodiments of a mechanism disclosed in this application may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of this application may be implemented as a computer program or program code executed in a programmable system. The programmable system includes at least one processor, a storage system (including a volatile memory, a nonvolatile memory, and/or a storage element), at least one input device, and at least one output device.

The program code may be configured to input instructions, to perform functions described in this application and generate output information. The output information may be applied to one or more output devices in a known manner. For a purpose of this application, a processing system includes any system having a processor such as a digital signal processor (DSP), a microcontroller, an application-specific integrated circuit (ASIC), or a microprocessor.

The program code may be implemented by using a high-level programming language or an object oriented programming language, to communicate with the processing system. The program code may alternatively be implemented by using an assembly language or a machine language when needed. Actually, the mechanism described in this application is not limited to a scope of any particular programming language. In any case, the language may be a compiled language or an interpretive language.

In some cases, the disclosed embodiments may be implemented by hardware, firmware, software, or any combination thereof. In some cases, one or more aspects of at least some embodiments may be implemented by expressive instructions stored in a computer-readable storage medium. The instructions represent various logic in a processor, and when the instructions are read by a machine, the machine is enabled to manufacture logic for performing the technologies described in this application. These representations referred to as "IP cores" may be stored in a tangible computer-readable storage medium, and provided for a plurality of customers or production facilities for loading into a manufacturing machine that actually manufactures the logic or the processor.

Such a computer-readable storage media may include but is not limited to non-transient tangible arrangements of articles manufactured or formed by machines or devices. The computer-readable storage media includes storage media, for example, a hard disk or any other type of disk including a floppy disk, a compact disc, a compact disc read-only memory (CD-ROM), a compact disc rewritable (CD-RW), or a magneto-optical disc; a semiconductor device, for example, a read-only memory (ROM) such as a random access memory (RAM) including a dynamic random access memory (DRAM) or a static random access memory (SRAM), an erasable programmable read-only memory (EPROM), a flash memory, or an electrically erasable programmable read-only memory (EEPROM); a phase change memory (PCM); a magnetic card or an optical card; or any other type of proper medium for storing electronic instructions.

Claim 1:
An accessory device used for a plurality of first devices, wherein the accessory device and the first devices are disposed separately in space, and the accessory device comprises:
a transceiver unit, configured to: communicate with the first devices, and obtain device information of the first devices; and
a control unit (<NUM>), configured to: write the device information of the first devices obtained by the transceiver unit into a near field communication, NFC, storage medium (<NUM>); and when an NFC connection is established between the accessory device and a second device, control the transceiver unit to send the device information of any one of the first devices to the second device,
wherein the control unit (<NUM>) is further configured to: establish a one-to-one correspondence between device information of the plurality of first devices and shortcut keys (<NUM>, <NUM>, <NUM>) of the accessory device, and control, based on shortcut key (<NUM>, <NUM>, <NUM>) selection made by a user, the transceiver unit to send device information of any one of the first devices corresponding to the shortcut key (<NUM>, <NUM>, <NUM>) selected by the user to the second device; and wherein the device information of the first devices is used to establish communication between the first devices and the second device.