Movatterモバイル変換


[0]ホーム

URL:


CN103916162B - Terminal equipment and NFC method for same - Google Patents

Terminal equipment and NFC method for same
Download PDF

Info

Publication number
CN103916162B
CN103916162BCN201310612096.2ACN201310612096ACN103916162BCN 103916162 BCN103916162 BCN 103916162BCN 201310612096 ACN201310612096 ACN 201310612096ACN 103916162 BCN103916162 BCN 103916162B
Authority
CN
China
Prior art keywords
area
file
pairing
name
terminal device
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201310612096.2A
Other languages
Chinese (zh)
Other versions
CN103916162A (en
Inventor
徐少非
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BYD Co Ltd
Original Assignee
BYD Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BYD Co LtdfiledCriticalBYD Co Ltd
Priority to CN201310612096.2ApriorityCriticalpatent/CN103916162B/en
Publication of CN103916162ApublicationCriticalpatent/CN103916162A/en
Application grantedgrantedCritical
Publication of CN103916162BpublicationCriticalpatent/CN103916162B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明提出一种用于终端设备的近距离无线通信方法,终端设备设置有配对区,包括如下步骤:启动近距离无线通信NFC功能并搜索周边具有NFC标签的配对设备;获取配对设备的名称和信号强度,并将配对设备的名称根据信号强度由强到弱进行排序以生成设备列表,并显示设备列表;当检测到当前界面包括配对区与设备列表,且接收到第一触发信号时,检测第一触发信号的触发位置对应的设备列表中的设备名称,并将其对应的图标移动到配对区;然后,自动向触发的配对设备发送配对指令,当触发的配对设备与当前终端设备预设密码相同时,则建立NFC通信连接。采用该方法能够提升用户体验,使终端与用户之间的交互性更加灵活。本发明同时提出一种终端设备。

The present invention proposes a short-distance wireless communication method for terminal equipment. The terminal equipment is provided with a pairing area, which includes the following steps: starting the short-distance wireless communication NFC function and searching for surrounding pairing devices with NFC tags; obtaining the name and name of the pairing device. Signal strength, and sort the names of the paired devices according to the signal strength from strong to weak to generate a device list, and display the device list; when it is detected that the current interface includes the pairing area and the device list, and the first trigger signal is received, the detection The device name in the device list corresponding to the trigger position of the first trigger signal, and its corresponding icon is moved to the pairing area; then, automatically send a pairing instruction to the triggered paired device, when the triggered paired device is preset with the current terminal device When the passwords are the same, an NFC communication connection is established. Adopting this method can improve user experience and make the interaction between the terminal and the user more flexible. The present invention also proposes a terminal device.

Description

Translated fromChinese
用于终端设备的近距离无线通信方法及终端设备Short-distance wireless communication method for terminal equipment and terminal equipment

技术领域technical field

本发明涉及无线通讯技术领域,尤其涉及一种用于终端设备的近距离无线通信方法及一种终端设备。The present invention relates to the technical field of wireless communication, in particular to a short-distance wireless communication method for terminal equipment and a terminal equipment.

背景技术Background technique

NFC(Near Field Communication,近距离无线通讯技术)是一种短距离的高频无线通信技术,是一种非接触式识别和互联技术,允许电子设备之间进行非接触式点对点数据传输,可以在移动设备、消费类电子产品、PC和智能控件工具间进行近距离无线通信。NFC提供了一种简单、触控式的解决方案,可以让消费者简单直观地交换信息、访问内容与服务。但是,现有的应用近距离无线通讯技术的用户界面设计都比较死板,如图1所示,与用户的交互性不高,界面显示比较单调,不能使用户感受更加明确和生动的NFC技术所能体现的近距离互动的乐趣和价值。NFC (Near Field Communication, short-distance wireless communication technology) is a short-range high-frequency wireless communication technology. It is a non-contact identification and interconnection technology that allows non-contact point-to-point data transmission between electronic devices. Near-field wireless communication between mobile devices, consumer electronics, PCs, and smart control tools. NFC provides a simple, touch-based solution that allows consumers to exchange information and access content and services simply and intuitively. However, the existing user interface design using short-range wireless communication technology is relatively rigid, as shown in Figure 1, the interaction with the user is not high, the interface display is relatively monotonous, and it cannot make the user feel more clear and vivid. Can reflect the fun and value of close interaction.

发明内容Contents of the invention

本发明旨在至少在一定程度上解决上述技术问题之一或至少提供一种有用的商业选择。为此,本发明的第一个目的在于提出一种用于终端设备的近距离无线通信方法,该方法能够提升用户体验,使终端与用户之间的交互性更加灵活。本发明的第二个目的在于提出一种终端设备。The present invention aims at solving one of the above technical problems at least to a certain extent or at least providing a useful commercial choice. Therefore, the first object of the present invention is to propose a short-range wireless communication method for a terminal device, which can improve user experience and make the interaction between the terminal and the user more flexible. The second object of the present invention is to provide a terminal device.

为实现上述目的,本发明第一方面的实施例提出一种用于终端设备的近距离无线通信方法,所述终端设备设置有配对区,所述方法包括如下步骤:启动近距离无线通信NFC功能,并搜索周边具有NFC标签的配对设备;获取所述配对设备的名称和信号强度,并将所述配对设备的名称根据信号强度由强到弱进行排序以生成设备列表,并显示所述设备列表,其中,所述配对区与所述设备列表位于同一层显示界面中;当检测到当前界面包括所述配对区与所述设备列表,且接收到第一触发信号时,检测所述第一触发信号的触发位置对应的所述设备列表中的设备名称,并将所述设备名称对应的图标移动到所述配对区;以及在将触发的所述设备名称对应的图标移动到所述配对区后,自动向触发的配对设备发送配对指令,当所述触发的配对设备与当前终端设备预设密码相同时,则对所述触发的配对设备与当前终端设备建立的NFC通信连接。In order to achieve the above object, the embodiment of the first aspect of the present invention proposes a short-range wireless communication method for a terminal device, the terminal device is provided with a pairing area, and the method includes the following steps: activating the short-range wireless communication NFC function , and search for paired devices with NFC tags around; obtain the name and signal strength of the paired device, and sort the name of the paired device according to the signal strength from strong to weak to generate a device list, and display the device list , wherein the pairing area and the device list are located in the same display interface; when it is detected that the current interface includes the pairing area and the device list and a first trigger signal is received, the first trigger is detected The trigger position of the signal corresponds to the device name in the device list, and the icon corresponding to the device name is moved to the pairing area; and after the triggered icon corresponding to the device name is moved to the pairing area , automatically send a pairing instruction to the triggered pairing device, and when the triggered pairing device has the same preset password as the current terminal device, establish an NFC communication connection between the triggered pairing device and the current terminal device.

根据本发明实施例的用于终端设备的近距离无线通信方法,在终端设备中设置配对区,用户可以更加方便地将终端设备与配对设备进行配对,所以本发明的方法更加直观、更加方便用户进行文件的共享,提升了用户体验。此外,该方法更便于设备之间通过NFC技术进行娱乐和分享。According to the short-distance wireless communication method for terminal devices in the embodiment of the present invention, a pairing area is set in the terminal device, and the user can pair the terminal device with the pairing device more conveniently, so the method of the present invention is more intuitive and user-friendly File sharing improves user experience. In addition, this method is more convenient for entertainment and sharing between devices through NFC technology.

本发明的第二方面实施例提出一种终端设备,包括:近距离无线通信NFC模块,用于执行NFC功能,并搜索周边具有NFC标签的配对设备,获取所述配对设备的名称和信号强度;存储模块,用于存储搜索到的所述配对设备的名称;控制模块,用于将所述配对设备的名称根据信号强度由强到弱进行排序以生成设备列表;显示模块,用于显示所述设备列表和配对区,其中,所述配对区与所述设备列表位于同一层显示界面中,所述控制模块还用于检测到当前界面包括所述配对区与所述设备列表,且接收到第一触发信号时,检测所述第一触发信号的触发位置对应的所述设备列表中的设备名称,并将所述设备名称对应的图标移动到所述配对区,自动向触发的配对设备发送配对指令,当所述触发的配对设备与当前终端设备预设密码相同时,则对所述触发的配对设备与当前终端设备建立的NFC通信连接。The embodiment of the second aspect of the present invention proposes a terminal device, including: a short-range wireless communication NFC module, configured to perform an NFC function, and search for paired devices with NFC tags in the surrounding area, and obtain the name and signal strength of the paired device; a storage module, configured to store the searched names of the paired devices; a control module, configured to sort the names of the paired devices according to signal strength from strong to weak to generate a device list; a display module, configured to display the A device list and a pairing area, wherein the pairing area and the device list are located in the same display interface, and the control module is further configured to detect that the current interface includes the pairing area and the device list, and receives the first When a trigger signal is detected, the device name in the device list corresponding to the trigger position of the first trigger signal is detected, and the icon corresponding to the device name is moved to the pairing area, and the pairing device is automatically sent to the triggered pairing device. An instruction, when the preset password of the triggered pairing device and the current terminal device is the same, establish an NFC communication connection between the triggered pairing device and the current terminal device.

根据本发明实施例的终端设备,通过显示模块显示共享区,方便用户进行文件共享,并且更加直观。通过控制模块根据配对设备的信号强弱进行排序,更加人性化。此外,采用本发明的终端设备,提升了用户体验。According to the terminal device in the embodiment of the present invention, the sharing area is displayed through the display module, which is convenient for users to share files and is more intuitive. It is more humanized to sort according to the signal strength of the paired devices through the control module. In addition, using the terminal device of the present invention improves user experience.

本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and comprehensible from the description of the embodiments in conjunction with the following drawings, wherein:

图1是现有的搜索的配对设备的列表的示意图;FIG. 1 is a schematic diagram of an existing searched list of paired devices;

图2是根据本发明实施例的用于终端设备的近距离无线通信方法的流程图;FIG. 2 is a flowchart of a short-range wireless communication method for a terminal device according to an embodiment of the present invention;

图3是根据本发明的一个实施例的配对区和配对设备区的示意图;Fig. 3 is a schematic diagram of a pairing area and a pairing device area according to an embodiment of the present invention;

图4是根据本发明的一个实施例的将配对设备区的设备名称移动到配对区的示意图;Fig. 4 is a schematic diagram of moving the device name of the paired device area to the paired area according to an embodiment of the present invention;

图5是根据本发明的另一个实施例的共享区的示意图;Fig. 5 is a schematic diagram of a shared area according to another embodiment of the present invention;

图6是根据本发明的一个实施例的共享区与文件列表区的示意图;Fig. 6 is a schematic diagram of a shared area and a file list area according to an embodiment of the present invention;

图7是根据本发明的一个实施例的配对设备接收共享文件的NFC文件区的示意图;以及FIG. 7 is a schematic diagram of a paired device receiving an NFC file area of a shared file according to an embodiment of the present invention; and

图8是根据本发明实施例的终端设备的结构模块的示意图。Fig. 8 is a schematic diagram of structural modules of a terminal device according to an embodiment of the present invention.

具体实施方式detailed description

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”、“顺时针”、“逆时针”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In describing the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " Orientation or position indicated by "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc. The relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, therefore It should not be construed as a limitation of the present invention.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.

在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise clearly specified and limited, terms such as "installation", "connection", "connection" and "fixation" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection , or integrally connected; it may be mechanically connected or electrically connected; it may be directly connected or indirectly connected through an intermediary, and it may be the internal communication of two components. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention according to specific situations.

在本发明中,除非另有明确的规定和限定,第一特征在第二特征之“上”或之“下”可以包括第一和第二特征直接接触,也可以包括第一和第二特征不是直接接触而是通过它们之间的另外的特征接触。而且,第一特征在第二特征“之上”、“上方”和“上面”包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度小于第二特征。In the present invention, unless otherwise clearly specified and limited, a first feature being "on" or "under" a second feature may include direct contact between the first and second features, and may also include the first and second features Not in direct contact but through another characteristic contact between them. Moreover, "above", "above" and "above" the first feature on the second feature include that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. "Below", "below" and "under" the first feature to the second feature include that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is less horizontal than the second feature.

下面参照附图描述根据本发明第一方面实施例提出的用于终端设备的近距离无线通信方法。The short-range wireless communication method for a terminal device according to an embodiment of the first aspect of the present invention is described below with reference to the accompanying drawings.

如图2所示,本发明实施例的用于终端设备的近距离无线通信方法,包括以下步骤:其中,终端设备中设置有配对区,As shown in FIG. 2, the short-range wireless communication method for a terminal device according to an embodiment of the present invention includes the following steps: wherein, a pairing area is set in the terminal device,

S201,启动近距离无线通信NFC功能,并搜索周边具有NFC标签的配对设备。S201, start the short-range wireless communication NFC function, and search for surrounding paired devices with NFC tags.

启动终端设备中的近距离无线通信NFC功能,当NFC功能启动后,自动搜索周围具有NFC标签的配对设备,用于与终端设备进行配对。需要说明的是,具有NFC标签的配对设备的NFC功能需要开启,才能被终端设备搜索到,并进行配对。Start the short-range wireless communication NFC function in the terminal device. When the NFC function is started, it will automatically search for paired devices with NFC tags around it for pairing with the terminal device. It should be noted that the NFC function of the paired device with the NFC tag needs to be turned on, so that it can be searched by the terminal device and paired.

S202,获取配对设备的名称和信号强度,并将配对设备的名称根据信号强度由强到弱进行排序以生成设备列表,并显示设备列表,其中,配对区与设备列表位于同一层显示界面中。S202. Obtain the names and signal strengths of the paired devices, sort the names of the paired devices according to the signal strength from strong to weak to generate a device list, and display the device list, wherein the pairing area and the device list are located in the same display interface.

终端设备的NFC功能启动后,搜索周边具有NFC标签的配对设备时,获得搜索到的配对设备的名称和其信号强度,并将配对设备的名称根据信号强度由强到弱进行排序。需要说明的是,优选地将配对设备的名称根据信号强度进行排序,其次可以按照是否已经配对成功即已经保存过配对密码进行排序,也就是与终端设备建立过NFC连接的设备比从未与终端设备建立过NFC连接的设备排在前面。对于用户之间进行近距离传输文件时,大部分用户会在近距离使用,也就是说在两个设备靠近的情况下进行尝试连接配对活动,而距离越近设备信号强度会更加强,所以优先以信号强弱进行排序更加合理,更加人性化。另外,配对设备都会有对于周边设备进行测距的功能,获取设备信号强度可以通过测距功能实现,例如蓝牙是通过RSSI(Received Signal Strength Indication,接收的信号强度指示)值来确定信号强度。After the NFC function of the terminal device is activated, when searching for paired devices with NFC tags in the surrounding area, the names and signal strengths of the found paired devices are obtained, and the names of the paired devices are sorted from strong to weak according to the signal strength. It should be noted that, preferably, the names of the paired devices are sorted according to the signal strength, and secondly, they can be sorted according to whether the pairing has been successful, that is, the pairing password has been saved, that is, the device that has established an NFC connection with the terminal device is more than the device that has never connected with the terminal device. Devices that have established an NFC connection are listed first. For short-distance file transfer between users, most users will use it at close range, that is to say, try to connect and pair when two devices are close together, and the closer the distance, the stronger the signal strength of the device, so priority Sorting by signal strength is more reasonable and more humane. In addition, the paired device will have the function of measuring the distance of the peripheral device, and the signal strength of the device can be obtained through the distance measurement function. For example, Bluetooth determines the signal strength through the RSSI (Received Signal Strength Indication) value.

如图3所示,将配对设备的名称根据信号强度由强到弱进行排序后,同时会生成设备列表,并显示设备列表,终端设备的配对区B与设备列表区A位于同一层显示界面中。As shown in Figure 3, after sorting the names of the paired devices according to the signal strength from strong to weak, a device list will be generated and displayed at the same time. The pairing area B of the terminal device and the device list area A are located in the same display interface .

S203,当检测到当前界面包括配对区与设备列表,且接收到第一触发信号时,检测第一触发信号的触发位置对应的设备列表中的设备名称,并将设备名称对应的图标移动到配对区。S203, when it is detected that the current interface includes a pairing area and a device list, and the first trigger signal is received, detect the device name in the device list corresponding to the trigger position of the first trigger signal, and move the icon corresponding to the device name to pairing Area.

将配对设备名称按照信号强弱形成设备列表,当检测到当前界面中包括终端设备的配对区和配对设备名称形成的设备列表时,可以触发设备列表中的一个配对设备的名称,即发出第一触发信号,当终端设备接收到第一触发信号时,检测第一触发信号的触发位置对应的设备列表中的设备名称,即确定选择的配对设备的名称,并将设备名称对应的图标移动到配对区,即将选择的配对设备与终端设备进行配对,发出配对请求。如图4所示,根据第一触发信号的触发位置在设备列表A区里面选择名称为A1配对设备,将A1移动到配对区B区,请求配对。The name of the paired device is formed into a device list according to the signal strength. When the device list formed by the pairing area and the name of the paired device is detected in the current interface, it can trigger the name of a paired device in the device list, that is, send out the first Trigger signal, when the terminal device receives the first trigger signal, detect the device name in the device list corresponding to the trigger position of the first trigger signal, that is, determine the name of the selected paired device, and move the icon corresponding to the device name to the pairing Area, that is to pair the selected pairing device with the terminal device and send a pairing request. As shown in Figure 4, according to the trigger position of the first trigger signal, select the pairing device named A1 in the device list A area, move A1 to the pairing area B, and request pairing.

S204,在将触发的设备名称对应的图标移动到配对区后,自动向触发的配对设备发送配对指令,当触发的配对设备与当前终端设备预设密码相同时,则对触发的配对设备与当前终端设备建立NFC通信连接。S204. After moving the icon corresponding to the triggered device name to the pairing area, automatically send a pairing instruction to the triggered paired device. The terminal device establishes an NFC communication connection.

在将触发的设备名称对应的图标移动到配对区后,终端设备会自动向触发的配对设备发送配对指令,配对设备接收的配对指令与终端设备的预设密码相同时,才能配对成功。配对设备与当前终端设备建立NFC通信连接即进行配对是通过配对指令确认的方式进行,例如支付宝为计程车支付,当终端与支付端配对时可以使用终端绑定支付宝的账号,当进行支付时,终端界面弹出支付宝密码即配对指令对话框进行配对,当输入支付宝密码即配对指令正确时,才能支付成功,即配对成功。再比如门禁系统中使用终端与门禁配对时,若需要密码或指纹即配对指令则有密码或指纹提示,若已经识别即配对成功则门禁自动打开。当触发的配对设备与当前终端设备预设密码相同时,则对触发的配对设备与当前终端设备建立NFC通信连接,即配对成功。如图4所示,在设备列表区A区选择配对设备A1后,将设备A1移动到配对区B区进行配对,终端设备向配对设备A1发出配对指令即预设密码,配对设备A1输入正确的密码,则配对设备A1与当前终端设备之间就建立了NFC通信连接,可以进行近距离通信。After moving the icon corresponding to the triggered device name to the pairing area, the terminal device will automatically send a pairing instruction to the triggered pairing device, and the pairing can only be successful when the pairing instruction received by the paired device is the same as the preset password of the terminal device. The pairing device establishes an NFC communication connection with the current terminal device, that is, the pairing is performed through the confirmation of the pairing command. For example, Alipay pays for a taxi. When the terminal is paired with the payment terminal, the terminal can be used to bind the Alipay account. When making payment, the terminal The Alipay password is the pairing instruction dialog box pops up on the interface for pairing. When the Alipay password is entered and the pairing instruction is correct, the payment can be successful, that is, the pairing is successful. Another example is when using the terminal in the access control system to pair with the access control. If a password or fingerprint is required, the pairing command will be prompted with a password or fingerprint. If the pairing is successful, the access control will automatically open. When the preset password of the triggered pairing device is the same as that of the current terminal device, an NFC communication connection is established between the triggered pairing device and the current terminal device, that is, the pairing is successful. As shown in Figure 4, after selecting the pairing device A1 in the device list area A, move the device A1 to the pairing area B for pairing, the terminal device sends a pairing command to the pairing device A1, which is the preset password, and the pairing device A1 enters the correct password, then the NFC communication connection is established between the paired device A1 and the current terminal device, and short-distance communication can be performed.

当前终端设备与配对设备配对成功后,在终端设备的界面右边会出现设备A1区域为虚拟的配对设备A1,把此虚拟的区域称之为设备控制区。即在触发的配对设备与当前终端设备建立NFC通信连接之后,在界面上设置并显示触发的配对设备对应的设备控制区。另外,在终端设备与配对设备成功建立NFC连接后,显示界面还包括共享区,共享区用于显示共享文件的名称。当终端设备接收到第一指令时,将共享区与设备控制区设置在同一界面显示。其中,第一指令是指终端设备与配对设备成功建立NFC连接的信号,也就是说终端设备与配对设备成功配对后可以使共享区与设备控制区在同一界面显示。如图5所示,共享区与配对区和设备列表位于不同层显示界面,并且共享区不会消失,除了手动取消配对外,这种设计为用户进行设备文件共享提供了便利性,这种方式可以适用于终端到终端,也可以适用于终端到电脑、平板电脑或者是多媒体设备,智能TV等。After the current terminal device is successfully paired with the paired device, the device A1 area will appear on the right side of the terminal device interface as the virtual paired device A1, and this virtual area is called the device control area. That is, after the triggered pairing device establishes an NFC communication connection with the current terminal device, the device control area corresponding to the triggered pairing device is set and displayed on the interface. In addition, after the terminal device successfully establishes the NFC connection with the paired device, the display interface also includes a sharing area, which is used to display the name of the shared file. When the terminal device receives the first instruction, the sharing area and the device control area are set to be displayed on the same interface. Wherein, the first instruction refers to a signal that the terminal device and the paired device successfully establish an NFC connection, that is to say, after the terminal device and the paired device are successfully paired, the shared area and the device control area can be displayed on the same interface. As shown in Figure 5, the sharing area and the pairing area and the device list are located on different layers of the display interface, and the sharing area will not disappear. In addition to manually unpairing, this design provides convenience for users to share device files. It can be applied from terminal to terminal, or from terminal to computer, tablet computer or multimedia equipment, smart TV, etc.

在本发明的一个实施例中,当终端设备接收到第二指令时,将共享区与文件列表设置在同一界面显示,其中,第二指令是指用户触发的进行文件共享的选择信号。如图6所示,共享区与文件列表区位于同一层显示界面,文件列表区是终端设备或配对设备中的文件形成的列表。在配对设备与当前终端设备建立NFC连接之后,当终端设备检测到当前界面包括共享区和文件列表区,且接收到第二触发信号时,检测第二触发信号的触发位置对应的文件列表区中的文件名称,并将文件名称对应的图标移动到共享区以设置文件名称对应的文件为共享文件。如图6所示,例如选择文件列表中的文件3,将文件3移动到共享区,则文件3就成为了共享文件,当前终端设备和配对设备就可以查看此文件了。用户只要将需要共享的文件等移动到共享区域即可实现共享,并且被共享的文件会在共享区域形成一个共享文件列表。In an embodiment of the present invention, when the terminal device receives the second instruction, the sharing area and the file list are set to be displayed on the same interface, wherein the second instruction refers to a selection signal for file sharing triggered by the user. As shown in FIG. 6 , the shared area and the file list area are located on the same display interface, and the file list area is a list formed by files in the terminal device or paired device. After the paired device establishes an NFC connection with the current terminal device, when the terminal device detects that the current interface includes a shared area and a file list area, and receives the second trigger signal, it detects that in the file list area corresponding to the trigger position of the second trigger signal and move the icon corresponding to the file name to the shared area to set the file corresponding to the file name as a shared file. As shown in Figure 6, for example, select file 3 in the file list and move file 3 to the shared area, then file 3 becomes a shared file, and the current terminal device and paired device can view this file. Users only need to move the files that need to be shared to the sharing area to realize the sharing, and the shared files will form a shared file list in the sharing area.

在本发明的另一个实施例中,在设置并显示设备控制区且将文件名称对应的图标移动到共享区之后,当终端设备检测到当前界面包括共享区和设备控制区并接收到第三触发信号时,检测第三触发信号的触发位置对应的共享区中的文件名称,并将文件名称对应的图标移动到设备控制区以设置文件名称对应的文件为共享文件,并将共享文件发送至触发的配对设备。触发的配对设备设置有NFC文件区,用于显示从终端设备接收的共享文件的名称和来源。如图7所示,区域C即为触发的配对设备的NFC文件区,并且NFC文件区的共享文件形成文件列表。当终端设备根据第三触发信号选择共享区的文件并将其到设备控制区的配对设备例如配对设备A1,即将此共享文件发送给配对设备A1时,配对设备A1接收到终端设备发送的文件后,同样在区域C中形成一个列表,如图7为一个传输完成后的文件列表。如果用户触发区域C的空白区域可以查看共享列表,用户可以将区域C中的文件移动到配对设备的指定位置,也可以直接触发进行安装或者运行、播放。如果不需要此区域,则可以触发关闭按钮进行关闭,退出共享即可。In another embodiment of the present invention, after setting and displaying the device control area and moving the icon corresponding to the file name to the sharing area, when the terminal device detects that the current interface includes the sharing area and the device control area and receives the third trigger signal, detect the file name in the shared area corresponding to the trigger position of the third trigger signal, move the icon corresponding to the file name to the device control area to set the file corresponding to the file name as a shared file, and send the shared file to the trigger paired device. The triggered paired device is provided with an NFC file area for displaying the name and source of the shared file received from the terminal device. As shown in FIG. 7 , area C is the NFC file area of the triggered paired device, and the shared files in the NFC file area form a file list. When the terminal device selects the file in the shared area according to the third trigger signal and sends it to the paired device in the device control area, such as the paired device A1, and sends the shared file to the paired device A1, after the paired device A1 receives the file sent by the terminal device , and also form a list in area C, as shown in FIG. 7 , a list of files after the transfer is completed. If the user triggers the blank area of area C to view the sharing list, the user can move the files in area C to the specified location of the paired device, or directly trigger the installation, operation, and playback. If you don't need this area, you can trigger the close button to close it and exit the sharing.

综上所述,根据本发明实施例的用于终端设备的近距离无线通信方法,在终端设备中设置配对区,并且在配对成功后会产生共享区,用户将需要共享的文件移动到共享区域即可实现文件共享,该方法更加直观、更加方便用户进行文件的共享,提升了用户体验。此外,该方法更便于设备之间通过NFC技术进行娱乐和分享,交互性强。To sum up, according to the short-distance wireless communication method for terminal devices according to the embodiment of the present invention, a pairing area is set in the terminal device, and a sharing area will be generated after the pairing is successful, and the user will move the file to be shared to the sharing area The file sharing can be realized, and the method is more intuitive, more convenient for the user to share the file, and improves the user experience. In addition, the method is more convenient for entertainment and sharing between devices through NFC technology, and has strong interactivity.

下面参照附图8描述根据本发明第二方面实施例提出的一种终端设备。A terminal device according to an embodiment of the second aspect of the present invention is described below with reference to FIG. 8 .

如图8所示,本发明实施例的终端设备,包括:近距离无线通信NFC模块801、存储模块802、控制模块803和显示模块804。其中,近距离无线通信NFC模块801用于执行NFC功能,并搜索周边具有NFC标签的配对设备,获取配对设备的名称和信号强度。存储模块802用于存储搜索到的配对设备的名称。控制模块803用于将配对设备的名称根据信号强度由强到弱进行排序以生成设备列表。需要说明的是,控制模块803优选地将配对设备的名称根据信号强度进行排序,其次控制模块803可以按照是否已经配对成功即已经保存过配对密码进行排序,即与终端设备建立过NFC连接的设备比从未与终端设备建立过NFC连接的设备排在前面。对于用户之间进行近距离传输文件时,大部分用户会在近距离使用,也就是说两个设备靠近的情况下进行尝试连接配对活动,而距离越近设备信号强度会更加强,所以控制模块优先以信号强弱进行排序更加合理,更加人性化。显示模块804用于显示设备列表和配对区,其中,配对区与设备列表位于同一层显示界面中。控制模块803还用于检测到当前界面包括配对区与设备列表,且接收到第一触发信号时,检测第一触发信号的触发位置对应的设备列表中的设备名称,并将设备名称对应的图标移动到配对区,自动向触发的配对设备发送配对指令,当触发的配对设备与当前终端设备预设密码相同时,则对触发的配对设备与当前终端设备建立的NFC通信连接。As shown in FIG. 8 , the terminal device in this embodiment of the present invention includes: a short-range wireless communication NFC module 801 , a storage module 802 , a control module 803 and a display module 804 . Wherein, the short-range wireless communication NFC module 801 is used to perform the NFC function, and search for paired devices with NFC tags in the surroundings, and obtain the name and signal strength of the paired devices. The storage module 802 is used for storing the name of the searched paired device. The control module 803 is configured to sort the names of the paired devices according to the signal strength from strong to weak to generate a device list. It should be noted that the control module 803 preferably sorts the names of the paired devices according to the signal strength, and secondly, the control module 803 can sort according to whether the pairing has been successful, that is, the pairing password has been saved, that is, the devices that have established an NFC connection with the terminal device Ranked higher than devices that have never established an NFC connection with an end device. For short-distance file transfer between users, most users will use it at close range, that is to say, when two devices are close to each other, they will try to connect and pair. The closer the distance, the stronger the signal strength of the device, so the control module It is more reasonable and more humane to sort by signal strength first. The display module 804 is used to display a device list and a pairing area, wherein the pairing area and the device list are located in the same display interface. The control module 803 is also used to detect that the current interface includes a pairing area and a device list, and when the first trigger signal is received, detect the device name in the device list corresponding to the trigger position of the first trigger signal, and set the icon corresponding to the device name to Move to the pairing area, and automatically send a pairing instruction to the triggered pairing device. When the triggered pairing device is the same as the preset password of the current terminal device, the NFC communication connection between the triggered pairing device and the current terminal device will be established.

在本发明的一个实施例中,终端设备的近距离无线通信NFC模块801启动后,自动搜索周边具有NFC标签的配对设备,并获得配对设备的名称和信号强度。控制模块803将配对设备的名称根据信号强弱进行排序,并生成设备列表。通过显示模块804以一种更加直观的方式显示周边存在的具有NFC标签的设备名称的列表。当控制模块803检测到前界面包括配对区与设备列表时,根据第一触发信号在谁被列表中选择相应的配对设备的名称,将其移动到配对区域并同时发送配对指令,当配对设备接收到配对请求输入密码与控制模块发送的预设密码相同时,则成功建立NFC连接。In one embodiment of the present invention, after the short-range wireless communication NFC module 801 of the terminal device is started, it automatically searches for paired devices with NFC tags around it, and obtains the name and signal strength of the paired devices. The control module 803 sorts the names of the paired devices according to the signal strength, and generates a device list. A list of device names with NFC tags existing around is displayed in a more intuitive manner through the display module 804 . When the control module 803 detects that the front interface includes a pairing area and a device list, select the name of the corresponding pairing device in the list according to the first trigger signal, move it to the pairing area and send a pairing instruction at the same time, when the pairing device receives When the pairing request input password is the same as the preset password sent by the control module, the NFC connection is successfully established.

在本发明的一个实施例中,在控制模块803发出配对指令,触发的配对设备与发送的当前终端设备的预设密码相同,被触发的配对设备与当前终端设备建立NFC连接后,终端设备会生成共享区并通过显示模块804进行显示,显示模块804还可以显示共享区和文件列表区,其中,共享区包含有共享文件的名称,文件列表区包含有终端设备中文件,视频、音频等。控制模块在接收到第一指令时控制共享区和文件列表区在同一界面显示,其中,第一指令是指终端设备与配对设备成功建立NFC连接的信号。在本实施例,当控制模块803检测到当前界面包括共享区和文件列表区,且接收到第二触发信号时,则检测第二触发信号的触发位置对应的文件列表区中的文件名称,即根据第二触发信号选择文件列表区中的文件,并将选择的文件名称对应的图标移动到共享区以设置文件名称对应的文件为共享文件。如图6所示,例如选择文件列表中的文件3,将文件3移动到共享区,则文件3就成为了共享文件,当前终端设备和配对设备就可以查看此文件了。用户只要将需要共享的文件等移动到共享区域即可实现共享,并且被共享的文件会在共享区域形成一个共享文件列表。In one embodiment of the present invention, when the control module 803 issues a pairing instruction, the triggered paired device has the same preset password as the sent current terminal device, and after the triggered paired device establishes an NFC connection with the current terminal device, the terminal device will The shared area is generated and displayed by the display module 804. The display module 804 can also display the shared area and the file list area, wherein the shared area includes the name of the shared file, and the file list area includes files, video, audio, etc. in the terminal device. The control module controls the shared area and the file list area to be displayed on the same interface when receiving the first instruction, wherein the first instruction refers to a signal that the terminal device and the paired device successfully establish an NFC connection. In this embodiment, when the control module 803 detects that the current interface includes a shared area and a file list area, and receives the second trigger signal, it detects the file name in the file list area corresponding to the trigger position of the second trigger signal, that is Select a file in the file list area according to the second trigger signal, and move the icon corresponding to the selected file name to the sharing area to set the file corresponding to the file name as a shared file. As shown in Figure 6, for example, select file 3 in the file list and move file 3 to the shared area, then file 3 becomes a shared file, and the current terminal device and paired device can view this file. Users only need to move the files that need to be shared to the sharing area to realize the sharing, and the shared files will form a shared file list in the sharing area.

在本发明的另一个实施例中,控制模块803根据第一触发信号选择配对设备,并在终端设备与配对设备成功建立NFC连接之后,显示模块804中会生成设备控制区,并通过显示模块804显示,设备控制区包含有配对成功的设备的名称,控制模块在接收到第二指令时控制共享区与设备控制区在同一界面显示其中,第二指令是指用户触发的进行文件共享的选择信号。在本实施例中,当控制模块803检测到当前界面包括共享区和设备控制区,并检测到第三触发信号时,检测第三触发信号的触发位置对应的共享区中的文件名称,并将文件名称对应的图标移动到设备控制区以设置文件名称对应的文件为共享文件,并将共享文件发送至触发的配对设备。在本发明的一个实施例中,触发的配对设备设置有NFC文件区,用于显示从终端设备接收的共享文件的名称和来源。如图7所示,区域C即为触发的配对设备的NFC文件区,并且NFC文件区的共享文件形成文件列表。当终端设备根据第三触发信号选择共享区的文件并将其到设备控制区的配对设备例如配对设备A1,即将此共享文件发送给配对设备A1时,配对设备A1接收到终端设备发送的文件后,同样在区域C中形成一个列表,如图7为一个传输完成后的文件列表。如果用户触发区域C的空白区域可以查看共享列表,用户可以将区域C中的文件移动到配对设备的指定位置,也可以直接触发进行安装或者运行、播放。如果不需要此区域,则可以触发关闭按钮进行关闭,退出共享即可。In another embodiment of the present invention, the control module 803 selects the paired device according to the first trigger signal, and after the terminal device and the paired device successfully establish an NFC connection, a device control area will be generated in the display module 804, and displayed through the display module 804 It shows that the device control area contains the name of the successfully paired device, and the control module controls the sharing area and the device control area to be displayed on the same interface when receiving the second instruction. The second instruction refers to the selection signal for file sharing triggered by the user . In this embodiment, when the control module 803 detects that the current interface includes the shared area and the device control area, and detects the third trigger signal, it detects the file name in the shared area corresponding to the trigger position of the third trigger signal, and Move the icon corresponding to the file name to the device control area to set the file corresponding to the file name as a shared file, and send the shared file to the triggered paired device. In one embodiment of the present invention, the triggered pairing device is provided with an NFC file area for displaying the name and source of the shared file received from the terminal device. As shown in FIG. 7 , area C is the NFC file area of the triggered paired device, and shared files in the NFC file area form a file list. When the terminal device selects the file in the shared area according to the third trigger signal and sends it to the paired device in the device control area, such as the paired device A1, and sends the shared file to the paired device A1, after the paired device A1 receives the file sent by the terminal device , and also form a list in area C, as shown in FIG. 7 , which is a list of files after the transfer is completed. If the user triggers the blank area of area C to view the sharing list, the user can move the files in area C to the specified location of the paired device, or directly trigger the installation, operation, and playback. If you don't need this area, you can trigger the close button to close it and exit the sharing.

综上所述,根据本发明实施例的终端设备,通过显示模块显示共享区,方便用户进行文件共享,并且更加直观。通过控制模块根据配对设备的信号强弱进行排序,更加人性化。此外,采用本发明的终端设备,提升了用户体验。In summary, according to the terminal device of the embodiment of the present invention, the sharing area is displayed through the display module, which is convenient for users to share files and is more intuitive. The control module sorts according to the signal strength of the paired devices, which is more user-friendly. In addition, the user experience is improved by adopting the terminal device of the present invention.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment for use. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. The program is processed electronically and stored in computer memory.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.

此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在不脱离本发明的原理和宗旨的情况下在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be construed as limitations to the present invention. Variations, modifications, substitutions, and modifications to the above-described embodiments are possible within the scope of the present invention.

Claims (15)

Translated fromChinese
1.一种用于终端设备的近距离无线通信方法,其特征在于,所述终端设备设置有配对区,所述方法包括如下步骤:1. A short-distance wireless communication method for a terminal device, characterized in that the terminal device is provided with a pairing area, and the method comprises the steps of:启动近距离无线通信NFC功能,并搜索周边具有NFC标签的配对设备;Start the short-range wireless communication NFC function, and search for nearby paired devices with NFC tags;获取所述配对设备的名称和信号强度,并将所述配对设备的名称根据信号强度由强到弱进行排序以生成设备列表,并显示所述设备列表,其中,所述配对区与所述设备列表位于同一层显示界面中;Obtaining the name and signal strength of the paired device, and sorting the names of the paired device according to the signal strength from strong to weak to generate a device list, and displaying the device list, wherein the pairing area and the device The list is located in the same layer display interface;当检测到当前界面包括所述配对区与所述设备列表,且接收到第一触发信号时,检测所述第一触发信号的触发位置对应的所述设备列表中的设备名称,并将所述设备名称对应的图标移动到所述配对区;以及When it is detected that the current interface includes the pairing area and the device list, and a first trigger signal is received, the device name in the device list corresponding to the trigger position of the first trigger signal is detected, and the The icon corresponding to the device name is moved to the pairing area; and在将触发的所述设备名称对应的图标移动到所述配对区后,自动向触发的配对设备发送配对指令,当所述触发的配对设备与当前终端设备预设密码相同时,则所述触发的配对设备与当前终端设备建立NFC通信连接。After the icon corresponding to the triggered device name is moved to the pairing area, a pairing instruction is automatically sent to the triggered paired device. When the triggered paired device is the same as the preset password of the current terminal device, the triggered The paired device establishes an NFC communication connection with the current terminal device.2.如权利要求1所述的方法,其特征在于,在所述触发的配对设备与当前终端设备建立的NFC通信连接之后,设置并显示所述触发的配对设备对应的设备控制区。2. The method according to claim 1, characterized in that, after the triggered pairing device establishes an NFC communication connection with the current terminal device, setting and displaying the device control area corresponding to the triggered pairing device.3.如权利要求2所述的方法,其特征在于,显示界面还包括共享区,其中,所述共享区用于显示共享文件的名称。3. The method according to claim 2, wherein the display interface further comprises a sharing area, wherein the sharing area is used to display the name of the shared file.4.如权利要求3所述的方法,其特征在于,当接收到第一指令时,所述终端设备将所述共享区与所述设备控制区设置在同一界面显示。4. The method according to claim 3, wherein when receiving the first instruction, the terminal device sets the shared area and the device control area to display on the same interface.5.如权利要求3所述的方法,其特征在于,当接收到第二指令时,所述终端设备将所述共享区与文件列表设置在同一界面显示。5. The method according to claim 3, wherein when receiving the second instruction, the terminal device sets the shared area and the file list to be displayed on the same interface.6.如权利要求5所述的方法,其特征在于,在配对设备与当前终端设备建立NFC连接之后6. The method according to claim 5, wherein after the paired device establishes an NFC connection with the current terminal device当所述终端设备检测到当前界面包括所述共享区和所述文件列表区,且接收到第二触发信号时,检测所述第二触发信号的触发位置对应的文件列表区中的文件名称,并将所述文件名称对应的图标移动到所述共享区以设置所述文件名称对应的文件为共享文件。When the terminal device detects that the current interface includes the shared area and the file list area, and receives a second trigger signal, detects the file name in the file list area corresponding to the trigger position of the second trigger signal, and move the icon corresponding to the file name to the sharing area to set the file corresponding to the file name as a shared file.7.如权利要求3所述的方法,其特征在于,在设置并显示所述设备控制区且将文件名称对应的图标移动到所述共享区之后,还包括如下步骤:7. The method according to claim 3, further comprising the following steps after setting and displaying the device control area and moving the icon corresponding to the file name to the shared area:所述终端设备检测到当前界面包括所述共享区和所述设备控制区并接收到第三触发信号时,检测所述第三触发信号的触发位置对应的所述共享区中的文件名称,并将所述文件名称对应的图标移动到所述设备控制区以设置所述文件名称对应的文件为共享文件,并将所述共享文件发送至所述触发的配对设备。When the terminal device detects that the current interface includes the shared area and the device control area and receives a third trigger signal, it detects the file name in the shared area corresponding to the trigger position of the third trigger signal, and Move the icon corresponding to the file name to the device control area to set the file corresponding to the file name as a shared file, and send the shared file to the triggered paired device.8.如权利要求7所述的方法,其特征在于,所述触发的配对设备设置有NFC文件区,用于显示从所述终端设备接收的所述共享文件的名称和来源。8. The method according to claim 7, wherein the triggered pairing device is provided with an NFC file area for displaying the name and source of the shared file received from the terminal device.9.一种终端设备,其特征在于,包括:9. A terminal device, characterized in that, comprising:近距离无线通信NFC模块,用于执行NFC功能,并搜索周边具有NFC标签的配对设备,获取所述配对设备的名称和信号强度;The short-range wireless communication NFC module is used to perform the NFC function, and searches for paired devices with NFC tags in the surroundings, and obtains the name and signal strength of the paired devices;存储模块,用于存储搜索到的所述配对设备的名称;a storage module, configured to store the searched name of the paired device;控制模块,用于将所述配对设备的名称根据信号强度由强到弱进行排序以生成设备列表;A control module, configured to sort the names of the paired devices according to the signal strength from strong to weak to generate a device list;显示模块,用于显示所述设备列表和配对区,其中,所述配对区与所述设备列表位于同一层显示界面中,a display module, configured to display the device list and the pairing area, wherein the pairing area and the device list are located in the same display interface layer,所述控制模块还用于检测到当前界面包括所述配对区与所述设备列表,且接收到第一触发信号时,检测所述第一触发信号的触发位置对应的所述设备列表中的设备名称,并将所述设备名称对应的图标移动到所述配对区,自动向触发的配对设备发送配对指令,当所述触发的配对设备与当前终端设备预设密码相同时,则所述触发的配对设备与当前终端设备建立NFC通信连接。The control module is further configured to detect that the current interface includes the pairing area and the device list, and when the first trigger signal is received, detect the device in the device list corresponding to the trigger position of the first trigger signal name, and move the icon corresponding to the device name to the pairing area, and automatically send a pairing instruction to the triggered pairing device. When the triggered pairing device is the same as the preset password of the current terminal device, the triggered The paired device establishes an NFC communication connection with the current terminal device.10.如权利要求9所述的终端设备,其特征在于,所述显示模块,还用于显示共享区和文件列表区,其中,所述共享区包含有共享文件的名称。10. The terminal device according to claim 9, wherein the display module is further configured to display a shared area and a file list area, wherein the shared area contains names of shared files.11.如权利要求10所述的终端设备,其特征在于,所述控制模块还用于当接收到第二指令时控制所述共享区和所述文件列表区在同一界面显示。11. The terminal device according to claim 10, wherein the control module is further configured to control the shared area and the file list area to be displayed on the same interface when receiving the second instruction.12.如权利要求10所述的终端设备,其特征在于,所述显示模块还用于显示设备控制区,所述设备控制区包含有配对成功的设备的名称。12. The terminal device according to claim 10, wherein the display module is further used to display a device control area, and the device control area includes names of successfully paired devices.13.如权利要求12所述的终端设备,其特征在于,所述控制模块还用于当接收到第一指令时控制所述共享区与所述设备控制区在同一界面显示。13. The terminal device according to claim 12, wherein the control module is further configured to control the sharing area and the device control area to be displayed on the same interface when receiving the first instruction.14.如权利要求10所述的终端设备,其特征在于,控制模块还用于检测到当前界面包括所述共享区和所述文件列表区,且接收到第二触发信号时,检测所述第二触发信号的触发位置对应的文件列表区中的文件名称,并将所述文件名称对应的图标移动到所述共享区以设置所述文件名称对应的文件为共享文件。14. The terminal device according to claim 10, wherein the control module is further configured to detect that the current interface includes the shared area and the file list area, and when a second trigger signal is received, detect the first The trigger position of the trigger signal corresponds to the file name in the file list area, and the icon corresponding to the file name is moved to the sharing area to set the file corresponding to the file name as a shared file.15.如权利要求12所述的终端设备,其特征在于,控制模块还用于检测到当前界面包括所述共享区和所述设备控制区,并检测到第三触发信号时,检测所述第三触发信号的触发位置对应的所述共享区中的文件名称,并将所述文件名称对应的图标移动到所述设备控制区以设置所述文件名称对应的文件为共享文件,并将所述共享文件发送至所述触发的配对设备。15. The terminal device according to claim 12, wherein the control module is further configured to detect that the current interface includes the shared area and the device control area, and when a third trigger signal is detected, detect the first The file name in the shared area corresponding to the trigger position of the three trigger signals, and move the icon corresponding to the file name to the device control area to set the file corresponding to the file name as a shared file, and set the The shared file is sent to the triggered paired device.
CN201310612096.2A2012-12-312013-11-26Terminal equipment and NFC method for sameActiveCN103916162B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310612096.2ACN103916162B (en)2012-12-312013-11-26Terminal equipment and NFC method for same

Applications Claiming Priority (4)

Application NumberPriority DateFiling DateTitle
CN20122074582482012-12-31
CN2012207458242012-12-31
CN201220745824.82012-12-31
CN201310612096.2ACN103916162B (en)2012-12-312013-11-26Terminal equipment and NFC method for same

Publications (2)

Publication NumberPublication Date
CN103916162A CN103916162A (en)2014-07-09
CN103916162Btrue CN103916162B (en)2017-05-03

Family

ID=51041590

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310612096.2AActiveCN103916162B (en)2012-12-312013-11-26Terminal equipment and NFC method for same

Country Status (1)

CountryLink
CN (1)CN103916162B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104468768B (en)*2014-12-022018-09-28上海斐讯数据通信技术有限公司A kind of method and mobile terminal of mobile terminal accessing internet
CN104506214A (en)*2014-12-232015-04-08北京深思数盾科技有限公司Short-distance Bluetooth pairing method and terminal
JP6520267B2 (en)*2015-03-202019-05-29カシオ計算機株式会社 Communication device and program
KR102025713B1 (en)*2015-05-292019-09-26후아웨이 테크놀러지 컴퍼니 리미티드 Method, server, mobile terminal and device for exchanging data with in-vehicle infotainment
CN106345100B (en)*2015-07-132018-10-26心动生技股份有限公司Fitness system and pairing method thereof
CN106453574A (en)*2016-10-202017-02-22乐视控股(北京)有限公司Mobile terminal broadcast hotspot file sharing method and terminal
CN106953755B (en)*2017-03-172020-06-09中国科学院沈阳自动化研究所Energy monitoring method and system
CN107241395A (en)*2017-05-242017-10-10努比亚技术有限公司A kind of transmission method of shared file, equipment and computer-readable recording medium
CN107370519B (en)*2017-09-082020-11-17深圳市启望科文技术有限公司RSSI-based 2.4G multi-device recent pairing method and system
JP7204902B2 (en)*2018-09-302023-01-16華為技術有限公司 File transfer method and electronic device
CN110826044B (en)*2019-10-312021-08-10维沃移动通信有限公司Unlocking method and electronic equipment
CN111372326B (en)*2020-03-132023-01-13华为技术有限公司Method and mobile device for establishing point-to-point wireless connection
CN112601206B (en)*2020-12-142022-11-08珠海格力电器股份有限公司Energy equipment interaction system and control method thereof
CN113850093B (en)*2021-09-082024-05-14中国原子能科学研究院Positioning method, detection device and storage medium
CN116301484A (en)2021-12-212023-06-23北京小米移动软件有限公司Data sharing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101286767A (en)*2007-04-092008-10-15艾威梯软件技术(北京)有限公司Method and system to implement wireless application between wireless equipments by shortcut
CN102064855A (en)*2009-11-162011-05-18龙旗科技(上海)有限公司Human-computer interaction mode for supporting Bluetooth to share files by mobile terminal
CN102830906A (en)*2012-07-042012-12-19华为终端有限公司Method and terminal equipment for carrying out file processing based on user interface

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101351022A (en)*2007-07-162009-01-21艾威梯软件技术(北京)有限公司Method and equipment for ordering radio equipment based on signal intensity
CN101667100B (en)*2009-09-012011-12-28宇龙计算机通信科技(深圳)有限公司Method and system for unlocking mobile terminal LCD display screen and mobile terminal
JP5588844B2 (en)*2010-11-262014-09-10京セラ株式会社 Portable electronic device, control method, and control program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101286767A (en)*2007-04-092008-10-15艾威梯软件技术(北京)有限公司Method and system to implement wireless application between wireless equipments by shortcut
CN102064855A (en)*2009-11-162011-05-18龙旗科技(上海)有限公司Human-computer interaction mode for supporting Bluetooth to share files by mobile terminal
CN102830906A (en)*2012-07-042012-12-19华为终端有限公司Method and terminal equipment for carrying out file processing based on user interface

Also Published As

Publication numberPublication date
CN103916162A (en)2014-07-09

Similar Documents

PublicationPublication DateTitle
CN103916162B (en)Terminal equipment and NFC method for same
US11540102B2 (en)Method for function control and electronic device thereof
US9189127B2 (en)Apparatus and method of user-based mobile terminal display control using grip sensor
KR102171082B1 (en)Method for processing fingerprint and an electronic device thereof
US20180275840A1 (en)Method for executing program and electronic device thereof
KR102051908B1 (en)Mobile apparatus and method for displaying information
US20140256250A1 (en)Peer-to-peer data transfer using near field communication (nfc)-enabled styluses
US10542406B2 (en)Tethering distribution apparatus, control method thereof, and central mediator
KR102094017B1 (en)Method for transmitting data and an electronic device thereof
BR112015032103B1 (en) ELECTRONIC DEVICE AND OBJECT EXECUTION METHOD
KR20140126140A (en)Mobile apparatus providing with changed-shortcut icon responding to status of mobile apparatus and control method thereof
TW201134237A (en)System and method of providing three dimensional sound at a wireless device
US20170308248A1 (en)Electronic device and method for controlling external device thereof
US20140281962A1 (en)Mobile device of executing action in display unchecking mode and method of controlling the same
US20150293670A1 (en)Method for operating message and electronic device therefor
CN105224494A (en)Method for handover control and device
KR20160026341A (en)Method for controlling and an electronic device thereof
CN104521185B (en)Information terminal, method for information display, computer readable recording medium storing program for performing and server
CN108345422A (en)Application control method, apparatus, mobile terminal and computer-readable medium
US20150379322A1 (en)Method and apparatus for communication using fingerprint input
US20160139742A1 (en)Method for managing media contents and apparatus for the same
TW201516847A (en)Method and device for identifying to perform operation
US20150102670A1 (en)Method for operating booting and electronic device thereof
KR20120010007A (en) Multimedia Kiosk System Adopting Contents and Method of Multimedia Kiosk System
CN108958621A (en)information display method, device and mobile terminal

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp