[go: up one dir, main page]

CN104811250B - Communication system, electronic device and communication method - Google Patents

Communication system, electronic device and communication method Download PDF

Info

Publication number
CN104811250B
CN104811250B CN201410032241.4A CN201410032241A CN104811250B CN 104811250 B CN104811250 B CN 104811250B CN 201410032241 A CN201410032241 A CN 201410032241A CN 104811250 B CN104811250 B CN 104811250B
Authority
CN
China
Prior art keywords
electronic device
wave signal
connection
signal
acoustic wave
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
CN201410032241.4A
Other languages
Chinese (zh)
Other versions
CN104811250A (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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN201410032241.4A priority Critical patent/CN104811250B/en
Publication of CN104811250A publication Critical patent/CN104811250A/en
Application granted granted Critical
Publication of CN104811250B publication Critical patent/CN104811250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供一种通信系统、电子装置及通信方法,包括主要电子装置以及附属电子装置。附属电子装置传送连线声波信号。当主要电子装置接收连线声波信号时,根据连线声波信号,发送定位信号。当附属电子装置接收定位信号时,发送定位声波信号至主要电子装置。以及,主要电子装置根据定位声波信号判断附属电子装置与主要电子装置之间的相对位置,并根据相对位置显示操作图标于主要电子装置的显示单元。

The present invention provides a communication system, an electronic device and a communication method, comprising a main electronic device and an auxiliary electronic device. The auxiliary electronic device transmits a connection sound wave signal. When the main electronic device receives the connection sound wave signal, it sends a positioning signal according to the connection sound wave signal. When the auxiliary electronic device receives the positioning signal, it sends the positioning sound wave signal to the main electronic device. And, the main electronic device determines the relative position between the auxiliary electronic device and the main electronic device according to the positioning sound wave signal, and displays an operation icon on the display unit of the main electronic device according to the relative position.

Description

通信系统、电子装置及通信方法Communication system, electronic device and communication method

技术领域technical field

本发明是有关于一种通信系统,且特别是有关于一种通信系统、电子装置及通信方法。The present invention relates to a communication system, and in particular to a communication system, an electronic device and a communication method.

背景技术Background technique

随着科技的日新月异的发展,智能手机、平板电脑或是笔记本电脑等行动电子装置更广泛的运用于人们的生活中。而随着信息的传播日益的快速且频繁,根据用途的不同,使用者也可能随身的携带着数台行动电子装置,例如播打电话以及传送信息用的智能手机、浏览网页以及文件数据用的平板电脑、处理工作相关资料的笔记本电脑、拍摄影像及视频的数码相机等。而根据不同的需要,使用者可能需要在这些行动电子装置之间交换数据。但就现有的技术而言,并没有办法让使用者直觉的操控这些行动电子装置而完成数据的交换,例如,需要通过实体线路的连接,或是暂存于网页上的空间再由另一行动电子装置下载等手段才能完成数据的交换。这些步骤,都造成了使用者极大的不便。With the rapid development of science and technology, mobile electronic devices such as smart phones, tablet computers or notebook computers are more widely used in people's lives. With the rapid and frequent dissemination of information, users may also carry several mobile electronic devices with them according to different purposes, such as smart phones for making calls and sending information, and mobile phones for browsing web pages and file data. Tablet PCs, laptops for processing work-related materials, digital cameras for shooting images and videos, etc. According to different needs, users may need to exchange data between these mobile electronic devices. But as far as the existing technology is concerned, there is no way for users to intuitively manipulate these mobile electronic devices to complete the exchange of data. The data exchange can only be completed by means of mobile electronic device downloading and other means. These steps have all caused great inconvenience to the user.

发明内容Contents of the invention

本发明提供一种通信系统、电子装置及通信方法,让通信系统中的数个电子装置可快速的建立连接,并供使用者直觉性的操作。The invention provides a communication system, an electronic device and a communication method, so that several electronic devices in the communication system can quickly establish a connection and provide intuitive operation for users.

本发明的通信系统,包括主要电子装置以及第一附属电子装置。第一附属电子装置传送第一连线声波信号。当主要电子装置接收第一连线声波信号时,根据第一连线声波信号,发送第一定位信号。当第一附属电子装置接收第一定位信号时,发送第一定位声波信号至主要电子装置。以及,主要电子装置根据第一定位声波信号判断第一附属电子装置与主要电子装置之间的第一相对位置,并根据第一相对位置显示第一操作图标在主要电子装置的显示单元。The communication system of the present invention includes a main electronic device and a first auxiliary electronic device. The first accessory electronic device transmits a first connection sound wave signal. When the main electronic device receives the first connection sound wave signal, it sends the first positioning signal according to the first connection sound wave signal. When the first auxiliary electronic device receives the first positioning signal, it sends the first positioning acoustic wave signal to the main electronic device. And, the main electronic device determines a first relative position between the first auxiliary electronic device and the main electronic device according to the first positional acoustic wave signal, and displays the first operation icon on the display unit of the main electronic device according to the first relative position.

本发明的电子装置,包括:通信单元、收音单元、耦接通信单元以及收音单元的处理单元,以及耦接处理单元的显示单元。其中,当收音单元接收第一连线声波信号时,处理单元根据第一连线声波信号,通过通信单元发送第一定位信号。当处理单元通过收音单元接收对应于第一定位信号的第一定位声波信号时,处理单元根据第一定位声波信号判断发送第定位声波信号的第一附属电子装置与电子装置之间的第一相对位置,并且处理单元根据第一相对位置控制显示单元显示第一操作图标。The electronic device of the present invention includes: a communication unit, a radio unit, a processing unit coupled to the communication unit and the radio unit, and a display unit coupled to the processing unit. Wherein, when the sound receiving unit receives the first connection sound wave signal, the processing unit sends the first positioning signal through the communication unit according to the first connection sound wave signal. When the processing unit receives the first positional acoustic wave signal corresponding to the first positional acoustic wave signal through the sound receiving unit, the processing unit judges the first relative position between the first accessory electronic device and the electronic device that sent the first positional acoustic wave signal according to the first positional acoustic wave signal. position, and the processing unit controls the display unit to display the first operation icon according to the first relative position.

本发明的通信方法,适用于通信系统中的电子装置,包括以下步骤。首先,当接收第一连线声波信号时,根据第一连线声波信号,发送第一定位信号。然后,当接收对应于第一定位信号的第一定位声波信号时,根据第一定位声波信号判断发送第一定位声波信号的第一附属电子装置与电子装置之间的第一相对位置。接着,根据第一相对位置控制显示单元显示第一操作图标。The communication method of the present invention is applicable to electronic devices in a communication system, and includes the following steps. Firstly, when the first connection sound wave signal is received, the first positioning signal is sent according to the first connection sound wave signal. Then, when the first positional acoustic wave signal corresponding to the first positional acoustic wave signal is received, the first relative position between the electronic device and the first accessory electronic device sending the first positional acoustic wave signal is determined according to the first positional acoustic wave signal. Next, the display unit is controlled to display the first operation icon according to the first relative position.

基于上述,本发明提供一种通信系统、电子装置以及通信方法,可让通信系统中的电子装置(即,主要电子装置)通过其他电子装置(即,附属电子装置)发出的声波信号,来进行连线以及判断位置,使得电子装置的使用者可直觉地操作。Based on the above, the present invention provides a communication system, an electronic device, and a communication method, which allow an electronic device in the communication system (ie, the main electronic device) to communicate with other electronic devices (ie, auxiliary electronic devices) through acoustic signals The connection and position determination allow the user of the electronic device to operate intuitively.

为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合附图作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail with reference to the accompanying drawings.

附图说明Description of drawings

图1为根据本发明实施例所示出通信系统的功能方块图;FIG. 1 is a functional block diagram showing a communication system according to an embodiment of the present invention;

图2为根据本发明实施例所示出电子装置的装置方块图;2 is a device block diagram showing an electronic device according to an embodiment of the present invention;

图3为根据本发明实施例所示出通信系统的时序图;FIG. 3 is a sequence diagram showing a communication system according to an embodiment of the present invention;

图4为根据本发明实施例所示出通信方法的流程图;FIG. 4 is a flowchart showing a communication method according to an embodiment of the present invention;

图5为根据本发明实施例所示出通信系统的示意图。Fig. 5 is a schematic diagram showing a communication system according to an embodiment of the present invention.

附图标记说明:Explanation of reference signs:

10:通信系统;10: Communication system;

110:主要电子装置/电子装置;110: Main electronic device/electronic device;

111:通信单元;111: communication unit;

112:收音单元;112: radio unit;

113:处理单元;113: processing unit;

114:显示单元;114: display unit;

120、130:附属电子装置;120, 130: Auxiliary electronic device;

CSW:连线声波信号;CSW: connection sound wave signal;

PSW:定位声波信号;PSW: positioning sound wave signal;

PS:定位信号;PS: positioning signal;

S301~S318、S401~S403:步骤。S301-S318, S401-S403: steps.

具体实施方式detailed description

图1为根据本发明实施例所示出通信系统的功能方块图。请参照图1,通信系统10包括主要电子装置110以及附属电子装置120。附属电子装置120传送连线声波信号CSW。当主要电子装置接收连线声波信号CSW时,根据连线声波信号CSW,发送定位信号PS。当附属电子装置120接收定位信号PS时,发送定位声波信号PSW至主要电子装置110。以及,主要电子装置110根据定位声波信号PSW判断附属电子装置120与主要电子装置110之间的相对位置,并根据相对位置显示操作图标于主要电子装置110的显示单元上。FIG. 1 is a functional block diagram of a communication system according to an embodiment of the present invention. Referring to FIG. 1 , the communication system 10 includes a main electronic device 110 and an auxiliary electronic device 120 . The accessory electronic device 120 transmits the connection sound wave signal CSW. When the main electronic device receives the connection sound wave signal CSW, it sends the positioning signal PS according to the connection sound wave signal CSW. When the auxiliary electronic device 120 receives the positioning signal PS, it sends the positioning acoustic wave signal PSW to the main electronic device 110 . And, the main electronic device 110 judges the relative position between the auxiliary electronic device 120 and the main electronic device 110 according to the positional sound wave signal PSW, and displays the operation icon on the display unit of the main electronic device 110 according to the relative position.

在此实施例中,为了让声波不对使用者造成影响,连线声波信号CSW为频率在人耳可辨识外的声波,例如频率值被设置于20赫兹到两万赫兹以外的频带。其中,附属电子装置120可夹带特定的信息于连线声波信号CSW之中。例如,在本实施例中,连线声波信号CSW中包括连线信息。当主要电子装置110接收连线声波信号CSW时,主要电子装置110解析连线声波信号CSW得到连线信息,根据连线信息与附属电子装置120建立连线。主要电子装置110则在接着通过所述的连线传送定位信号PS。In this embodiment, in order to prevent the sound waves from affecting the user, the connection sound wave signal CSW is a sound wave with a frequency beyond the human ear, for example, the frequency value is set outside the frequency band of 20 Hz to 20,000 Hz. Wherein, the auxiliary electronic device 120 can carry specific information in the connection sound wave signal CSW. For example, in this embodiment, the connection acoustic wave signal CSW includes connection information. When the main electronic device 110 receives the connection sound wave signal CSW, the main electronic device 110 analyzes the connection sound wave signal CSW to obtain connection information, and establishes a connection with the auxiliary electronic device 120 according to the connection information. The main electronic device 110 then transmits the positioning signal PS through the connection.

连线信息的内容则随着主要电子装置110以及附属电子装置120之间所建立的连线种类(例如,以符合某一特定标准的信号所建立的连线)而有所不同。上述的连线为符合蓝牙(bluetooth)标准的射频信号所建立的连线为例,连线信息中则可能包括了附属电子装置120对应于蓝牙标准的媒体存取控制(Media Access Control,简称MAC)位址,附属电子装置120的装置名称以及装置配对码等。The content of the connection information varies with the type of connection established between the main electronic device 110 and the auxiliary electronic device 120 (for example, a connection established with a signal conforming to a certain standard). The above connection is an example of a connection established by a radio frequency signal conforming to the bluetooth standard, and the connection information may include the Media Access Control (MAC for short) of the accessory electronic device 120 corresponding to the bluetooth standard. ) address, device name and device pairing code of the accessory electronic device 120 .

