CN104601200B - Near field communication method and extension means extending - Google Patents

Near field communication method and extension means extending Download PDF

Info

Publication number
CN104601200B
CN104601200B CN 201310534396 CN201310534396A CN104601200B CN 104601200 B CN104601200 B CN 104601200B CN 201310534396 CN201310534396 CN 201310534396 CN 201310534396 A CN201310534396 A CN 201310534396A CN 104601200 B CN104601200 B CN 104601200B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
near field
field communication
wireless connection
communication unit
device
Prior art date
Application number
CN 201310534396
Other languages
Chinese (zh)
Other versions
CN104601200A (en )
Inventor
叶能文
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Abstract

本发明提供一种近场通信延伸方法及延伸装置。 The present invention provides a method of extending a near field communication device and the extension. 所述方法包括下列步骤:控制第一近场通信单元通过近场通信功能与主机装置的第二近场通信单元进行配对操作,以在主机装置的第二通信单元与延伸装置的第一通信单元之间建立基于无线通信协议的第一无线联机。 Said method comprising the steps of: controlling a first near field communication unit operated by a second pair near field communication unit functions with a near field communication host device, the first communication unit to the second communication unit of the apparatus extending in the host device establishing a first wireless connection between the wireless communication protocol based. 接着,判断是否通过近场通信功能接收来自电子装置的配对数据。 Next, it is determined whether the received data from the counterpart electronic apparatus through the near field communication function. 若是,判断第一无线联机是否有效。 If yes, determining whether the first wireless connection is valid. 若是,通过第一无线联机传输配对数据至主机装置。 If the pairing data transmitted through a first wireless connection to a host device.

Description

近场通信延伸方法及延伸装置 Near field communication method and extension means extending

技术领域 FIELD

[0001]本发明是有关于一种延伸方法及延伸装置,且特别是有关于一种近场通信延伸方法及延伸装置。 [0001] The present invention relates to a method and an extension extending apparatus, and more particularly relates to a method of extending a near field communication device and the extension.

背景技术 Background technique

[0002] 由于可提供高度的可靠性、保密性以及便利性,近场通信(Near Field Communication,简称:NFC)的应用已愈趋广泛。 [0002] Since high reliability can be provided, privacy and convenience, the NFC (Near Field Communication, abbreviation: NFC) Yuqu been widely applied. 只要装置间的距离够近,无论是付款、身份辨识等功能皆可轻易地完成。 As long as the distance between the device nearly enough, whether it is payment, identity identification, etc. that features will be easily accomplished. 常见的NFC功能除了用来进行例如金融认证的功能之外,还可用来进行装置间的配对认证,例如蓝牙(Bluetooth)与无线保真度直接连接(wireless fidelity direct,简称:Wi-Fidirect)等。 In addition to the common NFC function used for authentication, for example financial functions, it can also be used to match the authentication between devices, such as Bluetooth (Bluetooth) and Wireless Fidelity direct connection (wireless fidelity direct, abbreviation: Wi-Fidirect), etc. .

[0003] 然而,对于一些装置而言,虽然其具有的近场通信功能可便于与其他装置进行认证,但此认证行为通常只是一次性的行为,而导致相当低的近场通信功能使用率。 [0003] However, for some devices, although having a near field communication feature may facilitate authentication with other devices, but this behavior is usually a one-time authentication behavior, resulting in relatively low utilization of the near field communication function. 以蓝牙鼠标与计算机间的配对行为为例,在蓝牙鼠标通过其近场通信功能与计算机配对之后,其近场通信功能几乎不会再有被使用的机会。 Bluetooth pairing behavior between mouse and computer, for example, by pairing Bluetooth mouse after its near field communication function with the computer, which is almost near-field communication function will no longer have the opportunity to be used. 从另一角度而言,设计者虽然在蓝牙鼠标中提高了成本以设置近场通信芯片,但由于此芯片的使用率极低,无形中造成成本的浪费。 From another perspective, although designer increase in the cost of the Bluetooth mouse to set the near-field communication chip, but because this chip usage is very low, virtually wasted costs.

发明内容 SUMMARY

[0004] 有鉴于此,本发明提供一种近场通信延伸方法及延伸装置,可有效提升延伸装置中近场通信功能的使用率。 [0004] Accordingly, the present invention provides a method of extending a near field communication device and the extension, can effectively improve the utilization of the near field communication function extending apparatus.

[0005] 本发明提供一种近场通信延伸方法,适于包括第一近场通信单元、第一通信单元的延伸装置。 [0005] The present invention provides a method of extending a near field communication, comprising a first adapted to near field communication unit, means extending the first communication unit. 所述方法包括下列步骤:控制第一近场通信单元通过近场通信功能与主机装置的第二近场通信单元进行配对操作,以在主机装置的第二通信单元与延伸装置的第一通信单元之间建立基于无线通信协议的第一无线联机。 Said method comprising the steps of: controlling a first near field communication unit operated by a second pair near field communication unit functions with a near field communication host device, the first communication unit to the second communication unit of the apparatus extending in the host device establishing a first wireless connection between the wireless communication protocol based. 接着,判断是否通过近场通信功能接收来自电子装置的配对数据。 Next, it is determined whether the received data from the counterpart electronic apparatus through the near field communication function. 若是,判断第一无线联机是否有效。 If yes, determining whether the first wireless connection is valid. 若是,通过第一无线联机传输配对数据至主机装置。 If the pairing data transmitted through a first wireless connection to a host device.

[0006] 本发明提供一种延伸装置,包括第一近场通信单元、第一通信单元、存储单元以及处理单元。 [0006] The present invention provides an extension device comprising a first near field communication unit, a first communication unit, a storage unit and a processing unit. 存储单元存储多个程序代码。 The storage unit stores a plurality of program codes. 处理单元耦接第一近场通信单元、第一通信单元以及存储单元。 A first processing unit is coupled to the near field communication unit, a first communication unit and a storage unit. 处理单元经配置以存取些程序代码以执行下列步骤。 The processing unit is configured to access some program code to perform the following steps. 首先,处理单元控制第一近场通信单元通过近场通信功能与主机装置的第二近场通信单元进行配对操作,以在主机装置的第二通信单元与延伸装置的第一通信单元之间建立基于无线通信协议的第一无线联机。 First, the processing unit controls the first near field communication unit operated by a second pair near field communication unit that communicates with a host device function near field, to establish communication between the first communication unit and a second unit of the host device extending means wireless connection based on a first wireless communication protocol. 接着,处理单元判断第一近场通信单元是否通过近场通信功能接收来自电子装置的配对数据。 Next, the processing unit determines a first near field communication unit has received the pairing data from the electronic device through a near field communication function. 若是,处理单元判断第一无线联机是否有效。 If yes, the processing unit determines a first wireless connection is valid. 若是,处理单元控制第一通信单元通过第一无线联机传输配对数据至主机装置。 If so, the processing unit controls the first communication unit through the first wireless connection paired data transmission to the host device.

[0007] 基于上述,本发明实施例提供的近场通信延伸方法及延伸装置可在与主机装置通过配对操作建立第一无线联机(例如蓝牙联机)之后,再通过其第一近场通信单元与电子装置建立联机,以从电子装置取得可让主机装置据以与电子装置进行配对的配对数据。 [0007] After the above, the near field communication and a method of extending the extension apparatus according to the embodiments of the present invention may establish a first wireless connection (e.g., Bluetooth connection) by pairing with the host device based on the operation, and then through a first near field communication unit electronic devices to establish a connection to obtain from an electronic device that allows a host device, according to data with the electronic device pairing pairing.

[0008]为让本发明的上述特征和优点能更明显易1m,下文特举实施例,并配合附图作详细说明如下。 [0008] In order to make the above features and advantages of the present invention can be more easily 1m, Laid several embodiments accompanied with figures are described in detail as follows. ^ ^

附图说明 BRIEF DESCRIPTION

[0009]图1是本发明的一实施例示出的近场通信系统示意图; [0009] FIG. 1 is a near field communication system according to the illustrated embodiment of the present invention, a schematic diagram;

[0010]图2A是本发明的一实施例示出的近场通信延伸方法流程图; [0010] FIG 2A is a flowchart illustrating a near field communication according to an embodiment of the present invention extends to a method;

[0011]图2B是本发明的一实施例示出的近场通信延伸方法流程图I [0012]图3A是本发明的一实施例示出的主机装置及延伸装置示意图; [0011] FIG. 2B is a diagram illustrating a near field communication according to embodiments of the present invention extends to a method flowchart of I [0012] FIG 3A is a schematic diagram illustrating a host device according to the present invention and the embodiment of the drawing apparatus;

[0013]图3B是本发明的一实施例示出的主机装置及延伸装置示意图。 [0013] FIG. 3B is a schematic diagram illustrating the host device and the extending apparatus of the present embodiment of the invention.

[0014] 附图标记说明: [0014] REFERENCE NUMERALS:

[0015] 100:近场通信系统; [0015] 100: a near field communication system;

[0016] 110、310:主机装置; [0016] 110, 310: a host device;

[0017] 112:第二通信单元; [0017] 112: second communication unit;

[0018] 114:第二近场通信单元; [0018] 114: second near field communication unit;

[0019] 116、128:处理单元; [0019] 116, 128: processing unit;

[0020] 120、320:延伸装置; [0020] 120, 320: extension means;

[0021] 122:第一通信单元; [0021] 122: a first communication unit;

[0022] 124:第一近场通信单元; [0022] 124: a first near field communication unit;

[0023] 126:存储单元; [0023] 126: storage unit;

[0024] 312:第四通信单元; [0024] 312: the fourth communication unit;

[0025] 322:第三通信单元; [0025] 322: third communication unit;

[0026] WL1:第一无线联机; [0026] WL1: a first wireless connection;

[0027] WL3:第三无线联机; [0027] WL3: third wireless connection;

[0028] S210 〜S270:步骤。 [0028] S210 ~S270: step.

具体实施方式 Detailed ways

[0029]图1是本发明的一实施例示出的近场通信系统示意图。 [0029] FIG. 1 is one case of a near field communication system shown in a schematic embodiment of the present invention. 在本实施例中,近场通信系统100包括主机装置110、延伸装置120以及电子装置130。 In the present embodiment, near field communication system 100 includes a host apparatus 110, the electronic device 120 and extension device 130. 主机装置110、延伸装置120以及电子装置130分别例如是智能手机(smartphone)、平板电脑(tablet)、笔记本电脑(notebook)、个人电脑(personal computer)或掌上电脑(personal digital assistant, 简称:PDA)等装置。 Host device 110, extension device 120 and the electronic apparatus 130 are, for example, a smart phone (Smartphone), tablet (Tablet), notebook computer (Notebook), PC (personal computer) or PDA (personal digital assistant, referred to as: PDA) and other devices.

[0030] 主机装置110包括第二通信单元112、第二近场通信单元114以及处理单元116。 [0030] The host apparatus 110 includes a second communication unit 112, a second near field communication unit 114 and processing unit 116. 延伸装置120可包括第一通信单元122、第一近场通信单元124、存储单元126以及处理单元128。 Extension means 120 may include a first communication unit 122, a first near field communication unit 124, a storage unit 126 and a processing unit 128.

[0031] 在本实施例中,第一通信单元122以及第二通信单元112例如是可依据Wi-Fi直接连接协议、蓝牙协议或其他相似通信协议来相互进行通信的通信组件。 [0031] In the present embodiment, first communication unit 122 and second communication unit 112, for example, be a direct connection protocol, a Bluetooth protocol, or other similar communication protocol based on Wi-Fi communication component to communicate with each other. 第一近场通信单元124以及第二近场通信单元114分别例如是可通过近场通信功能来互相进行数据交换的通信组件。 A first near field communication unit 124, and a second near field communication unit 114, for example, the components may communicate with each other for data exchange through the near field communication function. t〇〇32] 处理单元116耦接第二通信单元112以及第二近场通信单元114。 t〇〇32] processing unit 116 coupled to the second communication unit 112 and the second near field communication unit 114. 处理单元128耦接第一通信单元122、第一近场通信单元1¾以及存储单元I26。 The processing unit 128 is coupled to a first communication unit 122, a first near field communication unit and a storage unit 1¾ I26. 处理单元116以及处理单元128 分别例如是一般用途处理器、特殊用途处理器、传统的处理器、数字信号处理器、多个微处理器(microprocessor)、一个或多个结合数字信号处理器核心的微处理器、控制器、微控制器、特殊应用集成电路(Application Specific Integrated Circuit,简称:ASIC)、现场可编程门阵列电路(Field Programmable Gate Array,简称:FPGA)、任何其他种类的集成电路、状态机、基于进阶精简指令集机器(Advanced RISC Machine,简称:ARM)的处理器以及类似品。 Processing unit 116 and a processing unit 128, respectively, for example, a general purpose processor, a special purpose processor, a conventional processor, a digital signal processor, a plurality of microprocessors (Microprocessor), in conjunction with one or more digital signal processor core microprocessors, controllers, microcontrollers, application specific integrated circuits (application specific Integrated circuit, abbreviated: ASIC), a field programmable gate array circuit (field programmable gate array, abbreviation: FPGA), any other type of integrated circuit, state machine, based on the Advanced RISC machine (Advanced RISC machine, abbreviation: ARM) processor and similar articles. 存储单元126例如是硬盘、固态硬盘(Sol id StateDisk,简称:SSD)或内存等存储媒体。 The storage unit 126 is a hard disk, solid state drive (Sol id StateDisk, abbreviation: SSD), or other memory storage medium. 存储单元I26可存储多个程序代码,而处理单元12S可通过存取这些程序代码来执行本发明实施例提供的近场通信延伸方法,其细节将在之后描述。 The storage unit may store a plurality of program codes I26, 12S and the processing unit may perform a near field communication extension method provided by the embodiment of the present invention, access to these program codes, the details of which will be described later.

[0033]此外,电子装置130中也可包括具有近场通信功能的近场通信单元以及可与主机装置110的第二通信单元112进行例如Wi-Fi通信、蓝牙通信等功能的通信单元。 Near field communication unit [0033] Further, the electronic device 130 may also include a near field communication function and a second communication unit of the host device 110 may be, for example, the communication unit 112 functions Wi-Fi communication, Bluetooth communication and the like.

[0034] 概略而言,本发明实施例提供的延伸装置120可在与主机装置110通过配对操作建立无线联机(例如蓝牙联机)之后,再通过其第一近场通信单元124与电子装置130建立联机,以从电子装置130取得可让主机装置110据以与电子装置130进行配对的配对数据(例如电子装置13〇的身份身份信息等)。 [0034] The schematic, the apparatus provided extending embodiment of the present invention may be 120 after establishing a wireless connection (e.g., Bluetooth connection) pairing with the host device 110 operation, and through which a first near field communication unit 124 and the electronic apparatus 130 establishes online, to obtain from the electronic device 130 may allow the host device 110 data (e.g. the identity information of the identity of the electronic device 13〇 the like) to the pairing data for pairing with the electronic apparatus 130. 接着,延伸装置120可通过先前与主机装置110建立的无线联机(例如蓝牙联机)来将此配对数据传输至主机装置110。 Subsequently, this extension device 120 may be paired data transmission to the host device 110 via the previously established radio connection with the host device 110 (e.g., Bluetooth connection). 换言之,延伸装置120可代替主机装置110与电子装置130进行近场通信功能,进而让主机装置110可依据延伸装置12〇所转传的配对数据(例如电子装置130的身份信息)来与电子装置130进行配对。 In other words, the device 120 may be replaced by extending the host device 110 and the electronic device 130 near field communication function, thereby allowing the host device 110 may be paired data (e.g., identification information of the electronic device 130) based on the extending means 12〇 transmissible to the electronic device 130 pairing. 上述细节请参照下图2及其相关说明。 Please refer to the details and instructions 2 below.