另一方面,在本发明中,也可以多种方式实现夹带信息(例如,上述的连线信息)在连线声波信号CSW中。例如,将预设频带切割为多个不同的频率值,并依序的以不同大小的频率值代表不同的字符,例如当预设频带被切割为16个不同的频率值时,此时此频带便可用以传送16进制的数据(例如,上述附属电子装置120的MAC位址)。而在实际运用时,则可能将此预设频带切割为更多的频率值,例如将16个频率值用来表示16进制的数据外,更用其他的频率值用来表示起始字符、结束字符、间隔字符等功能性的字符,但本发明并不限定于上述。On the other hand, in the present invention, entraining information (for example, the above-mentioned connection information) in the connection sound wave signal CSW can also be realized in various ways. For example, the preset frequency band is cut into multiple different frequency values, and the frequency values of different sizes represent different characters sequentially. For example, when the preset frequency band is cut into 16 different frequency values, the frequency band It can be used to transmit hexadecimal data (for example, the MAC address of the above-mentioned accessory electronic device 120 ). In practice, the preset frequency band may be divided into more frequency values, for example, 16 frequency values are used to represent hexadecimal data, and other frequency values are used to represent the initial character, Functional characters such as end characters and space characters, but the present invention is not limited to the above.

图2为根据本发明实施例所示出电子装置的装置方块图。其中,图2所示电子装置即对应于图1所示通信系统中主要电子装置110。请参照图2,电子装置110包括通信单元111、收音单元112、处理单元113以及显示单元114。处理单元113耦接通信单元111以及收音单元112。显示单元114则耦接处理单元113。当收音单元112接收连线声波信号CSW时,处理单元113根据连线声波信号CSW,通过通信单元111发送定位信号PS。例如,如上述实施例,利用连线声波信号CSW中的连线信息与附属电子装置(例如,图1中附属电子装置120)连线,在利用此连线传送定位信号PS。FIG. 2 is a device block diagram showing an electronic device according to an embodiment of the invention. Wherein, the electronic device shown in FIG. 2 corresponds to the main electronic device 110 in the communication system shown in FIG. 1 . Referring to FIG. 2 , the electronic device 110 includes a communication unit 111 , a sound receiving unit 112 , a processing unit 113 and a display unit 114 . The processing unit 113 is coupled to the communication unit 111 and the sound receiving unit 112 . The display unit 114 is coupled to the processing unit 113 . When the sound receiving unit 112 receives the connection sound wave signal CSW, the processing unit 113 sends the positioning signal PS through the communication unit 111 according to the connection sound wave signal CSW. For example, as in the above-mentioned embodiment, the connection information in the connection sound wave signal CSW is used to connect with the auxiliary electronic device (eg, the auxiliary electronic device 120 in FIG. 1 ), and then use this connection to transmit the positioning signal PS.

当处理单元113通过收音单元112接收对应于定位信号PS的定位声波信号PSW时,处理单元113根据定位声波信号PSW判断发送定位声波信号PSW的附属电子装置(例如,图1中附属电子装置120)与电子装置110之间的相对位置,并且处理单元113根据相对位置控制显示单元114显示操作图标。When the processing unit 113 receives the positioning acoustic wave signal PSW corresponding to the positioning signal PS through the sound receiving unit 112, the processing unit 113 judges the auxiliary electronic device (for example, the auxiliary electronic device 120 in FIG. 1 ) that sends the positioning acoustic wave signal PSW according to the positioning acoustic wave signal PSW. The relative position between the electronic device 110 and the processing unit 113 controls the display unit 114 to display the operation icon according to the relative position.

在本实施例中,收音单元112可包括至少两个收音器(未示出),处理单元113即可通过上述的至少两个收音器所接收的定位声波信号PSW之间的相位差来判断附属电子装置与电子装置110的相对位置。而由于在本发明中,上述的连线声波信号CSW以及定位声波信号PSW都被设置于人耳可辨识的频率外的频带,因此上述的收音器则必须设置有对应于连线声波信号CSW以及定位声波信号PSW频带的高通滤波器(high pass filter)或是带通滤波器(band pass filter)方可成功的接收上述的连线声波信号CSW以及定位声波信号PSW,但本发明并不限定于上述的各设置,可能因实施方式的不同而有所改变。In this embodiment, the sound receiving unit 112 may include at least two sound receivers (not shown), and the processing unit 113 may judge the attachment of The relative position of the electronic device and the electronic device 110 . And because in the present invention, the above-mentioned connection sound wave signal CSW and positioning sound wave signal PSW are all set in the frequency band outside the frequency that can be recognized by the human ear, so the above-mentioned receiver must be provided with corresponding connection sound wave signal CSW and Only a high pass filter (high pass filter) or a band pass filter (band pass filter) in the frequency band of the positioning sound wave signal PSW can successfully receive the above-mentioned connection sound wave signal CSW and positioning sound wave signal PSW, but the present invention is not limited to The above settings may be changed due to different implementations.

进而,在处理单元113判断得到附属电子装置与电子装置110的相对位置之后,处理单元113便可以根据附属电子装置与电子装置110的相对位置来显示对应于附属电子装置的操作图标于显示单元114。例如,电子装置110的显示单元114为矩形,附属电子装置与电子装置110的相对位置对应于显示单元114为矩形的侧边时,处理单元113便可将此操作图标显示于紧邻显示单元114的此侧边,并且根据实际位置调整操作图标的位置。Furthermore, after the processing unit 113 determines the relative position of the accessory electronic device and the electronic device 110, the processing unit 113 can display the operation icon corresponding to the accessory electronic device on the display unit 114 according to the relative position of the accessory electronic device and the electronic device 110. . For example, the display unit 114 of the electronic device 110 is rectangular, and when the relative position of the accessory electronic device and the electronic device 110 corresponds to the side of the rectangular display unit 114, the processing unit 113 can display the operation icon on the side adjacent to the display unit 114. This side, and adjust the position of the operation icon according to the actual position.

举例而言,当电子装置110的处理单元113判断附属电子装置位于电子装置110的左侧时,处理单元113即可将对应于此附属电子装置的操作图标显示于电子装置110的显示单元114的左侧边上,并且根据附属电子装置的位置调整操作图标在左侧边上的位置。操作图标的图标样式则可根据附属电子装置的种类(例如,可由连线声波信号CSW中的连线信息获得)而决定,使得使用者可直接根据操作图标的样式以及操作图标在显示单元114上的位置来判断操作图标所对应的附属电子装置。For example, when the processing unit 113 of the electronic device 110 determines that the auxiliary electronic device is located on the left side of the electronic device 110, the processing unit 113 can display the operation icon corresponding to the auxiliary electronic device on the display unit 114 of the electronic device 110. on the left side, and adjust the position of the operation icon on the left side according to the position of the attached electronic device. The icon style of the operation icon can be determined according to the type of the attached electronic device (for example, it can be obtained from the connection information in the connection sound wave signal CSW), so that the user can directly display the display unit 114 according to the style of the operation icon and the operation icon. The position of the operation icon is used to determine the accessory electronic device corresponding to the operation icon.

而当处理单元113接收对应于此操作图标的操作信号,例如使用者利用电子装置110的输入输出单元(电子装置110的模感屏、触控板、鼠标或键盘等,未示出),点选上述的操作图标时,处理单元113便可利用电子装置110中的通信单元111与附属电子装置所建立的连线执行文件传输程序。文件传输程序可包括电子装置110与附属电子装置之间的文件或数据的交换。And when the processing unit 113 receives the operation signal corresponding to the operation icon, for example, the user uses the input and output unit of the electronic device 110 (the touch screen, touch panel, mouse or keyboard of the electronic device 110, etc., not shown), click When the above operation icon is selected, the processing unit 113 can utilize the connection established between the communication unit 111 in the electronic device 110 and the accessory electronic device to execute the file transfer procedure. The file transfer procedure may include the exchange of files or data between the electronic device 110 and the accessory electronic device.

例如,文件传输程序可包括显示界面,使得当使用者利用电子装置110的输出输入单元点选对应于附属电子装置的操作图标后,处理单元113即可通过显示单元114显示文件传输程序的显示界面。显示界面可包括附属电子装置的文件列表等内容,使用者即可通过拖拉对应于文件数据的图标至此显示界面、从此显示界面拖拉出对应于文件数据的图标,或是其他的操作方式来完成文件的传输或交换。For example, the file transfer program may include a display interface, so that when the user uses the input and output unit of the electronic device 110 to click the operation icon corresponding to the accessory electronic device, the processing unit 113 can display the display interface of the file transfer program through the display unit 114 . The display interface can include the file list of the attached electronic device, etc., and the user can complete the file by dragging the icon corresponding to the file data to the display interface, dragging the icon corresponding to the file data from the display interface, or other operation methods transmission or exchange.

在上述的实施例中,都是以附属电子装置(例如图1附属装置120)为1个的情况。事实上在本发明中,主要电子装置110(图2所示电子装置)也可通过上述的实施例的方式,同时的辨识并连接多个附属电子装置。以下则将通过实施例配合图式说明主要电子装置110连接多个附属电子装置的情况。In the above-mentioned embodiments, there is only one accessory electronic device (such as the accessory device 120 in FIG. 1 ). In fact, in the present invention, the main electronic device 110 (the electronic device shown in FIG. 2 ) can also identify and connect multiple auxiliary electronic devices at the same time through the above-mentioned embodiment. In the following, the situation that the main electronic device 110 is connected to multiple auxiliary electronic devices will be described through embodiments and drawings.

图3为根据本发明实施例所示出通信系统的时序图。请参照图3,其中若各装置间所传送的信号为声波信号时,例如图1所示连线声波信号CSW或定位声波信号PSW时,在图3中则以虚线示出。若是若各装置间所传送的信号是通过连线传递时,则由实线示出。Fig. 3 is a sequence diagram showing a communication system according to an embodiment of the present invention. Please refer to FIG. 3 , where if the signals transmitted between the devices are sound wave signals, such as the connection sound wave signal CSW or the positional sound wave signal PSW shown in FIG. 1 , they are shown in dotted lines in FIG. 3 . If the signals transmitted between the various devices are transmitted through connection lines, it is indicated by a solid line.

通信系统10包括了主要电子装置110以及附属电子装置120、130。连线声波信号的中央频率可先被预设于主要电子装置110以及附属电子装置120、130中。附属电子装置120首先利用附属电子装置120的收音器(未示出)监听目前连线声波信号的中央频率附近的频带(或甚至定位声波信号可能的频率范围)是否有其他的声波信号(步骤S301)。若无,附属电子装置120则传送第一连线声波信号至主要电子装置(步骤S302)。The communication system 10 includes a main electronic device 110 and auxiliary electronic devices 120 , 130 . The central frequency of the connection sound wave signal can be preset in the main electronic device 110 and the auxiliary electronic devices 120 , 130 . The accessory electronic device 120 first utilizes the receiver (not shown) of the accessory electronic device 120 to monitor the frequency band near the central frequency of the current connection sound wave signal (or even locate the possible frequency range of the sound wave signal) to see if there are other sound wave signals (step S301 ). If not, the accessory electronic device 120 transmits the first connection sound wave signal to the main electronic device (step S302 ).

主要电子装置110可持续的监听连线声波信号以及定位声波信号的频率范围,当接收到附属电子装置120所发送的第一连线声波信号时,主要电子装置110则解析第一连线声波信号得到第一连线信息,并且根据第一连线信息与附属电子装置120建立连线(步骤S303)。当与附属电子装置120的连线建立后,主要电子装置110便可利用此连线将第一定位信号传送至附属电子装置120(步骤S304)。The main electronic device 110 continuously monitors the connection sound wave signal and locates the frequency range of the sound wave signal. When receiving the first connection sound wave signal sent by the auxiliary electronic device 120, the main electronic device 110 analyzes the first connection sound wave signal. The first connection information is obtained, and a connection is established with the accessory electronic device 120 according to the first connection information (step S303 ). After the connection with the auxiliary electronic device 120 is established, the main electronic device 110 can use the connection to transmit the first positioning signal to the auxiliary electronic device 120 (step S304 ).