[0035]图2A是本发明的一实施例示出的近场通信延伸方法流程图。 [0035] FIG. 2A is a diagram illustrating a near field communication according to the embodiment of the present invention extends flowchart of a method. 图2A所示的方法可由图1的延伸装置120执行,以下即搭配图1的各个装置及单元来说明本实施例的方法步骤。 The method shown in Figure 2A may be extended execution apparatus 120 of FIG. 1, i.e. with the individual devices and the cell of FIG. 1 will be described the method steps of the present embodiment. [0036] 在步骤S210中,延伸装置120的处理单元128可控制第一近场通信单元124通过近场通信功能与主机装置110的第二近场通信单元114进行配对操作,以在主机装置110的第二通信单元112与延伸装置120的第一通信单元122之间建立基于无线通信协议的第一无线联机WL1。 [0036] In step S210, the processing unit 120 of the extension device 128 may control the first near field communication unit 124 operated by a second pair near field communication unit 114 and the near field communication function of the host device 110 to the host device 110 establishing a first wireless connection WL1 based wireless communication protocol between the first communication unit 122 and second communication unit 112 of the device 120 extends.

[0037]具体而言,当用户将延伸装置120移动至主机装置110附近,使得第一近场通信单元124与第二近场通信单元114之间的距离小于可启动近场通信功能的距离内(例如,20公分)时,延伸装置120的第一近场通信单元124与主机装置110的第二近场通信单元114之间可(自动地)启动各自的近场通信功能,进而进行可用于建立第一无线联机WL1 (例如,蓝牙联机)的数据交换操作(例如,交换身份信息)。 [0037] Specifically, when the user moves the extension device 120 to the vicinity of the host device 110, such that the first near field communication unit 124 and the distance between the second near field communication unit 114 may be less than the starting distance of the near field communication function (e.g., 20 cm), it can be (automatically) to start a respective near field communication function between the second near field communication unit 114 of the first near field communication unit 124 and the host device 110 of the extension device 120, and thus can be used for establishing a first wireless connection WL1 (for example, a Bluetooth connection) data exchange operations (for example, exchange identity information). 接着,延伸装置120的处理单元128以及主机装置110的处理单元116即可分别依据前述交换的数据来对应地设定第一通信单元122以及第二通信单元112,进而让主机装置110以及延伸装置120能够通过第一无线联机WL1(例如, 蓝牙联机)来进行后续的各种文件传输操作(例如文件传输等)。 Next, the processing unit 120 of the extension device 128 and the processing unit 116 of the host apparatus 110 to the data exchange according to each set corresponding to a first communication unit 122 and second communication unit 112, thereby allowing the host device 110 and an extension means 120 can be a variety of subsequent file transfer operations (e.g., file transfer, etc.) via the first wireless connection WL1 (e.g., Bluetooth connection).

[0038]换言之,对使用者而言,用户仅需将延伸装置120摆放至主机装置110的附近,延伸装置120即可自动与主机装置110进行配对而建立例如蓝牙联机的第一无线联机WL1。 [0038] In other words, for the user, the user need only extend to the host device 120 is placed near the apparatus 110, the apparatus 120 extends automatically paired with the host device 110 to establish a first wireless connection for example a Bluetooth connection WL1 .

[0039] 在本实施例中,在主机装置110以及延伸装置120建立第一无线联机WL1之后,用户可通过将延伸装置120摆放至电子装置13〇的行为来触发延伸装置12〇与电子装置130各自的近场通信功能。 [0039] In the present embodiment, after the host apparatus 110 and an extension means 120 to establish a first wireless connection WL1, the user may extend to the display device 120 acts to trigger the electronic device 13〇 extension device and the electronic device 12〇 130 each near field communication function.

[0040] 因此,在步骤S220中,处理单元128可判断第一近场通信单元124是否通过近场通信功能接收来自电子装置130的配对数据。 [0040] Thus, in step S220, the processing unit 128 may determine a first near field communication unit 124 has received the pairing data from the electronic device 130 through near field communication function. 若否,处理单元128可重复进行步骤S220。 If not, the processing unit 128 may be repeated step S220. 另一方面,若处理单元128判断第一近场通信单元124已接收来自电子装置130的配对数据,处理单元128可执行步骤S230以进一步判断所述第一联机是否有效。 On the other hand, if the processing unit 128 determines a first near field communication unit 124 has received data from the paired electronic device 130, the processing unit 128 may perform step S230 to further determine whether the first connection is valid.

[0041] 详细而言,由于第一无线联机WL1可能会随着主机装置110以及延伸装置120之间的距离、通信环境等因素而失效,因此,当延伸装置120接收所述配对数据时,不会立即将此配对数据转传至主机装置110,而将先行判断第一无线联机WL1是否仍为有效。 When [0041] Specifically, since the first wireless connection may WL1 as the distance between the host device 110 and an extension means 120, a communication failure and environmental factors, and therefore, when the extension device 120 receives the pairing data does not this data is transferred immediately transmitted paired host device 110, and the first determining whether the first wireless connection WL1 is still valid. 此外,当用户关闭第一通信单元122或第二通信单元112的其中一者时,也将导致所述第一联机的失效。 Further, when the user closes the first communication unit 122 or the one wherein the second communication unit 112, the first line will also lead to failure. 因此,处理单元128可通过步骤S230来避免无效的数据传输。 Thus, the processing unit 128 may prevent invalid data transmission step S230.