当附属电子装置120通过上述的连线接收第一定位信号时,附属电子装置120便解析第一定位信号,获取必要的信息,例如由主要电子装置110所指定的定位声波信号的中心频率或频率范围等(步骤S305)。在本实施例中,附属电子装置120在解析第一定位信号后,将通过上述的连线传送应答(Acknowledgement,简称ACK)信号至主要电子装置110以通知主要电子装置110第一定位信号已被成功接收(步骤S306)。并且,附属电子装置120亦同时,例如根据第一定位信号中的必要信息,传送第一定位声波信号(步骤S307)。当主要电子装置110通过连线从附属电子装置120接收ACK信号,并且通过收音单元(例如,图2收音单元112)接收第一定位声波信号时,便可利用第一定位声波信号判断附属电子装置120的相对位置(即,第一相对位置),例如通过收音单元中的数个收音器所接收到的相位差来进行判断。进而,主要电子装置110便可根据上述的相对位置将对应于附属电子装置120的第一操作图标显示于主要电子装置110的显示单元(例如图2显示单元114)中。When the auxiliary electronic device 120 receives the first positioning signal through the above-mentioned connection, the auxiliary electronic device 120 analyzes the first positioning signal to obtain necessary information, such as the center frequency or frequency of the positioning acoustic wave signal specified by the main electronic device 110 range etc. (step S305). In this embodiment, after analyzing the first positioning signal, the auxiliary electronic device 120 will send an acknowledgment (ACK) signal to the main electronic device 110 through the above connection to notify the main electronic device 110 that the first positioning signal has been detected. Successfully received (step S306). Moreover, the accessory electronic device 120 also transmits the first positional acoustic wave signal at the same time, for example, according to the necessary information in the first positional signal (step S307 ). When the main electronic device 110 receives the ACK signal from the auxiliary electronic device 120 through the connection, and receives the first positional acoustic wave signal through the radio unit (for example, the radio unit 112 in FIG. 2 ), it can use the first positional acoustic wave signal to judge the auxiliary electronic device. The relative position of 120 (ie, the first relative position) is judged, for example, by the phase difference received by several radios in the radio unit. Furthermore, the main electronic device 110 can display the first operation icon corresponding to the auxiliary electronic device 120 on the display unit (such as the display unit 114 in FIG. 2 ) of the main electronic device 110 according to the above relative position.

另一方面,附属电子装置130也利用附属电子装置130的收音器(未示出)监听目前连线声波信号的中央频率附近的频带(或甚至定位声波信号可能的频率范围)是否有其他的声波信号(步骤S309)。此时,附属电子装置130则接收到了由其他电子装置所发送的声波信号(即,由附属电子装置120所发送的第一连线声波信号),附属电子装置130则等待预设时间(步骤S310)后,再重新判断是否此时仍有由其他电子装置所发送的声波信号(步骤S311),若无,附属电子装置130则传送第二连线声波信号至主要电子装置(步骤S312)。On the other hand, the accessory electronic device 130 also utilizes the receiver (not shown) of the accessory electronic device 130 to monitor the frequency band near the central frequency of the current connection sound wave signal (or even locate the possible frequency range of the sound wave signal) to see if there are other sound waves signal (step S309). At this time, the accessory electronic device 130 has received the sound wave signal sent by other electronic devices (that is, the first connection sound wave signal sent by the accessory electronic device 120), and the accessory electronic device 130 waits for a preset time (step S310 ), and then re-judging whether there are sound wave signals sent by other electronic devices at this time (step S311), if not, the auxiliary electronic device 130 transmits the second connection sound wave signal to the main electronic device (step S312).

主要电子装置110同样地持续的监听连线声波信号以及定位声波信号的频率范围,当接收到附属电子装置130所发送的第二连线声波信号时,主要电子装置110则解析第二连线声波信号得到第二连线信息,并且根据第二连线信息与附属电子装置130建立连线(步骤S312)。当与附属电子装置130的连线建立后,主要电子装置110便可利用此连线将第二定位信号传送至附属电子装置130(步骤S314)。The main electronic device 110 also continuously monitors the frequency range of the connection sound wave signal and the positioning sound wave signal. When receiving the second connection sound wave signal sent by the auxiliary electronic device 130, the main electronic device 110 analyzes the second connection sound wave signal. The signal obtains the second connection information, and establishes a connection with the accessory electronic device 130 according to the second connection information (step S312 ). After the connection with the auxiliary electronic device 130 is established, the main electronic device 110 can use the connection to transmit the second positioning signal to the auxiliary electronic device 130 (step S314 ).

当附属电子装置130通过上述的连线接收第一定位信号时,附属电子装置130便解析第二定位信号并且获取必要的信息,(步骤S315)。附属电子装置130在解析第二定位信号后,也将通过上述的连线传送ACK信号至主要电子装置110以通知主要电子装置110第二定位信号已被成功接收(步骤S316)。并且,附属电子装置130也同时传送第二定位声波信号(步骤S317)。当主要电子装置110通过连线从附属电子装置130接收ACK信号,并且通过收音单元接收第二定位声波信号时,主要电子装置110便可利用第二定位声波信号判断附属电子装置130的相对位置(即,第二相对位置)。进而,主要电子装置110便可根据上述的相对位置将对应于附属电子装置130的第二操作图标显示在主要电子装置110的显示单元中。When the accessory electronic device 130 receives the first positioning signal through the aforementioned connection, the accessory electronic device 130 analyzes the second positioning signal and obtains necessary information (step S315 ). After analyzing the second positioning signal, the auxiliary electronic device 130 will also send an ACK signal to the main electronic device 110 through the above connection to notify the main electronic device 110 that the second positioning signal has been successfully received (step S316 ). Moreover, the accessory electronic device 130 also transmits the second positional acoustic wave signal at the same time (step S317 ). When the main electronic device 110 receives the ACK signal from the accessory electronic device 130 through the connection, and receives the second positional acoustic wave signal through the radio unit, the main electronic device 110 can use the second positional acoustic wave signal to determine the relative position of the auxiliary electronic device 130 ( i.e., the second relative position). Furthermore, the main electronic device 110 can display the second operation icon corresponding to the auxiliary electronic device 130 on the display unit of the main electronic device 110 according to the above-mentioned relative position.

值得注意的是,在本实施例中,由于声波在空气中传递容易受到环境因素的干扰,主要电子装置110要同时收到从同一附属电子装置(例如附属电子装置120)所回传的ACK信号以及定位声波信号(例如第一定位声波信号),主要电子装置110才会根据定位声波信号来判断附属电子装置的相对位置,以降低误判附属电子装置的相对位置的机率。It is worth noting that, in this embodiment, since the transmission of sound waves in the air is easily disturbed by environmental factors, the main electronic device 110 must receive the ACK signal returned from the same auxiliary electronic device (such as the auxiliary electronic device 120) at the same time And the positioning acoustic wave signal (for example, the first positioning acoustic wave signal), the main electronic device 110 will judge the relative position of the auxiliary electronic device according to the positioning acoustic wave signal, so as to reduce the probability of misjudging the relative position of the auxiliary electronic device.

另一方面,由于在上述步骤S301~S318完成后,主要电子装置110与附属电子装置120、130的相对位置仍可能有所改变,例如经由使用者的移动等。因此,在主要电子装置110分别与附属电子装置120、130分别建立连线后,对应于定位附属电子装置120、130的步骤S304~S308、S314~S318将会被周期性的执行。也就是说,主要电子装置110将会周期性的持续发送定位信号(例如,第一定位信号以及第二定位信号)以持续的更新对应于各个附属电子装置(例如附属电子装置120、130)于主要电子装置110的显示单元上所显示的位置。On the other hand, after the above-mentioned steps S301-S318 are completed, the relative positions of the main electronic device 110 and the auxiliary electronic devices 120, 130 may still change, for example, due to the movement of the user. Therefore, after the main electronic device 110 establishes connection with the auxiliary electronic devices 120 and 130 respectively, the steps S304-S308 and S314-S318 corresponding to locating the auxiliary electronic devices 120 and 130 will be executed periodically. That is to say, the main electronic device 110 will continue to periodically send positioning signals (for example, the first positioning signal and the second positioning signal) to continuously update the location corresponding to each auxiliary electronic device (for example, the auxiliary electronic devices 120 and 130 ). The location displayed on the display unit of the main electronic device 110 .

而主要电子装置110可以多种方式周期性的持续发送上述的定位信号,例如,以广播(broadcast)方式或轮询(polling)方式发送上述的定位信号。以广播方式发送定位信号的机制而言,主要电子装置110可将提供给各附属电子装置的信息全部整合于单一定位信号中,当各个附属电子装置接收此定位信号中时,则分别解析对应于各附属电子装置的必要信息。例如,将图3所示的第一定位信号以及第二定位信号整合为单一定位信号,并同时发送此定位信号至附属电子装置120、130。The main electronic device 110 may periodically and continuously send the above-mentioned positioning signal in various ways, for example, sending the above-mentioned positioning signal in a broadcast or polling manner. For the mechanism of broadcasting the positioning signal, the main electronic device 110 can integrate all the information provided to the auxiliary electronic devices into a single positioning signal, and when each auxiliary electronic device receives the positioning signal, it analyzes the information corresponding to Necessary information for each accessory electronic device. For example, the first positioning signal and the second positioning signal shown in FIG. 3 are integrated into a single positioning signal, and the positioning signal is sent to the auxiliary electronic devices 120 and 130 at the same time.

但若是利用广播方式传送定位信号,主要电子装置110则必须在定位信号中指定各个附属电子装置所对应的定位声波信号的中心频率或频率范围,以使得主要电子装置110可成功分辨各个附属电子装置所回传的定位声波信号。但这么一来,由于各个附属电子装置可能在相同或是接近的时间点回传定位声波信号,主要电子装置110则必须同时监听多个频率范围并且解析各个频率范围中的定位声波信号,这样一来解析的动作的计算复杂度可能较高,可能会造成主要电子装置110较高的计算负担。However, if the positioning signal is transmitted by broadcasting, the main electronic device 110 must specify the center frequency or frequency range of the positioning acoustic wave signal corresponding to each auxiliary electronic device in the positioning signal, so that the main electronic device 110 can successfully distinguish each auxiliary electronic device. The returned positioning acoustic wave signal. But in this way, since each auxiliary electronic device may return the positioning acoustic wave signal at the same or close time point, the main electronic device 110 must simultaneously monitor multiple frequency ranges and analyze the positioning acoustic wave signal in each frequency range, so that The calculation complexity of the actions to be analyzed may be high, which may cause a high calculation burden on the main electronic device 110 .

另一方面,以轮询方式发送定位信号的机制而言,主要电子装置110则轮流传送定位信号至各个附属电子装置,待附属电子装置的相对位置被判断/更新后,主要电子装置110再传送对应于另一附属电子装置的定位信号。其中,由于主要电子装置110在单一时间内仅会接收到来自单一附属电子装置所回传的定位声波信号,因此,每个附属电子装置所回传的定位声波信号可位于相同的频率或不同的频率。主要电子装置110可通过定位信号(例如第一定位信号、第二定位信号)设定定位声波信号的中心频率或频率范围,也可根据周遭环境动态地调整定位声波信号的中心频率或频率范围。On the other hand, for the mechanism of sending positioning signals in a polling manner, the main electronic device 110 sends positioning signals to each auxiliary electronic device in turn, and after the relative position of the auxiliary electronic devices is judged/updated, the main electronic device 110 sends again A positioning signal corresponding to another accessory electronic device. Wherein, since the main electronic device 110 only receives the positional acoustic wave signal returned from a single auxiliary electronic device at a single time, the positional acoustic wave signal returned by each auxiliary electronic device can be located at the same frequency or at a different frequency. frequency. The main electronic device 110 can set the center frequency or frequency range of the positioning acoustic wave signal through positioning signals (such as the first positioning signal and the second positioning signal), and can also dynamically adjust the center frequency or frequency range of the positioning acoustic wave signal according to the surrounding environment.

例如,在图3所示实施例中,主要电子装置110先传送第一定位信号,并接收了由对应于第一定位信号的附属电子装置120所回传的第一定位声波信号(以及ACK信号)判断/更新第一相对位置以及对应地更新第一操作图标于显示单元上的位置(步骤S304~S308),再传送第二定位信号,后接收对应于第二定位信号的附属电子装置130所回传的第二定位声波信号(以及ACK信号)来判断/更新第二相对位置以及对应地更新第二操作图标于显示单元上的位置(步骤S314~S318)。接着,主要电子装置110便周期性的持续依序地执行步骤S304~S308以及步骤S314~S318,以追踪附属电子装置120、130与主要电子装置110的相对位置(第一相对位置、第二相对位置)的改变,并且更新主要电子装置110的显示单元上的第一操作图标以及第二操作图标的位置。For example, in the embodiment shown in FIG. 3, the main electronic device 110 first transmits the first positioning signal, and receives the first positioning acoustic wave signal (and the ACK signal) returned by the auxiliary electronic device 120 corresponding to the first positioning signal. ) determine/update the first relative position and correspondingly update the position of the first operation icon on the display unit (steps S304-S308), and then transmit the second positioning signal, and then receive the corresponding second positioning signal from the auxiliary electronic device 130 The returned second positional acoustic wave signal (and ACK signal) is used to determine/update the second relative position and correspondingly update the position of the second operation icon on the display unit (steps S314 - S318 ). Then, the main electronic device 110 periodically and continuously executes steps S304-S308 and steps S314-S318 to track the relative positions of the auxiliary electronic devices 120, 130 and the main electronic device 110 (the first relative position, the second relative position), and update the positions of the first operation icon and the second operation icon on the display unit of the main electronic device 110 .

另一方面,在本实施例中,若是主要电子装置110在发送定位信号(例如,第一定位信号)后一预设时间内未收到ACK信号时,除了周围干扰过高造成ACK信号无法正常被传送至主要电子装置110也可能为附属电子装置(例如,附属电子装置120)被使用者移动至远离于主要电子装置110之处,而造成连线中断。因此,在本实施例中,主要电子装置110将重传数次的定位信号(即,以预设时间间隔,传送预设数量的定位信号)。On the other hand, in this embodiment, if the main electronic device 110 does not receive the ACK signal within a preset time after sending the positioning signal (for example, the first positioning signal), except that the surrounding interference is too high and the ACK signal cannot be normal The transmission to the main electronic device 110 may also be caused by an auxiliary electronic device (eg, the auxiliary electronic device 120 ) being moved away from the main electronic device 110 by the user, resulting in disconnection of the connection. Therefore, in this embodiment, the main electronic device 110 retransmits the positioning signal several times (ie, transmits a preset number of positioning signals at a preset time interval).

若是主要电子装置110都未收到由附属电子装置所回传的ACK信号,主要电子装置110则持续发送定位信号,但逐渐的拉长定位信号间的时间间隔,直到接收到由附属电子装置所回传的ACK信号,重新判断附属电子装置与主要电子装置110的相对位置后,再恢复为以原先预设的时间间隔发送定位信号。在本发明并不限定于上述的设置,例如,主要电子装置110也可在传送预定数量的定位信号却未接收到任何ACK信号时,直接中断与此附属电子装置的连线并且不再发送对应于此附属电子装置的定位信号,或是以上述两种实施方式(逐渐拉长时间间隔,以及预定数量后中断连线以及发送定位信号)进行组合,但本发明并不限定于上述的设置。If the main electronic device 110 has not received the ACK signal returned by the auxiliary electronic device, the main electronic device 110 will continue to send positioning signals, but gradually lengthen the time interval between the positioning signals until it receives the ACK signal returned by the auxiliary electronic device. The returned ACK signal re-judges the relative position of the auxiliary electronic device and the main electronic device 110, and then resumes sending positioning signals at the original preset time interval. The present invention is not limited to the above-mentioned settings. For example, when the main electronic device 110 transmits a predetermined number of positioning signals but does not receive any ACK signal, it directly disconnects the connection with the auxiliary electronic device and no longer sends corresponding signals. Here, the positioning signal of the attached electronic device may be combined in the above two implementations (gradually increasing the time interval, and disconnecting the connection and sending the positioning signal after a predetermined number), but the present invention is not limited to the above-mentioned configuration.