[0042] 当处理单元128判断第一无线联机WL1为无效时,处理单元128可执行步骤S240以存储电子装置130的配对数据于延伸装置120的存储单元126中,并在第一无线联机WL1变为有效时,通过第一无线联机WL1传输配对数据至主机装置110。 [0042] When the processing unit 128 determines a first wireless connection WL1 is invalid, the processing unit 128 to perform pairing step S240 the electronic data storage device 130 in the storage unit 126 extending means 120, and becomes the first wireless connection WL1 is active, a first pair of data transmitted via the wireless connection to the host device WL1 110. 换言之,在第一无线联机WL1 恢复为有效之前,延伸装置120可将配对数据暂存至其存储单元126中。 In other words, the first wireless connection is restored prior to the effective WL1, extension device 120 may be paired temporary data storage unit 126 to store it.

[0043] 另一方面,当处理单元128判断第一无线联机WL1为有效时,处理单元128可执行步骤S2f50,以控制第一通信单元122通过第一无线联机WL1传输配对数据至主机装置110,以配对主机装置110以及电子装置130。 [0043] On the other hand, when the processing unit 128 determines a first wireless connection WL1 is valid, the processing unit 128 may perform step S2f50, to control the first radio communication unit 122 through a first transmission line WL1 paired data to the host apparatus 110, pairing the host device 110 and the electronic apparatus 130. 值得注意的是,延伸装置120的第一通信单元122除了可通过第一无线联机WL1传输所述配对数据之外,也可通过第一无线联机WL1来传递关联于延伸装置12〇本身的软件配置文件(software profile)。 Notably, the first extension device 120 communication unit 122 other than the paired first data transmission by wireless connection WL1, can also be transmitted through a first wireless connection associated WL1 extending in the software itself means arranged 12〇 files (software profile). 举例而言,当主机装置110为计算机而延伸装置120为鼠标时,延伸装置120除了可通过第一无线联机WL1传输所述配对数据之夕卜,当用户移动此鼠标时,其仍可对应地将自身的移动情形通过第一无线联机WL1传输至所述计算机,以让所述计算机能够反应于用户的使用行为而进行例如移动光标的操作。 For example, when the host apparatus 110 and extension device 120 is a computer mouse, extension device 120 in addition to the pairing of a first wireless data transmission through the evening Bu line WL1, when the user moves the mouse, which can still be correspondingly the case of a movement to the computer via a first wireless transmission line WL1 to allow the computer to use in response to behavior of the user to perform operations such as moving the cursor.

[0044] 如此一来,当主机装置110以及电子装置130本身的可移动性较低时,用户仍能够以延伸装置120作为主机装置110以及电子装置130之间进行配对的媒介。 [0044] Thus, when the host device 110 and between the electronic device 130 may itself when mobility is low, the user is still able to extend the apparatus 120 as a host apparatus 110 and the electronic device 130 media pair. 举例而言,当主机装置110为个人电脑,而电子装置130为笔记本电脑时,使用者仅需在通过延伸装置120与主机装置110进行配对之后,即可通过较易于移动的延伸装置120 (例如无线鼠标)来代替主机装置110与电子装置130进行配对。 For example, when the host apparatus 110 is a personal computer, and the electronic device 130 is a notebook computer, the user simply by extending the device 120 after a pair with the host device 110, can extend through the device 120 easier to move (e.g. wireless mouse) instead of the host device 110 and the electronic device 130 are paired.

[0045] 此外,当延伸装置120为较不常使用其近场通信功能的装置时,本发明实施例提供的方法也可提高延伸装置120的近场通信功能及第一通信单元的使用频率。 [0045] Further, when the device is used less frequently near field communication function extending apparatus 120, the present invention provides a method embodiment may also increase the frequency of use of near field communication function extending apparatus 120 and a first communication unit. 举例而言,当延伸装置120为鼠标时,其可能在与主机装置110 (例如计算机)进行配对之后,其近场通信功能可能再也不会被使用。 For example, when the extension device 120 is a mouse, which may be paired with a host device after a 110 (e.g., a computer), a near field communication function which may never be used. 然而,通过本发明实施例提供的方法,可让延伸装置120的近场通信功能可具有其他用途,而不只是仅为了与主机置110配对而设置。 However, the method provided by the embodiment of the present invention, allows a near field communication function extending apparatus 120 may have other uses, not just only the host 110 provided opposing pair.

[0046] 此外,在其他实施例中,设计者可在延伸装置120上进一步设置配对开关,而延伸装置120即可依据所述配对开关的开启或关闭状态来决定在第一无线联机WL1为无效的情况下,是否可与其他装置(例如,电子装置130)进行配对。 [0046] Further, in other embodiments, a designer may extend paired switch means 120 is further provided, and the extension device 120 according to the pairing open or closed state of the switch is determined in a first wireless connection WL1 invalid under the circumstances, whether to pair with another device (e.g., electronic device 130). 在本实施例中,当使用者将所述配对开关切换为开启状态时,代表用户允许延伸装置120与其他装置进行配对。 In the present embodiment, when the user switch to the paired on state, allowing the user to extend the representative device 120 paired with other devices. 而当使用者将所述配对开关切换为关闭状态时,代表即便在第一无线联机WL1为无效的情况下,延伸装置120也不可与其他装置进行配对。 When the user switch to the paired off-state, even in the case where the first representative of WL1 wireless connection as invalid, extension device 120 can not be paired with other devices. 以下将提供详细说明。 The following will provide a detailed description.