在图3所示实施例中,与主要电子装置110所连接的附属电子装置仅有附属电子装置120、130两者,但是事实上在通信系统10中也可利用上述的侦测、连线以及判断相对位置的方式,使得通信系统10包括更多的附属电子装置,本发明并不限制于上述的设置以及附属电子装置的数量。In the embodiment shown in FIG. 3 , the auxiliary electronic devices connected to the main electronic device 110 are only the auxiliary electronic devices 120 and 130, but in fact, the above-mentioned detection, connection and The manner of determining the relative position makes the communication system 10 include more auxiliary electronic devices, and the present invention is not limited to the above-mentioned arrangement and the number of auxiliary electronic devices.

本发明更提供一种通信方法,适用于通信系统中的电子装置例如图1和图3所示通信系统10中的主要电子装置110,以及图2中的电子装置110。图4为根据本发明实施例所示出通信方法的流程图。请参照图4,首先在步骤S401,当接收第一连线声波信号时,根据第一连线声波信号,发送第一定位信号。然后在步骤S402,当接收对应于第一定位信号的第一定位声波信号时,根据第一定位声波信号判断发送第一定位声波信号的第一附属电子装置与电子装置之间的第一相对位置。接着,在步骤S403时,根据第一相对位置控制显示单元显示第一操作图标。而至于此通信方法的详细实施方式则可参考上述图1~图3的说明,在此则不赘述。The present invention further provides a communication method suitable for electronic devices in a communication system such as the main electronic device 110 in the communication system 10 shown in FIGS. 1 and 3 , and the electronic device 110 in FIG. 2 . Fig. 4 is a flowchart showing a communication method according to an embodiment of the present invention. Please refer to FIG. 4 , first in step S401 , when receiving a first connection sound wave signal, a first positioning signal is sent according to the first connection sound wave signal. Then in step S402, when receiving the first positional acoustic wave signal corresponding to the first positional acoustic wave signal, judge the first relative position between the first accessory electronic device and the electronic device that sent the first positional acoustic wave signal according to the first positional acoustic wave signal . Next, in step S403, the display unit is controlled to display the first operation icon according to the first relative position. As for the detailed implementation of the communication method, reference may be made to the above descriptions in FIGS. 1 to 3 , which will not be repeated here.

在本发明中,主要电子装置110以及附属电子装置120、130的命名仅用以区分在通信系统中电子装置间在传递信息时的主从关系。主要电子装置110以及附属电子装置120、130可以为任一电子装置,例如智能手机、平板电脑、笔记本电脑、个人电脑、或是数码相机等。使用者可通过执行主要电子装置110以及附属电子装置120、130上的应用程序来实现本发明中的技术内容,并可在执行应用程序时决定各电子装置的主从关系(选择某一电子装置为主要电子装置,而其他为附属电子装置等)。In the present invention, the names of the main electronic device 110 and the auxiliary electronic devices 120 and 130 are only used to distinguish the master-slave relationship between the electronic devices when transmitting information in the communication system. The main electronic device 110 and the auxiliary electronic devices 120 and 130 can be any electronic devices, such as smart phones, tablet computers, notebook computers, personal computers, or digital cameras. The user can realize the technical content in the present invention by executing the application program on the main electronic device 110 and the auxiliary electronic device 120, 130, and can determine the master-slave relationship of each electronic device when executing the application program (select a certain electronic device as the main electronic device, and others as auxiliary electronic devices, etc.).

但其中,作为主要电子装置的电子装置必须至少包括可以接收声波以及利用声波判断相对位置的收音单元(例如至少包括距离一定距离以上的两个收音器的收音单元),并且同时具有滤出连线声波信号、定位声波信号能力的滤波器。而作为附属电子装置的电子装置则至少必须具有可以传送连线声波信号、定位声波信号能力的扬声器,以及监听连线声波信号、定位声波信号的频率范围的收音单元以及滤波器。其他的设置则可参考上述实施例,在此则不赘述。But among them, the electronic device as the main electronic device must at least include a radio unit that can receive sound waves and use sound waves to determine the relative position (for example, a radio unit that includes at least two radio receivers at a certain distance), and has a filter connection A filter for the acoustic signal, the ability to localize the acoustic signal. As an accessory electronic device, the electronic device must at least have a speaker capable of transmitting and localizing sound wave signals, a radio unit and a filter for monitoring the frequency range of the connecting sound wave signals and localizing sound wave signals. For other settings, reference may be made to the above-mentioned embodiments, which will not be repeated here.

图5为根据本发明实施例所示出通信系统的示意图。其中,在本实施方式中,使用者的装置包括了平板电脑510~530,以及智能手机540、550,这些装置的相对位置则如同图5所示,平板电脑520位于平板电脑510的左侧,平板电脑520位于平板电脑510的下侧,而智能手机540、550则分别在平板电脑510的右侧上缘及右侧下缘。Fig. 5 is a schematic diagram showing a communication system according to an embodiment of the present invention. Wherein, in this embodiment, the user's devices include tablet computers 510-530, and smart phones 540, 550, and the relative positions of these devices are as shown in FIG. The tablet computer 520 is located on the lower side of the tablet computer 510 , while the smart phones 540 and 550 are respectively located on the right upper edge and the right lower edge of the tablet computer 510 .

而经由使用者的选择(例如,通过开启应用程序并且点选),而将平板电脑510指定为主要电子装置,而平板电脑520~530以及智能手机540、550则被指定为附属电子装置。而通过本发明中的技术方案(例如运用图3中的各步骤的组合)而可使得在平板电脑的模感屏(即,显示单元)上显示对应于平板电脑520~530以及智能手机540、550的操作图标IC1~IC4,并且各个操作图标IC1~IC4于模感屏上的位置即对应于各个装置(平板电脑520~530以及智能手机540、550)与平板电脑510的相对位置,即对应于平板电脑520的操作图标IC1位于模感屏的左侧、对应于平板电脑530的操作图标IC2位于模感屏的下侧、对应于智能手机540的操作图标IC3位于模感屏的右侧偏下处以及对应于智能手机550的操作图标IC4位于模感屏的右侧偏上处。The tablet computer 510 is designated as the main electronic device through the user's selection (for example, by opening an application program and clicking), and the tablet computers 520-530 and smart phones 540, 550 are designated as the auxiliary electronic devices. However, through the technical solution in the present invention (for example, using the combination of steps in Fig. 3 ), it is possible to display the information corresponding to the tablet computer 520-530 and the smart phone 540, The operation icons IC1~IC4 of 550, and the position of each operation icon IC1~IC4 on the touch screen corresponds to the relative position of each device (tablet computer 520~530 and smart phone 540, 550) and the tablet computer 510, that is, corresponds to The operation icon IC1 corresponding to the tablet computer 520 is located on the left side of the touch screen, the operation icon IC2 corresponding to the tablet computer 530 is located on the lower side of the touch screen, and the operation icon IC3 corresponding to the smart phone 540 is located on the right side of the touch screen. The lower part and the operation icon IC4 corresponding to the smart phone 550 are located on the upper right side of the touch screen.

使用者则可通过点选操作图标IC1~IC4打开对应于各装置(例如平板电脑520~530以及智能手机540、550)的显示界面,以传送/交换文件以及数据,或是通过平板电脑510显示或播放各装置(例如平板电脑520~530以及智能手机540、550)上的多媒体资料,反之亦然。The user can click the operation icons IC1-IC4 to open the display interface corresponding to each device (such as tablet computers 520-530 and smart phones 540, 550) to transmit/exchange files and data, or display them through the tablet computer 510 Or play multimedia data on various devices (such as tablet computers 520-530 and smart phones 540, 550), and vice versa.