[0047]图2B是本发明的一实施例示出的近场通信延伸方法流程图。 [0047] FIG. 2B is a diagram illustrating a near field communication according to the embodiment of the present invention extends flowchart of a method. 图2B所示的方法可由图1的延伸装置120执行,以下即搭配图1的各个装置及单元来说明本实施例的方法步骤。 The method shown in FIG. 2B by extending apparatus 120 of FIG. 1 performs, i.e. with the individual devices and the cell of FIG. 1 will be described the method steps according to the present embodiment. 在本实施例中,步骤S210〜S250的细节可参照图2A实施例中的相关说明,在此不再赘述。 In the present embodiment, details of step S210~S250 embodiment may be described in the relevant embodiment with reference to FIG. 2A, is omitted herein.

[0048] 不同于图2A之处在于,当处理单元128判断所述无线联机为无效时,处理单元128 可接续进行步骤S260,以判断延伸装置120的配对开关是否为开启状态。 [0048] Unlike FIG. 2A in that, when the processing unit 128 determines that the wireless connection is invalid, the processing unit 128 may be performed subsequent step S260, the extension device to the switching pair 120 determines whether the ON state. 若否,处理单元128 可执行相似于图2A所示的步骤S240。 If not, the processing unit 128 may perform similar steps shown in FIG. 2A S240.

[0049] 然而,当处理单元128判断所述配对开关为开启状态时,处理单元128可执行步骤S270以控制第一近场通信单元124通过近场通信功能与电子装置130依据配对数据建立基于无线通信协议的第二无线联机(例如为蓝牙联机)。 [0049] However, when the processing unit 128 determines the matching switch is turned on, the processing unit 128 may perform step S270 to control the first near field communication unit 124 via a near field communication function and the electronic apparatus 130 establish a basis for pairing based on wireless data a second wireless communication connection protocol (e.g., Bluetooth connection). 换言之,当使用者在第一无线联机WL1 为无效且所述配对开关为开启状态的情况下,将延伸装置120移动至足以触发与电子装置130之间近场通信功能的距离(例如,20公分)内时,延伸装置120将自动与电子装置130进行前述教示的配对操作。 In other words, in the case where the user of the first wireless connection WL1 invalid and the pairing function is enabled, the distance is sufficient to trigger the mobile device 120 to the electronic device 130 and the near field communication function will be extended (e.g., 20 cm time), the extension device 120 will automatically operate the teachings pairing with the electronic apparatus 130. 也就是说,此时延伸装置120不再是作为主机装置110以及电子装置130之间进行配对操作的媒介,而将直接与电子装置130进行配对而建立所述第二无线联机(例如为蓝牙联机)。 That is, at this time extension device 120 is not operating as an intermediary between the paired host device 110 and the electronic apparatus 130, and the pairing with the electronic device 130 directly to the second wireless connection is established (e.g., a Bluetooth connection ).

[0050] 虽然在先前实施例中已教示延伸装置120可通过第一无线联机WL1来传输配对数据及自身的软件配置文件(例如鼠标的移动情形),但在其他实施例中,主机装置110以及延伸装置120可额外配置其他的通信单元,用以在主机装置110以及延伸装置120之间建立其他的联机,进而区隔配对数据以及所述软件配置文件的传输路径。 [0050] While the apparatus has been taught extension device 120 may transmit the pairing data and its own software configuration files (e.g., moving the case of the mouse) through the first wireless line WL1 previous embodiment, in other embodiments, the host 110, and in extension device 120 may additionally configure other communication unit to the host device 110 and transmission path 120 extending between the apparatus create another connection, and thus the pairing segment and the software configuration data file.

[0051] 图3A是本发明的一实施例示出的主机装置及延伸装置示意图。 [0051] FIG 3A is a schematic diagram illustrating the host device and the extending apparatus of the present embodiment of the invention. 在本实施例中,延伸装置320除了包括图1中延伸装置120的所有组件之外,还包括连接至处理单元128的第三通信单元322。 In the present embodiment, the drawing apparatus 320 in FIG. 1 comprises in addition to all components of the drawing apparatus 120, connected to the processing unit further comprises a third communication unit 128, 322. 相似地,主机装置310除了包括图1中主机装置110的所有组件之外,还包括连接至处理单元116的第四通信单元312。 Similarly, the host device 310 in addition to including all of the components in FIG 1 outside the host device 110, further comprising fourth communication means connected to the processing unit 312 116.

[0052] 相似于先前实施例中所教示的内容,第一近场通信单元124可与第二近场通信单元114进行配对而建立第一通信单元122以及第二通信单元112之间的第一无线联机WL1。 [0052] Similar to the embodiment exemplified in the previous embodiments taught, the first near field communication unit 124 may be paired with a second near field communication unit 114 to establish a first communication means between the first 122 and the second communication unit 112 wireless online WL1. 同时,第三通信单元322以及第四通信单元312也可通过第一近场通信单元124可与第二近场通信单元114所进行的配对操作而建立第三无线联机WL3。 Meanwhile, the third communication unit 322 and a fourth communication unit 312 may also be paired with the operation of the second near field communication unit 114 for establishing a third wireless connection WL3 through a first near field communication unit 124. 如此一来,主机装置310与延伸装置320之间即可通过第一无线联机WL1以及第三无线联机WL3来分别传送配对数据以及软件配置文件,进而区隔此二种数据的传输路径。 Thus, to transmit the pairing data, and software configuration files respectively to the first wireless connection WL1 and WL3 third wireless connection between the host device 310 and extension device 320, and further the transmission path Segments The two kinds of data.

[0053]图3B是本发明的一实施例示出的主机装置及延伸装置示意图。 [0053] FIG. 3B is a schematic diagram illustrating the host device and the extending apparatus of the present embodiment of the invention. 不同于图3A之处在于,本实施例的第三通信单元322未连接至处理单元128,而是连接至第一近场通信单元1M。 It differs from that of FIG. 3A, a third embodiment according to the present embodiment of the communication unit 322 is not connected to the processing unit 128, but is connected to a first near field communication unit 1M. 在本实施例中,主机装置310与延伸装置320之间仍可通过第一无线联机WL1以及第三无线联机WL3来分别传送配对数据以及软件配置文件,进而区隔此二种数据的传输路径。 In the present embodiment, extending between the host device 310 through the first wireless device 320 is still online WL1 and WL3 to transmit a third wireless connection pairing data, and software configuration files, respectively, and further the transmission path Segments The two kinds of data. [0054]综上所述,本发明实施例提供的延伸装置及其近场通信延伸方法可在与主机装置通过配对操作建立第一无线联机(例如蓝牙联机)之后,再通过其第一近场通信单元与电子装置建立联机,以从电子装置取得可让主机装置据以与电子装置进行配对的配对数据。 [0054] In summary, embodiments of the present invention extends near field communication device and method provided may extend after establishing a first wireless connection (e.g., Bluetooth connection) with the host device through the pairing operation, and then through a first near field the communication unit establishes a connection with the electronic device, to obtain from the electronic device enables the host device to the paired data paired with an electronic device data. 接着,延伸装置可通过先前与主机装置建立的第一无线联机来将此配对数据传输至主机装置。 Subsequently, this extension device may be paired data transmission to the host device via the first wireless connection previously established with the host device. 换言之,延伸装置可代替主机装置与电子装置进行近场通信功能,进而让主机装置可依据延伸装置所转传的配对数据来与电子装置进行配对。 In other words, the host device can replace device extends near field communication function with the electronic device, thereby allowing the host device to be paired with the paired electronic device according to the transmissible data extending means. 如此一来,当主机装置以及电子装置本身的可移动性较低时,用户仍能够以延伸装置作为主机装置以及电子装置之间进行配对的媒介。 Thus, when the movable device and of an electronic host device itself is low, the user is still able to extend as a means of pairing between the media host device and the electronic device.

[0055]最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 [0055] Finally, it should be noted that: the above embodiments only describe the technical solutions in embodiments of the present invention, rather than limiting;. Although the embodiments of the present invention has been described in detail, those of ordinary skill in the art should appreciated: it still may be made to the technical solutions described embodiments modifications, or to some or all of the technical features equivalents; as such modifications or replacements do not cause the essence of corresponding technical solutions to depart from embodiments of the present invention range of technical solutions.

Claims (4)

  1. 1.一种近场通信延伸方法,其特征在于,适于包括一第一近场通信单元、一第一通信单元的一延伸装置,所述方法包括: 控制该第一近场通信单元通过一近场通信功能与一主机装置的一第二近场通信单元进行一配对操作,以在该主机装置的一第二通信单元与该延伸装置的该第一通信单元之间建立基于一无线通信协议的一第一无线联机; 判断是否通过该近场通信功能接收来自一电子装置的一配对数据; 若是,判断该第一无线联机是否有效;以及若是,控制该第一通信单元通过该第一无线联机传输该配对数据至该主机装置; 其中,判断该第一无线联机是否有效的步骤之后,还包括: 当该第一无线联机为无效时,判断该延伸装置的一配对开关是否为一开启状态; 若是,控制该第一近场通信单元通过该近场通信功能与该电子装置依据该配对数据建立基于 CLAIMS 1. A method of extending a near field communication, wherein the apparatus is adapted to an extension comprising a first near field communication unit, a first communication unit, the method comprising: controlling the first through a near field communication unit a near field communication function pairing operation and a second near field communication unit a host device to establish a wireless communication protocol based on the first communication means between the apparatus and extending in a second communication unit of the host device a first wireless connection; determining whether a received data from a pairing of the electronic device through the near field communication function; if yes, determining whether the first wireless connection is valid; and if yes, the first control unit through the first wireless communication the transmission line pairing data to the host apparatus; wherein, after determining that the wireless connection is valid first step, further comprising: when the first wireless connection is invalid, determining whether a pair of the switching device extending on state whether a ; if, the first control unit via the near field communication function to establish a near field communication based on the electronic device according to the paired data 无线通信协议的一第二无线联机。 A second wireless communication protocol is a wireless connection.
  2. 2. 根据权利要求1所述的方法,其特征在于,在判断该延伸装置的该配对开关是否为该开启状态的步骤之后,还包括: 当该配对开关不为该开启状态时,存储该电子装置的该配对数据于该延伸装置的一存储单元中,并在该第一无线联机变为有效时,控制该第一通信单元通过该第一无线联机传输该配对数据至该主机装置。 After 2. The method according to claim 1, wherein, in the determining the pairing means extending switch is the ON state for the step, further comprising: when the switch is not paired on-state for storing the electronic the pairing data in a memory unit means of the extending device, and the first wireless connection becomes active, controlling the first communication unit transmits the data to the paired host device via the first wireless connection.
  3. 3. —种延伸装置,其特征在于,包括: 一第一模塊,用於控制一第一近场通信单元通过一近场通信功能与一主机装置的一第二近场通信单元进行一配对操作,以在该主机装置的一第二通信单元与该延伸装置的一第一通信单兀之间建立基于一无线通信协议的一第一无线联机; 一第二模塊,用於判断该第一近场通信单元是否通过该近场通信功能接收来自一电子装置的一配对数据; 一第三模塊,若是,用於判断该第一无线联机是否有效; 一第四模塊,若是,用於控制该第一通信单元通过该第一无线联机传输该配对数据至该主机装置; 一第五模塊,当该第一无线联机为无效时,用於判断该延伸装置的一配对开关是否为一开启状态;以及一第六模塊,若是,用於控制该第一近场通信单元通过该近场通信功能与该电子装置依据该配对数据建立基于该无线通 3. -, and extend apparatus comprising: a first module for controlling a first near field communication unit performs a pairing operation and a near field communication unit a second host device through a near field communication function to establish a wireless connection based on a first wireless communication protocol between a communication unit of the second host device and a first communication device that extends the single-Wu; a second module for determining the first near a field communication unit has received data from a pairing of the electronic device through the near field communication function; a third module, if so, for determining whether the first wireless connection is available; a fourth module, if so, for controlling said first a communication unit for transmission via the first wireless connection to the paired data to the host device; a fifth module, when the first wireless connection is valid, for determining a pairing of the switching device extending whether an open state; a sixth module, if, for controlling the first means to establish a near field communication based on the wireless communication function through the near field communication with the electronic device according to the paired data 协议的一第二无线联机。 A second wireless connection protocol.
  4. 4. 根据权利要求3所述的延伸装置,其特征在于,还包括: 一第七模塊,当该配对开关不为该开启状态时,用於存储该电子装置的该配对数据于该延伸装置的一存储单元中,并在该第一无线联机变为有效时,控制该第一通信单元通过该第一无线联机传输该配对数据至该主机装置。 4. The extension device according to claim 3, characterized in that, further comprising: a seventh module, when the ON state for the switch is not paired, pairing for storing the data of the electronic device to the extending means a storage unit, and when the first radio connection becomes effective, controls the first communication unit transmits the data to the paired host device via the first wireless connection.