综上所述,本发明提供了一种通信系统、电子装置以及通信方法通过声波信号传送连线信息以及声波信号定位判断相对位置等技术方案,让电子装置之间进行连线,让使用者简化电子装置间的文件/数据的传输操作,免去需要携带多种传输线、或是上传/下载文件的麻烦。电子装置间的相对位置也被反应于主要电子装置的显示单元上,让使用者可直觉地对多个附属电子装置(其他连接的电子装置)进行操作。To sum up, the present invention provides a communication system, an electronic device and a communication method through sound wave signals to transmit connection information and sound wave signal positioning to determine relative positions and other technical solutions, so that electronic devices can be connected to each other, allowing users to simplify The file/data transmission operation between electronic devices eliminates the need to carry multiple transmission lines, or the trouble of uploading/downloading files. The relative positions of the electronic devices are also reflected on the display unit of the main electronic device, so that the user can intuitively operate multiple auxiliary electronic devices (other connected electronic devices).

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (11)

1.一种通信系统,其特征在于,包括:1. A communication system, characterized in that, comprising: 主要电子装置,其中该主要电子装置具有二收音器;以及a primary electronic device, wherein the primary electronic device has two microphones; and 第一附属电子装置,传送第一连线声波信号,其中该第一连线声波信号包括连线信息;The first accessory electronic device transmits a first connection sound wave signal, wherein the first connection sound wave signal includes connection information; 其中,当该主要电子装置接收该第一连线声波信号时,该主要电子装置解析该连线声波信号得到该连线信息,根据该第一连线声波信号的该连线信息与该第一附属电子装置建立连线,并且通过该连线发送第一定位信号;Wherein, when the main electronic device receives the first connection sound wave signal, the main electronic device analyzes the connection sound wave signal to obtain the connection information, and according to the connection information of the first connection sound wave signal and the first The accessory electronic device establishes a connection, and sends a first positioning signal through the connection; 其中,当该第一附属电子装置接收该第一定位信号时,发送第一定位声波信号以及应答信号至该主要电子装置;以及Wherein, when the first auxiliary electronic device receives the first positioning signal, it sends a first positioning acoustic wave signal and a response signal to the main electronic device; and 反应于接收该第一定位声波信号以及该应答信号,该主要电子装置根据该二收音器所接收的第一定位声波信号之间的第一相位差判断该第一附属电子装置与该主要电子装置之间的第一相对位置,并根据该第一相对位置显示第一操作图标在该主要电子装置的显示单元。Responding to receiving the first positional acoustic wave signal and the response signal, the main electronic device determines whether the first auxiliary electronic device is compatible with the main electronic device according to a first phase difference between the first positional acoustic wave signals received by the two receivers. and displaying a first operation icon on the display unit of the main electronic device according to the first relative position. 2.根据权利要求1所述的通信系统,其特征在于,当该主要电子装置接收对应于该第一操作图标的操作信号时,该主要电子装置利用该连线执行文件传输程序。2. The communication system according to claim 1, wherein when the main electronic device receives an operation signal corresponding to the first operation icon, the main electronic device uses the connection to execute a file transfer procedure. 3.根据权利要求1所述的通信系统,其特征在于,所述通信系统还包括:3. The communication system according to claim 1, wherein the communication system further comprises: 第二附属电子装置,当判断未接收该第一连线声波信号时,传送第二连线声波信号;The second accessory electronic device, when it is judged that the first connection sound wave signal is not received, transmits a second connection sound wave signal; 其中,当该主要电子装置接收该第二连线声波信号时,根据该第二连线声波信号,发送第二定位信号;Wherein, when the main electronic device receives the second connection sound wave signal, it sends a second positioning signal according to the second connection sound wave signal; 其中,当该第二附属电子装置接收该第二定位信号时,发送第二定位声波信号至该主要电子装置;以及Wherein, when the second auxiliary electronic device receives the second positioning signal, it sends a second positioning acoustic wave signal to the main electronic device; and 该主要电子装置根据该定位声波信号判断该第二附属电子装置与该主要电子装置之间的第二相对位置,并根据该第二相对位置显示第二操作图标于该主要电子装置的第二显示单元。The main electronic device judges a second relative position between the second auxiliary electronic device and the main electronic device according to the positioning acoustic wave signal, and displays a second operation icon on the second display of the main electronic device according to the second relative position unit. 4.根据权利要求3所述的通信系统,其特征在于,该第一定位信号包括第一频率值;4. The communication system according to claim 3, wherein the first positioning signal comprises a first frequency value; 当该第一附属电子装置接收该第一定位信号时,根据该第一定位信号中的该第一频率值发送该第一定位声波信号至该主要电子装置;When the first accessory electronic device receives the first positioning signal, sending the first positioning acoustic wave signal to the main electronic device according to the first frequency value in the first positioning signal; 该第二定位信号包括第二频率值;以及the second positioning signal includes a second frequency value; and 当该第二附属电子装置接收该第二定位信号时,根据该第二定位信号中的该第二频率值发送该第二定位声波信号至该主要电子装置。When the second auxiliary electronic device receives the second positioning signal, it sends the second positioning acoustic wave signal to the main electronic device according to the second frequency value in the second positioning signal. 5.根据权利要求4所述的通信系统,其特征在于,该第一定位信号中的该第一频率值与该第二定位信号中的该第二频率值不同。5. The communication system according to claim 4, wherein the first frequency value in the first positioning signal is different from the second frequency value in the second positioning signal. 6.根据权利要求3所述的通信系统,其特征在于,该主要电子装置以轮询方式周期性地通过通信单元传送该第一定位信号以及该第二定位信号。6. The communication system according to claim 3, wherein the main electronic device periodically transmits the first positioning signal and the second positioning signal through the communication unit in a polling manner. 7.一种电子装置,其特征在于,包括:7. An electronic device, characterized in that it comprises: 通信单元;communication unit; 收音单元,其中该收音单元具有二收音器;A radio unit, wherein the radio unit has two radios; 处理单元,耦接该通信单元以及该收音单元;a processing unit, coupled to the communication unit and the radio unit; 显示单元,耦接该处理单元,a display unit coupled to the processing unit, 其中,当该收音单元接收第一连线声波信号时,该第一连线声波信号包括连线信息,该处理单元解析该第一连线声波信号得到该连线信息,根据该第一连线声波信号的该连线信息与第一附属电子装置建立连线,并且通过该通信单元由该连线发送第一定位信号;以及Wherein, when the sound receiving unit receives the first connection sound wave signal, the first connection sound wave signal includes connection information, and the processing unit analyzes the first connection sound wave signal to obtain the connection information, according to the first connection sound wave signal The connection information of the acoustic wave signal establishes a connection with the first accessory electronic device, and sends a first positioning signal through the connection through the communication unit; and 其中,当该处理单元通过该收音单元接收对应于该第一定位信号的第一定位声波信号以及通过该连线接收应答信号时,反应于接收该第一定位声波信号以及该应答信号,该处理单元根据该二收音器所接收的该第一定位声波信号之间的第一相位差判断发送该第一定位声波信号的该第一附属电子装置与该电子装置之间的第一相对位置,并且该处理单元根据该第一相对位置控制该显示单元显示第一操作图标。Wherein, when the processing unit receives the first positional acoustic wave signal corresponding to the first positioning signal through the sound receiving unit and the response signal through the connection, in response to receiving the first positional acoustic wave signal and the response signal, the processing The unit judges a first relative position between the first accessory electronic device that sends the first positional acoustic wave signal and the electronic device according to the first phase difference between the first positional acoustic wave signals received by the two receivers, and The processing unit controls the display unit to display a first operation icon according to the first relative position. 8.根据权利要求7所述的电子装置,其特征在于,当该处理单元接收对应于该操作图标的操作信号时,该电子装置利用该连线执行文件传输程序。8 . The electronic device according to claim 7 , wherein when the processing unit receives an operation signal corresponding to the operation icon, the electronic device utilizes the connection to execute a file transfer program. 9.根据权利要求7所述的电子装置,其特征在于,包括:9. The electronic device according to claim 7, comprising: 当该收音单元接收第二连线声波信号时,该处理单元根据该第二连线声波信号,通过该通信单元发送第二定位信号;以及When the radio unit receives the second connection sound wave signal, the processing unit sends a second positioning signal through the communication unit according to the second connection sound wave signal; and 其中,当该处理单元通过该收音单元接收对应于该第二定位信号的第二定位声波信号时,该处理单元根据该第二定位声波信号判断发送该第二定位声波信号的第二附属电子装置与该电子装置之间的第二相对位置,并且该处理单元根据该第二相对位置控制该显示单元显示第二操作图标。Wherein, when the processing unit receives the second positional acoustic wave signal corresponding to the second positional acoustic wave signal through the sound receiving unit, the processing unit judges the second accessory electronic device that sends the second positional acoustic wave signal according to the second positional acoustic wave signal a second relative position with the electronic device, and the processing unit controls the display unit to display a second operation icon according to the second relative position. 10.一种通信方法,适用于通信系统中的电子装置,其特征在于,包括:10. A communication method, suitable for an electronic device in a communication system, characterized in that it comprises: 当接收第一连线声波信号时,根据该第一连线声波信号,发送第一定位信号,其中该第一连线声波信号包括连线信息;When receiving a first connection acoustic wave signal, sending a first positioning signal according to the first connection acoustic wave signal, wherein the first connection acoustic wave signal includes connection information; 当藉由该电子装置的二收音器接收对应于该第一定位信号的第一定位声波信号以及通过该连线接收应答信号时,反应于接收该第一定位声波信号以及该应答信号,根据该二收音器所接收的该第一定位声波信号之间的第一相位差判断发送该第一定位声波信号的第一附属电子装置与该电子装置之间的第一相对位置;以及When the first positioning acoustic wave signal corresponding to the first positioning signal is received by the two receivers of the electronic device and the response signal is received through the connection, in response to receiving the first positioning acoustic wave signal and the response signal, according to the The first phase difference between the first positional acoustic wave signal received by the two receivers determines the first relative position between the first accessory electronic device sending the first positional acoustic wave signal and the electronic device; and 根据该第一相对位置控制显示单元显示第一操作图标,controlling the display unit to display the first operation icon according to the first relative position, 于接收该第一连线声波信号之后所述通信方法还包括:After receiving the first connection acoustic wave signal, the communication method further includes: 解析该第一连线声波信号得到该连线信息;analyzing the first connection sound wave signal to obtain the connection information; 根据该连线信息与该第一附属电子装置建立连线;以及establishing a connection with the first accessory electronic device according to the connection information; and 通过该连线传送该第一定位信号。The first positioning signal is transmitted through the connection. 11.根据权利要求10所述的通信方法,其特征在于,所述通信方法还包括:11. The communication method according to claim 10, further comprising: 当接收第二连线声波信号时,根据该第二连线声波信号,发送第二定位信号;When receiving the second connection acoustic wave signal, sending a second positioning signal according to the second connection acoustic wave signal; 当接收对应于该第二定位信号的第二定位声波信号时,根据该第二定位声波信号判断发送该第二定位声波信号的第二附属电子装置与该电子装置之间的第二相对位置,并且处理单元根据该第二相对位置控制该显示单元显示第二操作图标。When receiving a second positional acoustic wave signal corresponding to the second positional acoustic wave signal, judging a second relative position between the second accessory electronic device sending the second positional acoustic wave signal and the electronic device according to the second positional acoustic wave signal, And the processing unit controls the display unit to display a second operation icon according to the second relative position.
CN201410032241.4A 2014-01-23 2014-01-23 Communication system, electronic device and communication method Active CN104811250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410032241.4A CN104811250B (en) 2014-01-23 2014-01-23 Communication system, electronic device and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410032241.4A CN104811250B (en) 2014-01-23 2014-01-23 Communication system, electronic device and communication method