CN 201310534396 2013-11-01 2013-11-01 Near field communication method and extension means extending CN104601200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310534396 CN104601200B (en) 2013-11-01 2013-11-01 Near field communication method and extension means extending

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201310534396 CN104601200B (en) 2013-11-01 2013-11-01 Near field communication method and extension means extending

Publications (2)

Publication Number Publication Date
CN104601200A true CN104601200A (en) 2015-05-06
CN104601200B true CN104601200B (en) 2017-08-04

Family

ID=53126753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310534396 CN104601200B (en) 2013-11-01 2013-11-01 Near field communication method and extension means extending

Country Status (1)

Country Link
CN (1) CN104601200B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101843124A (en) * 2007-10-31 2010-09-22 摩托罗拉公司 Negotiation of a short range wireless communication parameters using configuration data received through RFID
US8014722B2 (en) * 2005-06-23 2011-09-06 Microsoft Corporation Provisioning of wireless connectivity for devices using NFC
CN102857266A (en) * 2011-06-29 2013-01-02 美国博通公司 Secure communications via NFC device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8014722B2 (en) * 2005-06-23 2011-09-06 Microsoft Corporation Provisioning of wireless connectivity for devices using NFC
CN101843124A (en) * 2007-10-31 2010-09-22 摩托罗拉公司 Negotiation of a short range wireless communication parameters using configuration data received through RFID
CN102857266A (en) * 2011-06-29 2013-01-02 美国博通公司 Secure communications via NFC device

Also Published As

Publication number Publication date Type
CN104601200A (en) 2015-05-06 application

Similar Documents

Publication Publication Date Title
US8667607B2 (en) Trusted security zone access to peripheral devices
US20130331028A1 (en) Connection Tethering and Service Remoting
US20140065962A1 (en) System and method for conducting wireless communications
US8910868B1 (en) Firmware management
US20100259491A1 (en) System and method for controlling mobile devices
US20120083208A1 (en) Wireless accessory device pairing transfer between multiple host devices
US20100211685A1 (en) Pairing exchange
US20140206288A1 (en) Device, method, and system for securely pairing mobile communication devices using movement
CN103209007A (en) Bluetooth device quick pairing method and Bluetooth device
US20140154979A1 (en) Method and system for controlling operations in a mobile communication device that is enabled for near field communication (nfc)
US20150134510A1 (en) Systems and methods for reporting a user interface status
US20140032955A1 (en) Method, device, and system for delaying packets during a network-triggered wake of a computing device
CN102546649A (en) Application transfer method, device and system
JP2009237930A (en) Application transfer system, and application transfer method and program
US20160014545A1 (en) Automatic connection of bluetooth human interface devices
US20130238820A1 (en) Mobile device and usb system including the same
US8532706B2 (en) Techniques to manage a subscriber identity module for a mobile wireless device
US20150363599A1 (en) Mechanisms for controlling tag personalization
US20150235055A1 (en) Method and apparatus for processing biometric information in electronic device
CN102932036A (en) Near field communication (NFC) device and NFC method
US20130252545A1 (en) Methods and Appliances for Forwarding Communication Between Electronic Appliances
US20160154494A1 (en) Screen configuration method, electronic device, and storage medium
CN104598286A (en) Software updating method and device for mobile terminal
JP2008153911A (en) Communication system, communication terminal, communication method and communication program
CN103517451A (en) Device for achieving Bluetooth connecting request quick automatic sending and device for receiving connecting request

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01