Publications (2)

Publication Number Publication Date
CN104811250A CN104811250A (en) 2015-07-29
CN104811250B true CN104811250B (en) 2018-02-09

Family

ID=53695785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410032241.4A Active CN104811250B (en) 2014-01-23 2014-01-23 Communication system, electronic device and communication method

Country Status (1)

Country Link
CN (1) CN104811250B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102406695B1 (en) * 2015-12-24 2022-06-08 삼성전자주식회사 Apparatus and method for transmitting and receiving data based on sound signal in wireless communication system
CN110221281B (en) * 2018-03-01 2022-10-21 宏碁股份有限公司 Electronic device and positioning method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103119977A (en) * 2010-09-27 2013-05-22 雅马哈株式会社 Communication terminal, wireless device, provider server, and wireless communication system
CN203289452U (en) * 2013-01-05 2013-11-13 上海山景集成电路股份有限公司 Wireless audio system based on acoustic wave communication pairing

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2557934T3 (en) * 2007-08-20 2016-01-29 Sonitor Technologies As Ultrasonic detector
CN101980890B (en) * 2008-09-26 2013-04-24 松下电器产业株式会社 Blind-corner vehicle detection device and method thereof
CN102299747A (en) * 2010-06-22 2011-12-28 上海云途信息技术有限公司 Device, system and method for performing safe data communication based on sound waves
JP2012093705A (en) * 2010-09-28 2012-05-17 Yamaha Corp Speech output device
KR20120040958A (en) * 2010-10-20 2012-04-30 삼성전자주식회사 Method for communicating in a portable terminal
CN202019386U (en) * 2011-04-18 2011-10-26 陈卓菲 Ultrasonic positioning system for mobile phone
US9031259B2 (en) * 2011-09-15 2015-05-12 JVC Kenwood Corporation Noise reduction apparatus, audio input apparatus, wireless communication apparatus, and noise reduction method
CN103209030B (en) * 2012-01-12 2015-05-13 宏碁股份有限公司 Electronic device and data transmission method thereof
JP5862349B2 (en) * 2012-02-16 2016-02-16 株式会社Jvcケンウッド Noise reduction device, voice input device, wireless communication device, and noise reduction method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103119977A (en) * 2010-09-27 2013-05-22 雅马哈株式会社 Communication terminal, wireless device, provider server, and wireless communication system
CN203289452U (en) * 2013-01-05 2013-11-13 上海山景集成电路股份有限公司 Wireless audio system based on acoustic wave communication pairing

Also Published As

Publication number Publication date
CN104811250A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
EP3582530A1 (en) Method for connecting to network, mobile terminal, electronic device, and graphical user interface
WO2021204045A1 (en) Audio control method and electronic device
EP2851785B1 (en) Dual screen system and method
JP2022501920A (en) Sidelink link failure detection method and terminal
CN111083684A (en) Method for controlling electronic equipment and electronic equipment
WO2016197697A1 (en) Gesture control method, device and system
EP3713279B1 (en) Adjacent cell rrm measurement control method, mobile communication terminal, and network side device
CN109995933B (en) Method for controlling alarm clock of terminal device and terminal device
WO2020220876A1 (en) Application interface displaying method and mobile terminal
EP3860256A1 (en) Resource pool configuration method, resource pool use method, configuration device and terminal
CN110196668B (en) Information processing method and terminal equipment
WO2021104246A1 (en) Network connection method and electronic device
WO2020253340A1 (en) Navigation method and mobile terminal
JP2022528236A (en) SSB transmission instruction method, device, terminal, device and medium
JP7309054B2 (en) Multi-network access method and terminal equipment
CN108683444A (en) Data transmission method and related product
JP2017513416A (en) Data transmission method, apparatus, facility, program, and recording medium
EP3035657A1 (en) Method for controlling communication setting of mobile terminal and mobile terminal
JP6491237B2 (en) Method, apparatus, program and recording medium for processing touch screen point reports
CN104811250B (en) Communication system, electronic device and communication method
CN109788114B (en) Call processing method and terminal
WO2016023201A1 (en) Method and terminal for processing concurrent services
JP2012019413A (en) Display system, terminal device, display device, and program
CN108829306B (en) Information processing method and mobile terminal
WO2021190353A1 (en) Interaction method and display device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant