[go: up one dir, main page]

HK1223466B - Relay device, voice communication system, recording medium, and method for relaying voice signal - Google Patents

Relay device, voice communication system, recording medium, and method for relaying voice signal Download PDF

Info

Publication number
HK1223466B
HK1223466B HK16111727.9A HK16111727A HK1223466B HK 1223466 B HK1223466 B HK 1223466B HK 16111727 A HK16111727 A HK 16111727A HK 1223466 B HK1223466 B HK 1223466B
Authority
HK
Hong Kong
Prior art keywords
terminal
terminal device
communication
session
communication session
Prior art date
Application number
HK16111727.9A
Other languages
Chinese (zh)
Other versions
HK1223466A1 (en
Inventor
园部博崇
Original Assignee
艾可慕株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 艾可慕株式会社 filed Critical 艾可慕株式会社
Priority claimed from PCT/JP2014/079132 external-priority patent/WO2015068663A1/en
Publication of HK1223466A1 publication Critical patent/HK1223466A1/en
Publication of HK1223466B publication Critical patent/HK1223466B/en

Links

Description

中继装置、声音通信系统、记录介质以及声音信号的中继方法Relay device, voice communication system, recording medium, and voice signal relay method

技术领域Technical Field

本发明涉及利用了无线LAN等网络的声音通信系统。The present invention relates to a voice communication system utilizing a network such as a wireless LAN.

背景技术Background Art

以往,作为进行基于无线方式的声音通信的设备,用模拟信号或者数字信号对作为连续时间信号的高频载波进行调制并发送的所谓的无线通信机是主流。无线通信机进行1对1的通信是基本功能,还提出了具备在多个无线通信机彼此之间同时进行通信的小组通信功能的无线通信机(参照非专利文献1)。Conventionally, so-called wireless communication devices, which modulate a high-frequency carrier wave (a continuous-time signal) with an analog or digital signal and transmit it, have been the mainstream for wireless voice communication. While one-to-one communication is a basic function of wireless communication devices, some have also been proposed, including group communication capabilities that allow multiple wireless communication devices to communicate simultaneously (see Non-Patent Document 1).

以往的利用了无线通信机的小组通信,是通过对各无线通信机设定本机的所属小组并由无线通信机自身判断针对小组呼叫是否进行响应来实现的。具体而言,在有来自其他无线通信机的小组通信的呼叫时,判断该小组通信的呼叫是否为发往本机所属的小组的呼叫,在是发往本机所属的小组的呼叫的情况下,响应该呼叫。在被设定了相同所属小组的无线通信机存在多台(3台以上)的情况下,在这些无线通信机彼此之间实现小组通信。Conventional group communication using wireless communication devices is achieved by configuring each wireless communication device to belong to a specific group, and then having the wireless communication device determine whether to respond to group calls. Specifically, when a group communication call comes in from another wireless communication device, it determines whether the call is addressed to the group to which the device belongs. If so, the device responds to the call. If there are multiple wireless communication devices (three or more) assigned to the same group, group communication is enabled between these devices.

在先技术文献Prior art literature

非专利文献Non-patent literature

非专利文献1:株式会社JVCケンウツド、業務用無線機TCP-U90F<URL:http://www2jvckenwood.com/business/tcp_u90f/>Non-Patent Document 1: JVC Kenwood Co., Ltd., Business Wireless Network TCP-U90F <URL: http://www2jvckenwood.com/business/tcp_u90f/>

发明内容Summary of the Invention

发明所要解决的课题Problems to be solved by the invention

虽然能够利用3台以上的非专利文献1的无线通信机来进行小组通信,但通信形式是半双工方式。因此,即使是小组通信,能够发送声音信号(能够讲话)的也只有1台。在同时有两台以上发送了声音信号的情况下,发送中的无线通信机无法接收其他无线通信机的发送信号。而且,由于多个发送信号拥塞,因此接收中的无线通信机也无法听到声音。While group communication can be performed using three or more wireless communication devices in Non-Patent Document 1, the communication format is half-duplex. Therefore, even with group communication, only one device can transmit audio signals (can speak). If two or more devices transmit audio signals simultaneously, the transmitting wireless communication device cannot receive signals from other wireless communication devices. Furthermore, because multiple transmissions are jammed, the receiving wireless communication device cannot hear the audio.

在对上述无线通信机存储所属小组的方式的小组通信中,无法总括地管理哪个无线通信机属于哪个小组。另外,若在各无线通信机中不变更所属小组,则无法进行属于小组的无线通信机的变更,因此无法根据实时的状况来灵活地变更小组设定。In group communication, where the group to which each wireless communication device is assigned is stored, it is impossible to comprehensively manage which wireless communication devices belong to which group. Furthermore, unless the group assigned to each wireless communication device is changed, it is impossible to change the wireless communication device belonging to a group, making it impossible to flexibly change the group settings according to real-time conditions.

本发明的目的在于提供一种声音通信系统,其中,经由通信网络来连接中继装置和作为通信机的终端装置,并使中继装置管理终端装置的小组,从而能够实现自由度高的小组通信。An object of the present invention is to provide a voice communication system in which a relay device and a terminal device as a communication device are connected via a communication network, and the relay device manages a group of terminal devices, thereby enabling group communication with a high degree of freedom.

用于解决课题的手段Means for solving problems

本发明的中继装置具备:经由网络而与终端装置进行通信的网络通信部、控制与终端装置的通信的控制部、以及设定有会话表格的存储部。网络通信部从终端装置接收附加了对通信对方的终端装置进行指定的信息的声音信号。控制部在从终端装置接收到最初的声音信号(例如后述的呼叫声音数据包)时,在会话表格中登记以发送出该声音信号的终端装置以及由附加于该声音信号的指定信息指定的终端装置作为参加终端的通信会话。为了建立通信会话,只要开始声音信号的发送即可,不需要如SIP过程的事前的过程。然后,控制部将包含该最初的声音信号的从参加终端接收到的声音信号转发给各参加终端,在从两台以上的参加终端同时接收到声音信号的情况下,对这些声音信号进行混合,并向参加终端发送该混合后的声音信号。The relay device of the present invention comprises: a network communication unit for communicating with a terminal device via a network, a control unit for controlling communication with the terminal device, and a storage unit having a session table set therein. The network communication unit receives a voice signal to which information specifying the terminal device of the communication partner is attached from the terminal device. When the control unit receives the initial voice signal (e.g., a call voice data packet described later) from the terminal device, it registers the terminal device that sent the voice signal and the terminal device specified by the designation information attached to the voice signal in the session table as a communication session of participating terminals. In order to establish a communication session, it is sufficient to start sending the voice signal, and no prior process such as the SIP process is required. Then, the control unit forwards the voice signal received from the participating terminal including the initial voice signal to each participating terminal. When voice signals are received from two or more participating terminals at the same time, the control unit mixes the voice signals and sends the mixed voice signal to the participating terminals.

本发明的程序使具备经由网络而与终端装置进行通信的网络通信部和设定有会话表格的存储部的中继装置的计算机作为第一、第二以及第三单元发挥功能。第一单元在从终端装置接收到附加了对通信对方的终端装置进行指定的信息的最初的声音信号时,在所述会话表格中登记以发送出该声音信号的终端装置以及由附加于该声音信号的指定信息指定的终端装置作为参加终端的通信会话。第二单元将从参加终端接收到的(包含最初的声音信号的)声音信号转发给各参加终端。第三单元在从两台以上的参加终端同时接收到声音信号的情况下,对这些声音信号进行混合,并向参加终端发送该混合后的声音信号。The program of the present invention causes a computer including a network communication unit for communicating with a terminal device via a network and a relay device having a storage unit configured with a session table to function as the first, second, and third units. The first unit, upon receiving an initial voice signal from a terminal device to which information specifying the communication partner's terminal device is attached, registers the terminal device that transmitted the voice signal and the terminal device specified by the designation information attached to the voice signal as participating terminals in the communication session in the session table. The second unit forwards the voice signal (including the initial voice signal) received from the participating terminal to each participating terminal. The third unit, upon receiving voice signals simultaneously from two or more participating terminals, mixes the voice signals and transmits the mixed voice signal to the participating terminals.

本发明的声音信号的中继方法利用具备经由网络而与终端装置进行通信的网络通信部和设定有会话表格的存储部的中继装置对声音信号进行中继。在第一步骤中,中继装置在从终端装置接收到附加了对通信对方的终端装置进行指定的信息的最初的声音信号时,在所述会话表格中登记以发送出该声音信号的终端装置以及由附加于该声音信号的指定信息指定的终端装置作为参加终端的通信会话。在第二步骤中,中继装置将包含最初的声音信号的从参加终端接收到的声音信号转发给各参加终端。在第三步骤中,中继装置在从两台以上的参加终端同时接收到声音信号的情况下,对这些声音信号进行混合,并向参加终端发送该混合后的声音信号。The present invention's audio signal relay method utilizes a relay device equipped with a network communication unit for communicating with terminal devices via a network and a storage unit configured with a session table to relay audio signals. In a first step, upon receiving an initial audio signal from a terminal device, to which information specifying the communicating party's terminal device is attached, the relay device registers the terminal device that transmitted the audio signal and the terminal device specified by the designation information attached to the audio signal as participating terminals in the communication session in the session table. In a second step, the relay device forwards the audio signal received from the participating terminal, including the initial audio signal, to each participating terminal. In a third step, upon receiving audio signals simultaneously from two or more participating terminals, the relay device mixes the audio signals and transmits the mixed audio signal to the participating terminals.

控制部以及第三单元,还有中继装置在第三步骤中,可以针对发送出声音信号的终端装置,发送将除从该终端装置发送出的声音信号之外的接收声音信号混合而成的信号。In the third step, the control unit, the third unit, and the relay device may transmit a signal obtained by mixing the received audio signal other than the audio signal transmitted from the terminal device to the terminal device that transmitted the audio signal.

控制部以及第一单元,还有中继装置在第一步骤中,以及第一步骤,可以在从参加终端的任一者均未接收到声音信号且经过了给定时间以上的情况下,将通信会话从会话表格中删除。The control unit, the first unit, and the relay device may delete the communication session from the session table in the first step and in the first step if no audio signal is received from any participating terminal and a predetermined time period has elapsed.

控制部以及第一单元,还有中继装置在第一步骤中,可以在附加于从终端装置接收到的最初的声音信号的指定信息是指定原有小组的信息的情况下,在会话表格中登记以发送出该声音信号的终端装置以及属于该原有小组的终端装置作为参加终端的通信会话。The control unit, the first unit, and the relay device can, in the first step, register the terminal device that sent the sound signal and the terminal devices belonging to the original group as participating terminals in the communication session in the session table when the designated information attached to the initial sound signal received from the terminal device is information designating the original group.

控制部以及第一单元,还有中继装置在第一步骤中,可以在接收到附有对所述会话表格中先前登记的通信会话的参加终端中未包含的至少一个终端装置进行指定的指定信息的声音信号的情况下,还在会话表格中登记以发送了该声音信号的终端装置以及由所述指定信息指定的终端装置作为参加终端的新的通信会话。The control unit, the first unit, and the relay device can, in the first step, register in the session table a new communication session in which the terminal device that sent the sound signal and the terminal device specified by the designation information are participating terminals upon receiving a sound signal to which designation information is attached that specifies at least one terminal device that is not included in the participating terminals of the communication session previously registered in the session table.

控制部以及第一单元,还有中继装置在第一步骤中,可以在新登记的通信会话的参加终端之中包含先前登记的通信会话的参加终端的情况下,将成为该双方的通信会话的参加终端的终端装置从所述先前登记的通信会话(的参加终端)中删除。The control unit, the first unit, and the relay device can, in the first step, delete the terminal device that will become the participating terminal of the communication session between the two parties from the (participating terminals of the) previously registered communication session when the participating terminals of the newly registered communication session include the participating terminals of the previously registered communication session.

本发明的声音通信系统包括:具备麦克风、声音输出部以及终端网络通信部的终端装置;和具备网络通信部、控制部以及存储部的中继装置,终端装置的终端网络通信部和中继装置的网络通信部经由网络来收发声音信号。终端装置在从麦克风输入的声音信号上附加对通信对方的终端装置进行指定的信息并发送给中继装置,且对从中继装置接收到的声音信号进行再生。在中继装置的存储部中设定有会话表格。中继装置的网络通信部从终端装置接收附加了指定信息的声音信号。The voice communication system of the present invention includes: a terminal device equipped with a microphone, a voice output unit, and a terminal network communication unit; and a relay device equipped with a network communication unit, a control unit, and a storage unit. The terminal network communication unit of the terminal device and the network communication unit of the relay device transmit and receive voice signals via a network. The terminal device appends information specifying the terminal device of the communication partner to the voice signal input from the microphone and transmits it to the relay device, and then reproduces the voice signal received from the relay device. The relay device's storage unit includes a session table. The network communication unit of the relay device receives the voice signal with the specified information appended from the terminal device.

中继装置的控制部在从终端装置接收到最初的声音信号(呼叫声音数据包)时,在所述会话表格中登记以发送出该声音信号的终端装置以及由附加于该声音信号的指定信息指定的终端装置作为参加终端的通信会话。为了建立通信会话,只要开始声音信号的发送即可,不需要如SIP过程的事前的过程。然后,控制部将包含该最初的声音信号的从参加终端接收到的声音信号转发给各参加终端,在从两台以上的参加终端同时接收到声音信号的情况下,对这些声音信号进行混合,并向参加终端发送该混合后的声音信号。Upon receiving the initial audio signal (call audio packet) from a terminal device, the relay device's control unit registers the terminal device that transmitted the audio signal, along with the terminal device specified by the designation information attached to the audio signal, as a participating terminal's communication session in the session table. Establishing a communication session requires only the initiation of audio signal transmission, eliminating the need for prior steps such as those in the SIP process. The control unit then forwards the audio signals received from the participating terminal, including the initial audio signal, to each participating terminal. If audio signals are received simultaneously from two or more participating terminals, the control unit mixes these audio signals and transmits the mixed audio signal to the participating terminals.

终端装置还可以具备一键通(PTT)电路,终端网络通信部在PTT开关处于接通期间,将从麦克风输入的声音信号发送给中继装置,并且与PTT电路的接通/断开无关地接收从中继装置发送来的声音信号。The terminal device may further include a push-to-talk (PTT) circuit, and the terminal network communication unit transmits the audio signal input from the microphone to the relay device while the PTT switch is on, and receives the audio signal transmitted from the relay device regardless of whether the PTT circuit is on or off.

网络可以具有无线局域网(LAN)的多个接入点,终端装置的终端网络通信部经由任一个接入点而与网络连接。The network may have a plurality of access points of a wireless local area network (LAN), and the terminal network communication unit of the terminal device may be connected to the network via any of the access points.

发明效果Effects of the Invention

根据本发明,经由网络来连接中继装置和终端装置,并使中继装置对终端装置彼此的通信进行中继,从而能够实现自由度高的小组通信。According to the present invention, a relay device and a terminal device are connected via a network, and the relay device relays communication between the terminal devices, thereby enabling group communication with a high degree of freedom.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是作为本发明的实施方式的声音通信系统的构成图。FIG1 is a block diagram of a voice communication system according to an embodiment of the present invention.

图2是作为终端装置的收发器的框图。FIG2 is a block diagram of a transceiver serving as a terminal device.

图3是表示声音数据包的构成的一例的图。FIG3 is a diagram showing an example of the structure of a voice data packet.

图4是服务器装置的框图。FIG4 is a block diagram of a server device.

图5A是表示服务器装置中设定的终端表格的图。FIG. 5A is a diagram showing a terminal table set in the server device.

图5B是表示服务器装置中设定的小组表格的图。FIG5B is a diagram showing a group table set in the server device.

图5C是表示服务器装置中设定的混合表格的图。FIG5C is a diagram showing a hybrid table set in the server device.

图6是表示收发器的动作的流程图。FIG6 is a flowchart showing the operation of the transceiver.

图7A是表示服务器装置的动作的流程图。FIG7A is a flowchart showing the operation of the server device.

图7B是表示服务器装置的动作的流程图。FIG7B is a flowchart showing the operation of the server device.

具体实施方式DETAILED DESCRIPTION

参照附图,对本发明的声音通信系统进行说明。图1是作为本发明的实施方式的声音通信系统的构成图。在该声音通信系统中,多个终端装置14利用Wi-Fi等的无线LAN16来相互进行通信。终端装置14呈与无线通信用的便携式收发器近似的形状,如图2所示具备PTT(一键通)开关220。从功能方面来说,终端装置14是经由无线接入点(AP)13来收发声音数据包的无线网络设备。作为中继装置的服务器装置11对多个终端装置14的经由有线网络15以及无线LAN(局域网)16的相互通信进行中继。此外,以下,将有线网络15以及无线LAN16总称为网络17。The voice communication system of the present invention will be described with reference to the accompanying drawings. FIG1 is a block diagram of a voice communication system as an embodiment of the present invention. In this voice communication system, a plurality of terminal devices 14 communicate with each other using a wireless LAN 16 such as Wi-Fi. The terminal device 14 is in a shape similar to a portable transceiver for wireless communication and has a PTT (push-to-talk) switch 220 as shown in FIG2 . Functionally, the terminal device 14 is a wireless network device that sends and receives voice data packets via a wireless access point (AP) 13. The server device 11, which serves as a relay device, relays the mutual communication of the plurality of terminal devices 14 via a wired network 15 and a wireless LAN (local area network) 16. In addition, hereinafter, the wired network 15 and the wireless LAN 16 are collectively referred to as a network 17.

终端装置14若被启动则与网络17连接。在终端装置14与网络17连接时,服务器装置11对该终端装置14发送设定数据,将该终端装置14设置为能通信的状态。服务器装置11所发送的设定数据例如是该终端装置14能通信的小组的编号、更新程序等。另外,在此后的适当的时刻,对该终端装置14发送各种设定数据。所谓此后的适当的时刻,例如是每隔一定时间而连接的无线接入点13被切换等时。When the terminal device 14 is activated, it connects to the network 17. When the terminal device 14 connects to the network 17, the server device 11 transmits configuration data to the terminal device 14, enabling communication with the terminal device 14. The configuration data transmitted by the server device 11 includes, for example, the group number with which the terminal device 14 can communicate, an update program, and the like. Furthermore, various configuration data is transmitted to the terminal device 14 at appropriate times thereafter. Such appropriate times include, for example, when the wireless access point 13 to which the terminal device 14 is connected is switched at regular intervals.

作为有线网络15,能够使用Ethernet(注册商标)的LAN、因特网等。在有线网络15中包含因特网的情况下,通过使用VPN(虚拟专用网络)而能够进行安全的通信。另外,作为无线LAN16,能够应用Wi-Fi等符合IEEE802.11的通信方式等。终端装置14和无线接入点13以该无线LAN16的通信方式进行通信。As the wired network 15, an Ethernet (registered trademark) LAN, the Internet, or the like can be used. When the Internet is included in the wired network 15, secure communication can be achieved by using a VPN (Virtual Private Network). Furthermore, as the wireless LAN 16, a communication method compliant with IEEE802.11, such as Wi-Fi, can be used. The terminal device 14 and the wireless access point 13 communicate using the communication method of the wireless LAN 16.

无线接入点13被设置了多个。各无线接入点13分别设置于例如大厦的不同的楼层、不同的房间等。由此,能够根据终端装置14下属于哪个无线接入点13来估计该终端装置14位于哪个楼层或者房间。There are multiple wireless access points 13. Each wireless access point 13 is installed on a different floor or room of a building, for example. Therefore, it is possible to estimate which floor or room a terminal device 14 is located based on which wireless access point 13 the terminal device 14 belongs to.

管理装置12与有线网络15连接。管理装置12由安装了管理程序的个人计算机等构成。管理装置12根据管理者的操作来访问服务器装置11,在服务器装置11中设定图5A、图5B所示的表格等。另外,管理装置12还作为1台终端装置发挥功能,能够进行与其他终端装置14的通信。The management device 12 is connected to the wired network 15. The management device 12 is comprised of, for example, a personal computer with a management program installed. Based on an administrator's operation, the management device 12 accesses the server device 11 and sets the tables shown in Figures 5A and 5B on the server device 11. Furthermore, the management device 12 functions as a terminal device and can communicate with other terminal devices 14.

图2是终端装置14的框图。如上所述,从功能方面来说,终端装置14是经由无线LAN的无线接入点(AP)13来收发声音数据包的无线网络设备。控制部20控制终端装置14的动作,由微处理器构成。控制部20具有存储各种数据的存储部21。在该存储部21中存储从服务器装置11下载的设定数据。控制部20上连接了操作部22、显示部23、音频电路24以及无线LAN通信部25。操作部22包括PTT开关220等按键开关,受理用户的操作后将该操作信号输入给控制部20。显示部23包括液晶显示器。液晶显示器上显示通过用户的操作而选择出的通信对方的识别编号、来电的通信对方的识别编号等。FIG2 is a block diagram of the terminal device 14. As described above, functionally, the terminal device 14 is a wireless network device that transmits and receives voice data packets via the wireless access point (AP) 13 of the wireless LAN. The control unit 20 controls the operation of the terminal device 14 and is composed of a microprocessor. The control unit 20 has a storage unit 21 that stores various data. The setting data downloaded from the server device 11 is stored in the storage unit 21. The control unit 20 is connected to an operation unit 22, a display unit 23, an audio circuit 24, and a wireless LAN communication unit 25. The operation unit 22 includes a push button switch such as a PTT switch 220, and after receiving the user's operation, the operation signal is input to the control unit 20. The display unit 23 includes a liquid crystal display. The liquid crystal display displays the identification number of the communication partner selected by the user's operation, the identification number of the incoming caller, etc.

音频电路24具有麦克风240以及扬声器241。控制部20对接收到的声音数据包进行解码后输入给音频电路24。音频电路将该解码后的音频信号变换为模拟信号并从扬声器241输出。另外,音频电路24将从麦克风240输入的声音信号变换为数字信号后输入给控制部20。控制部20将该数字音频信号进行声音数据包化后输入给无线LAN通信部25。无线LAN通信部25具有以符合IEEE802.11的通信方式进行无线通信的电路。无线LAN通信部25将从控制部20输入的数据包向无线接入点13发送,并且将从无线接入点13接收到的数据包输入给控制部20。The audio circuit 24 includes a microphone 240 and a speaker 241. The control unit 20 decodes received audio data packets and inputs them to the audio circuit 24. The audio circuit converts the decoded audio signal into an analog signal and outputs it from the speaker 241. Furthermore, the audio circuit 24 converts the audio signal input from the microphone 240 into a digital signal and inputs it to the control unit 20. The control unit 20 converts the digital audio signal into audio data packets and inputs them to the wireless LAN communication unit 25. The wireless LAN communication unit 25 includes circuitry for wireless communication using a communication method compliant with IEEE 802.11. The wireless LAN communication unit 25 transmits data packets input from the control unit 20 to the wireless access point 13 and inputs data packets received from the wireless access point 13 to the control unit 20.

若用户在按压PTT开关220的同时向麦克风240发出声音,则终端装置14将该声音信号编辑为声音数据包后向服务器装置11发送。声音数据包呈如图3所示的构成。在声音数据包的首部,包含目的地IP地址(destination address)以及发送源地址(senderaddress)。在数据主体中,与数字化后的声音信号一起包含了通信对方识别编号以及发送源终端编号。通信对方识别编号是识别通信对方(target device)的信息,在单个通信的情况下,使用该终端装置14的终端编号,在小组通信的情况下,使用该小组的小组编号。虽然从终端装置14发送的声音数据包的目的地是服务器装置11,但声音信号的最终目的地是通信对方的终端装置14。服务器装置11若接收到声音数据包,则从该声音数据包取出数据主体,向通信对方的终端装置14转发声音信号。在通信对方的识别编号是小组的识别编号的情况下,即在小组通信的情况下,向属于该小组的多个终端装置14转发声音信号。When the user speaks into microphone 240 while pressing PTT switch 220, terminal device 14 compiles the sound signal into a sound data packet and sends it to server device 11. The sound data packet is structured as shown in Figure 3. The header of the sound data packet contains the destination IP address (destination address) and the source address (sender address). The data body contains the communication partner identification number and the source terminal number along with the digitized sound signal. The communication partner identification number is information that identifies the communication partner (target device). In the case of individual communication, the terminal number of the terminal device 14 is used, and in the case of group communication, the group number of the group is used. Although the destination of the sound data packet sent from terminal device 14 is server device 11, the final destination of the sound signal is the communication partner's terminal device 14. Upon receiving the sound data packet, server device 11 extracts the data body from the sound data packet and forwards the sound signal to the communication partner's terminal device 14. If the communication partner's identification number is the identification number of a group, that is, in the case of group communication, the sound signal is forwarded to multiple terminal devices 14 belonging to the group.

在转发该声音信号时,创建将转发目标的终端装置14的IP地址作为发送目标地址、将服务器11的IP地址作为发送源地址的新的声音数据包。在单个通信的情况下,该新的数据包的数据主体中包含的通信对方识别编号以及发送源终端编号与服务器装置11接收到的声音数据包的数据主体中包含的通信对方识别编号以及发送源终端编号相同。在小组通信的情况下,该新的数据包的数据主体中包含的通信对方识别编号与服务器装置11接收到的声音数据包的数据主体中包含的通信对方识别编号相同。另外,发送源终端编号可以被清除,也可以附上与服务器装置11接收到的声音数据包的数据主体中包含的发送源终端编号相同的发送源终端编号。When forwarding the sound signal, a new sound data packet is created with the IP address of the forwarding destination terminal device 14 as the destination address and the IP address of the server 11 as the source address. In the case of individual communication, the communication party identification number and the source terminal number contained in the data body of the new data packet are the same as the communication party identification number and the source terminal number contained in the data body of the sound data packet received by the server device 11. In the case of group communication, the communication party identification number contained in the data body of the new data packet is the same as the communication party identification number contained in the data body of the sound data packet received by the server device 11. In addition, the source terminal number can be cleared or the same source terminal number as the source terminal number contained in the data body of the sound data packet received by the server device 11 can be added.

若归纳以上的过程,则终端装置14在PTT开关220被接通时,不进行如SIP过程的通信建立过程,向服务器装置11发送在从麦克风240输入的声音信号上附加了通信对方的识别编号后的声音数据包。服务器装置11将该声音信号转发给以识别编号来识别的通信对方。这样,在该声音通信系统中,通过发送声音数据包(RTP数据包)而开始通信,因此用户能够几乎与使PTT开关220接通同时地开始通信,能够以如与以往的无线通信的收发器相同的使用感来进行通信。为了实现这样的使用感,各终端装置14的IP地址、小组等的管理、以及声音信号的转发由服务器装置11进行。To summarize the above process, when the PTT switch 220 is turned on, the terminal device 14 does not perform the communication establishment process such as the SIP process, but instead sends a voice data packet to the server device 11, which is a voice signal input from the microphone 240 and has the identification number of the communication partner appended to it. The server device 11 forwards this voice signal to the communication partner identified by the identification number. In this way, in this voice communication system, communication begins by sending a voice data packet (RTP data packet), so the user can start communication almost simultaneously with turning on the PTT switch 220, and can communicate with the same user experience as a conventional wireless communication transceiver. To achieve this user experience, the server device 11 manages the IP address, group, etc. of each terminal device 14, and forwards the voice signal.

终端装置14不仅具有PTT开关220而且还具有VOX电路。所谓VOX电路,是基于麦克风240的输入水平及其持续时间来判定是否输入了通话声音(声音信号),并且在判定为输入了通话声音的情况下将装置切换为发送状态(PTT开关接通)的电路。终端装置14可以用VOX电路取代PTT开关220、或者与PTT开关220一起使用VOX电路来进行发送接通/断开的切换。另外,一般的无线通信的收发器是在发送状态时无法进行无线信号的接收的单工方式。另一方面,终端装置14由于以经由无线LAN16的声音数据包通信来收发声音信号,因此能够并行进行声音数据包的发送和声音数据包的接收。终端装置14利用该功能,能够实现同时并行进行声音信号的发送和接收的全双工方式的通信。不过,终端装置14通过PTT开关220或者VOX功能,仅在输入了通话声音时对声音数据包进行编辑/发送,使得即使在进行全双工通信的情况下也无法持续发送无声的声音数据包。Terminal device 14 not only has a PTT switch 220 but also a VOX circuit. The VOX circuit determines whether a call (voice signal) is being input based on the input level and duration of microphone 240, and switches the device to a transmitting mode (PTT switch on) if a call is detected. Terminal device 14 can use the VOX circuit in place of or in addition to the PTT switch 220 to switch transmission on and off. Conventional wireless communication transceivers are simplex and cannot receive wireless signals while in the transmitting mode. On the other hand, terminal device 14 transmits and receives voice signals using voice packet communication via wireless LAN 16, enabling simultaneous transmission and reception of voice packets. This functionality enables full-duplex communication, allowing simultaneous transmission and reception of voice signals. However, the terminal device 14, using the PTT switch 220 or VOX function, only edits and transmits voice packets when a call is being input, preventing the continuous transmission of silent voice packets even during full-duplex communication.

服务器装置11将经由网络17而从终端装置14接收到的声音数据包中包含的声音信号,经由网络17而转发给通信对方的终端装置14。在小组通信的情况下,声音信号被转发给属于该小组的多个终端装置14。在小组通信的情况下,有时多个用户会同时发言而从多个终端装置14同时发送出声音信号。在该情况下,服务器装置11对这些多个声音信号进行混合并编辑新的声音信号,将该新的声音信号作为声音数据包来转发给各终端装置14。此外,由服务器装置11进行的混合被设为:按每个转发目标的终端装置14进行,并且本装置所发送的声音信号不会包含在混合声音中返回来。即,针对未发送声音信号的终端装置14,转发对接收到的所有声音信号进行混合后的信号,针对发送出声音信号的终端装置14,将该终端装置14所发送的声音信号排除,转发对除此之外的声音信号进行混合后的信号。由此,使得终端装置14中不产生本装置所发送的声音信号的回声。The server device 11 forwards the audio signal contained in the audio data packet received from the terminal device 14 via the network 17 to the communicating terminal device 14 via the network 17. In group communication, the audio signal is forwarded to multiple terminal devices 14 belonging to the group. In group communication, multiple users may speak simultaneously, and audio signals may be transmitted simultaneously from multiple terminal devices 14. In such cases, the server device 11 mixes these multiple audio signals, compiles a new audio signal, and forwards this new audio signal as an audio data packet to each terminal device 14. Furthermore, the mixing performed by the server device 11 is configured to be performed for each forwarding terminal device 14, and the audio signal transmitted by the server device 11 is not included in the returned mixed audio. In other words, the server device 11 forwards a mixed signal of all received audio signals to terminal devices 14 that are not transmitting audio signals. For terminal devices 14 that are transmitting audio signals, the server device 11 excludes the audio signal transmitted by that terminal device 14 and forwards a mixed signal of all other audio signals. This prevents the audio signal transmitted by the server device 11 from echoing back to the terminal devices 14.

在进行小组通信的情况下,属于小组的终端装置14的构成并不固定,根据此时的各终端装置14的通信的状况而被灵活增减。详情参照图5的表格来说明。When group communication is performed, the configuration of the terminal devices 14 belonging to the group is not fixed, but is flexibly increased or decreased according to the communication status of each terminal device 14 at that time. Details will be described with reference to the table in FIG5 .

图4是服务器装置11的框图。服务器装置11具有控制部30、存储部31以及网络通信部32。存储部31例如由硬盘、RAM等构成,存储图5所示的各种表格、各终端装置14的设定数据等。控制部30进行终端装置14的设置、声音信号的混合等。网络通信部32控制与有线网络15的通信。Figure 4 is a block diagram of the server device 11. The server device 11 includes a control unit 30, a storage unit 31, and a network communication unit 32. The storage unit 31, which is composed of, for example, a hard disk or RAM, stores the various tables shown in Figure 5 and configuration data for each terminal device 14. The control unit 30 performs configuration of the terminal devices 14, mixing of audio signals, and other operations. The network communication unit 32 controls communication with the wired network 15.

图5A、图5B以及图5C是表示服务器装置11的存储部31中设置的表格的图。5A , 5B, and 5C are diagrams showing tables provided in the storage unit 31 of the server device 11 .

图5A是表示终端表格301的图。终端表格301是服务器装置11对终端装置14进行管理用的表格。各终端装置14以各自被唯一分配的识别编号(终端编号)来识别。在终端表格301中按每个终端编号而存储了激活标记以及设定数据的保存地址。激活标记是表示终端装置14与网络17连接并访问服务器装置11而接受了基于服务器装置11的登记和各种数据的下载的标记,即,是表示完成注册而能够通信的标记。激活标记由服务器装置11在完成终端装置14的注册时被置位。设定数据例如是程序的更新数据(固件)、自己所属的小组、被允许通信的其他小组加以记录的电话簿等。FIG5A is a diagram showing a terminal table 301. The terminal table 301 is a table used by the server device 11 to manage the terminal devices 14. Each terminal device 14 is identified by a uniquely assigned identification number (terminal number). In the terminal table 301, an activation flag and a storage address for setting data are stored for each terminal number. The activation flag is a flag indicating that the terminal device 14 is connected to the network 17 and has accessed the server device 11, and has accepted registration and download of various data from the server device 11. In other words, it is a flag indicating that registration is complete and communication is possible. The activation flag is set by the server device 11 when registration of the terminal device 14 is complete. Setting data includes, for example, program update data (firmware), a phone book that records the group to which the terminal device belongs, and other groups with which communication is permitted.

在终端装置14与网络17连接时,服务器装置11与终端装置14进行通信来进行该终端装置14的注册。进而,在此后的适当的时刻,服务器装置11与终端装置14进行通信来更新该终端装置14的注册。所谓此后的适当的时刻,例如是每隔一定时间而连接的无线接入点13被切换等时。When the terminal device 14 is connected to the network 17, the server device 11 communicates with the terminal device 14 to register the terminal device 14. Furthermore, at an appropriate time thereafter, the server device 11 communicates with the terminal device 14 to update the registration of the terminal device 14. The appropriate time thereafter is, for example, when the wireless access point 13 to which the terminal device is connected is switched at regular intervals.

用户在选择通信对方时,操作终端装置14,使显示部23显示通信对方的候选的编号。所谓通信对方的候选的编号,是上述的激活的终端装置14的终端编号、被允许通信的小组编号。When selecting a communication partner, the user operates the terminal device 14 to display candidate communication partner numbers on the display unit 23. The candidate communication partner numbers are the terminal number of the activated terminal device 14 and the group number permitted to communicate.

图5B是表示小组表格302的图。小组表格302是服务器装置11对小组进行管理用的表格。各小组以各自被唯一分配的识别编号(小组编号)来识别。在小组表格302中按每个小组而存储了该小组编号、以及属于该小组的终端装置14(所属终端装置)的终端编号。属于小组的终端装置14的数量为1台以上即可。该小组表格302中登记的小组对应于本发明的原有小组。通过由管理者操作管理装置12来对服务器装置11设定这些终端表格301以及小组表格302。FIG5B is a diagram showing a group table 302. The group table 302 is a table used by the server device 11 to manage groups. Each group is identified by a uniquely assigned identification number (group number). The group table 302 stores the group number and the terminal number of the terminal device 14 (belonging terminal device) belonging to the group for each group. The number of terminal devices 14 belonging to a group can be one or more. The groups registered in the group table 302 correspond to the original groups of the present invention. The terminal table 301 and group table 302 are set on the server device 11 by the administrator operating the management device 12.

图5C是表示混合表格(会话表格)303的图。混合表格303是服务器装置11对通信会话进行管理用的表格。所谓通信会话,是将服务器装置11作为中继装置的多个终端装置14间的通信状态。混合表格303有多个行,各行中存储一个通信会话的信息。服务器装置11在从终端装置14接收到声音信号(声音数据包)时,参照混合表格303来判断该声音信号是哪个通信会话的声音信号。Figure 5C shows a hybrid table (session table) 303. Hybrid table 303 is a table used by server device 11 to manage communication sessions. A communication session is the communication status between multiple terminal devices 14 using server device 11 as a relay. Hybrid table 303 has multiple rows, each storing information about a single communication session. When server device 11 receives a voice signal (voice packet) from a terminal device 14, it refers to hybrid table 303 to determine which communication session the voice signal belongs to.

服务器装置11在从终端装置14接收到作为最初的声音数据包的呼叫声音数据包时,基于该声音数据包的通信会话被登记到混合表格303中。When the server device 11 receives the calling voice data packet as the first voice data packet from the terminal device 14 , the server device 11 registers the communication session based on the voice data packet in the mixed table 303 .

在混合表格303中,针对各通信会话,设置了会话编号、主叫终端编号、参加终端编号、追加终端编号、排除终端编号以及剩余保持时间(T1)的项目。会话编号是识别该通信会话的编号。主叫终端编号是发送了该通信会话的最初的声音数据包(呼叫声音数据包)的终端装置14(主叫终端装置)的终端编号。会话编号只要是针对每个通信会话而唯一的值即可,在该实施方式中,使用上述呼叫声音数据包中写入的通信对方识别编号。作为会话编号而登记了终端编号的通信会话(例如“19”)是单个通信的通信会话。单个通信是指1对1的单个的终端装置14彼此的通信。作为会话编号而登记了小组编号的通信会话(例如“G1”)是小组通信的通信会话。小组通信是指多个终端装置14(一般为3台以上)相互交换声音信号的通信。In the mixed table 303, for each communication session, items including a session number, a calling terminal number, a participating terminal number, an additional terminal number, an excluded terminal number, and a remaining holding time (T1) are provided. The session number is a number that identifies the communication session. The calling terminal number is the terminal number of the terminal device 14 (calling terminal device) that sent the initial voice data packet (call voice data packet) of the communication session. The session number only needs to be a unique value for each communication session. In this embodiment, the communication party identification number written in the above-mentioned call voice data packet is used. A communication session in which a terminal number is registered as a session number (for example, "19") is a communication session for single communication. Single communication refers to one-to-one communication between single terminal devices 14. A communication session in which a group number is registered as a session number (for example, "G1") is a communication session for group communication. Group communication refers to communication in which multiple terminal devices 14 (generally more than three) exchange voice signals with each other.

参加终端编号是参加该通信会话的终端装置14的终端编号的一览。当从在参加终端编号中登记了终端编号的某终端装置14发送出声音数据包的情况下,控制部30将该声音数据包转发给在参加终端编号中登记了终端编号的其他终端装置14,从而实现参加终端装置间的相互通信。The participating terminal numbers are a list of the terminal numbers of the terminal devices 14 participating in the communication session. When a voice packet is transmitted from a terminal device 14 whose terminal number is registered in the participating terminal numbers, the control unit 30 forwards the voice packet to another terminal device 14 whose terminal number is registered in the participating terminal numbers, thereby enabling mutual communication between the participating terminal devices.

在小组通信会话的情况下,参加终端编号成为主叫终端装置的终端编号、以及属于被指定为通信对方的小组的终端装置14的终端编号。不过,由于即使属于该小组但并未激活的终端装置14、正在进行其他单个通信会话的终端装置14无法参加该小组通信会话,因此这些终端装置14的终端编号被从参加终端编号中排除(登记于排除终端编号的栏中)。另外,在主叫终端装置是不属于该小组的终端装置14的情况下,即,在终端装置14呼叫了自身所属的小组以外的小组的情况下,该终端装置14的终端编号也被登记为参加终端编号。同时,作为临时进行了成员登记的追加终端装置,其终端编号还被登记到追加终端编号的栏中。即,在该小组通信会话中,主叫终端装置即使不属于小组,也与属于该小组的终端装置14同样地作为参加该通信会话的终端装置14(参加终端装置)而被处理。此外,混合表格303的项目中的追加终端编号、排除终端编号的栏不是必须的。仅通过针对参加终端编号的栏的终端编号的追加、排除也能实现表格的管理。In the case of a group communication session, the participating terminal numbers are the terminal numbers of the calling terminal device and the terminal numbers of the terminal devices 14 belonging to the group designated as the communication partner. However, since terminal devices 14 belonging to the group but not active, or terminal devices 14 currently engaged in other individual communication sessions, cannot participate in the group communication session, the terminal numbers of these terminal devices 14 are excluded from the participating terminal numbers (registered in the excluded terminal number column). Furthermore, if the calling terminal device is a terminal device 14 that does not belong to the group, that is, if the terminal device 14 calls a group other than the one it belongs to, the terminal number of this terminal device 14 is also registered as the participating terminal number. Furthermore, the terminal numbers of additional terminal devices that have been temporarily registered as members are also registered in the additional terminal number column. In other words, in the group communication session, even if the calling terminal device does not belong to the group, it is treated as a terminal device 14 participating in the communication session (a participating terminal device) in the same manner as terminal devices 14 belonging to the group. The columns for additional terminal numbers and excluded terminal numbers in the entries of the mixed table 303 are not required. Table management can be achieved simply by adding or removing terminal numbers in the column of participating terminal numbers.

在单个通信会话的情况下,作为参加终端编号,登记主叫终端装置的终端编号和通信对方的终端装置14的终端编号。由于是一对一通信,因此不登记追加终端编号以及排除终端编号。In the case of a single communication session, the terminal number of the calling terminal device and the terminal number of the communicating party's terminal device 14 are registered as participating terminal numbers. Since it is a one-to-one communication, the additional terminal number and the excluded terminal number are not registered.

另外,保持时间是在未从参加终端装置发送出声音数据包的状态下不取消该通信会话而对其进行保持的时间。服务器装置11中的各通信会话的保持时间例如被设定为30秒。混合表格303的保持时间计时器(TS)是在未发送出声音数据包时计数保持时间的经过的计时器。保持时间计时器TS在控制部30进行的处理(参照图7)中,若未发送出声音数据包则进行递减计数,并且若发送出了声音数据包则复位为30秒。在由于30秒钟内未从参加终端装置发送出声音数据包而计时器TS时间已到的情况下,该通信会话被取消,从混合表格303中删去该通信会话的信息。The hold time is the time during which the communication session is maintained without canceling it even if no voice data packets are sent from the participating terminal devices. The hold time for each communication session in the server device 11 is set to 30 seconds, for example. The hold time timer (TS) of the mixed table 303 is a timer that counts the elapse of the hold time when no voice data packets are sent. In the processing performed by the control unit 30 (see FIG. 7 ), the hold time timer TS counts down if no voice data packets are sent, and is reset to 30 seconds if a voice data packet is sent. If the timer TS expires due to no voice data packets being sent from the participating terminal devices within 30 seconds, the communication session is canceled, and the information about the communication session is deleted from the mixed table 303.

以上的例子中,在小组通信会话中,在混合表格303的参加终端装置的项目中,除了所属终端装置以外还被追加登记主叫终端装置,而即使为所属终端装置但为非激活的终端装置14以及正在进行其他通信会话的终端装置14被排除。然而,追加登记到参加终端装置的项目中的终端装置14、以及被排除的终端装置14并不限定于这些情况。In the above example, in a group communication session, the calling terminal device is registered in addition to the affiliated terminal device in the participating terminal device field of the mixed table 303, while inactive terminal devices 14, even though affiliated terminal devices, and terminal devices 14 currently in other communication sessions are excluded. However, the terminal devices 14 that are additionally registered in the participating terminal device field and the terminal devices 14 that are excluded are not limited to these cases.

若某参加终端装置在小组通信会话的中途开始了其他通信会话(单个通信会话),则在该时间点被从该小组通话会话的参加终端装置中排除。即,该终端装置14的终端编号被从参加终端编号的栏移动到排除终端编号的栏。If a participating terminal device starts another communication session (single communication session) during a group communication session, it is excluded from the participating terminal devices of the group communication session at that point in time. In other words, the terminal number of the terminal device 14 is moved from the participating terminal number column to the excluded terminal number column.

另外,为了继续进行通信会话,在各终端装置14中也需要计时保持时间。终端装置14的保持时间(T1)比服务器装置11的保持时间(TS=30秒)短,例如对计时器T1设定5秒。若在用户断开PTT开关220之后经过了5秒,则即使在服务器装置11中该通信会话被维持,也能通过给定操作来开始其他通信会话。Furthermore, in order to continue the communication session, each terminal device 14 also needs to measure a hold time. The hold time (T1) of the terminal device 14 is shorter than the hold time (TS = 30 seconds) of the server device 11. For example, timer T1 is set to 5 seconds. If 5 seconds have passed since the user turned off the PTT switch 220, even if the communication session on the server device 11 is maintained, another communication session can be started by a predetermined operation.

另外,可以将混合表格303分为由执行中混合表格和退避表格构成的两个表格。执行中混合表格是登记当前正在进行混合的会话的表格,在高速的存储器上形成。通信(声音数据包的收发)中断的会话以200毫秒程度的短时间被转记到退避表格中,在退避表格中被保持了保持时间(T1)。若在保持时间中再次发生了通信(声音数据包的收发),则该会话再次被转记到执行中混合表格,用于混合的执行。由此,能够使各终端装置14从混合表格303的释放提前。In addition, the mixing table 303 can be divided into two tables consisting of an ongoing mixing table and a backoff table. The ongoing mixing table is a table that registers the currently ongoing mixing session and is formed on a high-speed memory. The session whose communication (transmission and reception of voice data packets) is interrupted is transferred to the backoff table in a short time of about 200 milliseconds and is maintained in the backoff table for a holding time (T1). If communication (transmission and reception of voice data packets) occurs again during the holding time, the session is transferred to the ongoing mixing table again for the execution of mixing. In this way, the release of each terminal device 14 from the mixing table 303 can be advanced.

图6是表示由终端装置14的控制部20执行的通信控制处理的流程图。该处理每隔20毫秒被重复执行。在该处理中,根据PTT开关220的接通/断开、声音数据包(RTP数据包)的接收,推断出当前的通信的状态(status)。在此,该流程图中使用的标记、计时器类如下。FIG6 is a flowchart illustrating the communication control process executed by the control unit 20 of the terminal device 14. This process is repeated every 20 milliseconds. In this process, the current communication status is estimated based on the on/off state of the PTT switch 220 and the reception of audio packets (RTP packets). The flags and timers used in this flowchart are as follows.

PTT:是一键通开关(PTT开关)220的简称,但并不限定于PTT开关220的接通/断开,还包含基于VOX电路的发送信号的接通/断开。PTT: is an abbreviation of the push-to-talk switch (PTT switch) 220, but is not limited to the on/off of the PTT switch 220, and also includes the on/off of the transmission signal based on the VOX circuit.

NC0:通过用户的操作而选择出的通信对方的识别编号(终端编号/小组编号)NC0: The identification number (terminal number/group number) of the communication partner selected by the user

NC1:使用会话编号、对执行中的通信会话进行识别的编号、建立通信会话的最初的声音数据包中写入的通信对方的识别编号(终端编号/小组编号)。NC1: Session number used, a number for identifying the communication session in progress, and the identification number (terminal number/group number) of the communication partner written in the first voice packet for establishing the communication session.

FC:通信会话标记(表示该终端装置14正在参加通信会话的标记)FC: Communication session flag (a flag indicating that the terminal device 14 is participating in a communication session)

FT:通信中标记(表示处于声音数据包的发送中或者接收中的标记)FT: Communication flag (a flag indicating that a voice packet is being sent or received)

T1:保持时间计时器(对通信会话的保持时间(5秒)进行计时的计时器)T1: Hold time timer (a timer for counting the hold time (5 seconds) of a communication session)

S10~S20是声音数据包的发送管理处理。控制部20判断PTT开关220的状态(S10)。在PTT开关220处于接通的情况下,控制部20使处理前进至S11。在PTT开关220未接通的情况下,使处理前进至S20。S10 to S20 are voice packet transmission management processes. The control unit 20 determines the state of the PTT switch 220 (S10). If the PTT switch 220 is on, the control unit 20 advances the process to S11. If the PTT switch 220 is not on, the process advances to S20.

在S11中,控制部20判断通信会话标记FC是否被置位。在通信会话标记FC未被置位的情况下(S11中为否),通过本次的PTT开关220的接通而创建的声音数据包是呼叫声音数据包。控制部20对通信会话标记FC、以及表示正在收发声音数据包中的通信中标记FT进行置位(S12)。控制部20将由用户选择出的通信对方编号NC0转记为通信会话编号NC1(S13),并且将该通信会话编号NC1与声音信号一起被写入数据主体而得到的声音数据包发送给服务器装置11(S14)。通过该呼叫声音数据包的发送,由服务器装置11开始通信会话。控制部20在将保持时间计时器T1复位为5秒之后(S15),使处理前进至S30之后的声音数据包的接收管理处理。In S11, the control unit 20 determines whether the communication session flag FC is set. If the communication session flag FC is not set (No in S11), the voice data packet created by turning on the PTT switch 220 this time is a call voice data packet. The control unit 20 sets the communication session flag FC and the communication flag FT indicating that the voice data packet is being transmitted or received (S12). The control unit 20 transfers the communication partner number NC0 selected by the user to the communication session number NC1 (S13), and transmits the voice data packet with the communication session number NC1 written into the data body along with the voice signal to the server device 11 (S14). By transmitting this call voice data packet, the server device 11 starts a communication session. After resetting the hold time timer T1 to 5 seconds (S15), the control unit 20 advances the processing to the voice data packet reception management processing after S30.

在S11中通信会话标记FC已经被置位的情况下(S11中为是),控制部20判断通信中标记FT是否被置位,即,判断当前是否处于声音数据包的发送或者接收中(S16)。在通信中标记FT未被置位的情况下(S16中为否),控制部20将通信中标记FT置位(S17)。处理按S11→S16→S17前进是在已经开始的通信会话被维持的状态下开始新的声音数据包(用户的通话声音)的发送的情况。在S18中,判断是继续进行已经开始的通信会话而向该通信会话返回本次的声音数据包(S18中为否),还是从之前的通信会话脱离而向新的通信对方发送本次的声音数据包、即建立新的其他通信会话(S18中为是)。该判断例如根据是否进行了在本次的PTT开关220即将接通之前的用户的操作例如通信对方的选择操作等来进行判断即可。在由用户进行了新的通信对方的选择操作的情况下,在S19的处理中,进行建立针对该选择出的通信对方的新的通信会话的处理即可。If the communication session flag FC is set in S11 (Yes in S11), the control unit 20 determines whether the communication flag FT is set, that is, whether a voice packet is currently being transmitted or received (S16). If the communication flag FT is not set (No in S16), the control unit 20 sets the communication flag FT (S17). The processing proceeds from S11 to S16 to S17, which means that the transmission of a new voice packet (the user's conversation voice) is started while the already-started communication session is maintained. In S18, it is determined whether to continue the already-started communication session and return the current voice packet to the communication session (No in S18), or to terminate the previous communication session and send the current voice packet to a new communication partner, that is, to establish a new communication session (Yes in S18). This determination can be made, for example, based on whether the user performed an operation, such as selecting the communication partner, immediately before the current PTT switch 220 was turned on. When the user performs an operation of selecting a new communication partner, in the process of S19 , a process of establishing a new communication session with the selected communication partner may be performed.

在更新通信会话的情况下(S18中为是),控制部20将此时选择出的通信对方编号NC0转记为通信会话编号NC1(S19),并且使处理前进至S14。在继续进行已经开始的通信会话的情况下(S18中为否),控制部20使处理从S18直接前进至S14。If the communication session is to be updated (YES in S18), the control unit 20 transfers the currently selected communication partner number NC0 to the communication session number NC1 (S19) and proceeds to S14. If the communication session that has already started is to be continued (NO in S18), the control unit 20 proceeds directly from S18 to S14.

在S10中PTT开关220未被接通的情况下(S10中为否),控制部20将通信中标记FT复位(S20)。此外,在通信中标记FT已经被复位的情况下维持现状即可。然后,控制部20使处理前进至S30之后的声音数据包的接收管理处理。If the PTT switch 220 is not on in S10 (No in S10), the control unit 20 resets the communication flag FT (S20). If the communication flag FT has already been reset, the status quo can be maintained. The control unit 20 then advances the process to the voice packet reception management process from S30 onwards.

控制部20在S30中判断是否经由网络17而接收到了声音数据包。在接收到声音数据包的情况下,控制部20使处理前进至S31。在未接收到声音数据包的情况下,使处理前进至S40。In S30, the control unit 20 determines whether a voice packet has been received via the network 17. If a voice packet has been received, the control unit 20 advances the process to S31. If a voice packet has not been received, the control unit 20 advances the process to S40.

在S31中,控制部20判断通信会话标记FC是否被置位。在通信会话标记FC未被置位的情况下(S31中为否),判断为本次建立新的通信会话并已发送出其最初的声音数据包,并且将通信会话标记FC以及通信中标记FT置位(S33)。FT标记是表示当前处于对声音数据包收发中的标记。控制部20将该声音数据包中包含的通信对方编号转记为通信会话编号NC1(S34)。控制部20将声音数据包输出给音频电路24(S35),将保持时间计时器T1复位为5秒(S36)。In S31, the control unit 20 determines whether the communication session flag FC is set. If the communication session flag FC is not set (No in S31), it determines that a new communication session has been established and its initial voice packet has been sent. The control unit 20 sets the communication session flag FC and the communication in progress flag FT (S33). The FT flag indicates that a voice packet is currently being transmitted or received. The control unit 20 transfers the communication partner number contained in the voice packet to the communication session number NC1 (S34). The control unit 20 outputs the voice packet to the audio circuit 24 (S35) and resets the hold timer T1 to 5 seconds (S36).

在S31中通信会话标记FC已经被置位的情况下(S31中为是),控制部20对应于本次的声音数据包的接收而将通信中标记FT置位(S32)。此外,在通信中标记FT已经被置位的情况下维持现状即可。然后,控制部20使处理前进至S35。If the communication session flag FC is already set in S31 (Yes in S31), the control unit 20 sets the communication flag FT in response to the reception of the current voice packet (S32). If the communication flag FT is already set, the current state can be maintained. The control unit 20 then advances the process to S35.

在S30中未接收到声音数据包的情况下(S30中为否),控制部20判断通信会话标记FC是否被置位(S40)。在通信会话标记FC已被置位的情况下(S40中为是),控制部20执行S41之后的处理。在通信会话标记FC未被置位的情况下(S40中为否),控制部20直接结束处理。If no audio data packet is received in S30 (No in S30), the control unit 20 determines whether the communication session flag FC is set (S40). If the communication session flag FC is set (Yes in S40), the control unit 20 executes the processing from S41 onwards. If the communication session flag FC is not set (No in S40), the control unit 20 immediately terminates the processing.

在S41中,控制部20判断通信中标记FT是否被置位。在通信中标记FT已被置位的情况下(S41中为是),控制部20直接结束处理。在通信中标记FT未被置位的情况下(S41中为否),即,在通信中标记FT被复位但通信会话标记FC已被置位的状态的情况下,控制部20对保持时间计时器T1进行计数减1运算(20毫秒的量)(S42)。然后,判断通过该减法运算而保持时间计时器T1是否变为了0(S43)。在保持时间计时器T1变为了0的情况下(S43中为是),控制部20为了取消通信会话而将通信会话标记FC复位(S44)。在S43中保持时间计时器T1还大于0的情况下(S43中为否),控制部20直接结束处理。In S41, the control unit 20 determines whether the communication flag FT is set. If the communication flag FT is set (Yes in S41), the control unit 20 immediately terminates the process. If the communication flag FT is not set (No in S41), that is, if the communication flag FT is reset but the communication session flag FC is set, the control unit 20 decrements the hold time timer T1 by 1 (20 milliseconds) (S42). Then, the control unit 20 determines whether the hold time timer T1 has reached 0 due to this subtraction (S43). If the hold time timer T1 has reached 0 (Yes in S43), the control unit 20 resets the communication session flag FC to cancel the communication session (S44). If the hold time timer T1 is still greater than 0 in S43 (No in S43), the control unit 20 immediately terminates the process.

图7A以及图7B是表示服务器装置11的动作的流程图。图7A表示了声音数据包接收时的处理。图7B表示了混合表格管理处理。7A and 7B are flowcharts showing the operation of the server device 11. Fig. 7A shows the processing when receiving a voice packet, and Fig. 7B shows the mixing table management processing.

在图7A中,若接收到声音数据包,则控制部30判断以发送源终端编号以及通信对方编号来识别的通信会话是否已经登记于混合表格303(S50)。在通信会话已经登记于混合表格303的情况下(S50中为是),控制部30基于混合表格303的参加终端编号,将接收到的声音数据包中包含的声音信号转发给参加通信会话的终端装置14(S56)。然后,将混合表格303的该通信会话的保持时间计时器TS复位为30秒(S57)。In FIG7A , upon receiving a voice packet, the control unit 30 determines whether the communication session, identified by the source terminal number and the communication partner number, is already registered in the hybrid table 303 ( S50 ). If the communication session is already registered in the hybrid table 303 ( YES in S50 ), the control unit 30 forwards the voice signal contained in the received voice packet to the terminal device 14 participating in the communication session based on the participating terminal number in the hybrid table 303 ( S56 ). The control unit then resets the hold timer TS for the communication session in the hybrid table 303 to 30 seconds ( S57 ).

在接收到的声音数据包的通信会话未登记于混合表格303的情况下(S50中为否),即,在该声音数据包为呼叫声音数据包的情况下,将基于该呼叫声音数据包的新的通信会话登记到混合表格303中(S51)。此时,通信对方编号被登记为会话编号,该声音数据包的发送源的终端装置14的终端编号被登记为主叫终端编号。作为参加终端编号,在单个通信会话的情况下,登记通信对方编号以及主叫终端编号,在小组通信会话的情况下,登记主叫终端编号以及属于通信对方编号的小组的终端装置14的终端编号。另外,在主叫终端装置不属于小组的情况下,主叫终端编号还被登记到追加终端编号中。进而,在属于小组的终端装置14之中存在因非激活、正在参加其他通信会话中等而无法参加该通信会话的终端装置的情况下,其终端编号被从参加终端编号的项目中排除,转记至排除终端编号的项目中。If the communication session for the received voice packet is not registered in mixed table 303 (No in S50), that is, if the voice packet is a call voice packet, a new communication session based on the call voice packet is registered in mixed table 303 (S51). At this time, the communication partner number is registered as the session number, and the terminal number of the terminal device 14 that sent the voice packet is registered as the calling terminal number. As participating terminal numbers, in the case of a single communication session, the communication partner number and the calling terminal number are registered. In the case of a group communication session, the calling terminal number and the terminal numbers of the terminal devices 14 belonging to the group of the communication partner number are registered. In addition, if the calling terminal device does not belong to the group, the calling terminal number is also registered in the additional terminal number. Furthermore, if there is a terminal device 14 belonging to the group that cannot participate in the communication session due to inactivity or being involved in another communication session, its terminal number is excluded from the participating terminal number item and transferred to the excluded terminal number item.

控制部30将接收到的声音数据包的声音信号转发给参加该通信会话的终端装置14(S52)。从混合表格303中登记的该通信会话的参加终端编号中决定参加该通信会话的终端装置14。The control unit 30 transfers the audio signal of the received audio packet to the terminal device 14 participating in the communication session (S52). The terminal device 14 participating in the communication session is determined from the participating terminal numbers of the communication session registered in the mixed table 303.

控制部30判断是否存在由于参加了在S51中建立的通信会话而被从已经登记的通信会话的参加终端装置中排除的终端装置14(S53)。在存在相应的终端装置14的情况下(S53中为是),从该之前建立的通信会话的参加终端编号中删除该终端装置14的终端编号(S54)。被排除的终端编号被转记为排除终端编号。这样使各通信会话的参加终端装置最佳化。The control unit 30 determines whether a terminal device 14 that has been excluded from the participating terminal devices of the previously registered communication session due to participating in the communication session established in S51 exists (S53). If a corresponding terminal device 14 exists (YES in S53), the terminal number of the terminal device 14 is deleted from the participating terminal numbers of the previously established communication session (S54). The excluded terminal number is transferred to the excluded terminal number. This optimizes the participating terminal devices of each communication session.

图7B的混合表格管理处理被定期(例如每隔20毫秒)反复执行。控制部30首先指定混合表格303的起始行的通信会话(S60)。控制部30使指定的通信会话的保持时间计时器TS进行计数减1运算(20毫秒的量)(S61),判断通过该减法运算而保持时间计时器TS是否变为了0(S62)。在保持时间计时器TS变为了0的情况下(S62中为是),控制部30视作该通信会话已结束,将该行的通信会话删去(S63)。The mixed table management process shown in FIG7B is repeatedly executed periodically (e.g., every 20 milliseconds). The control unit 30 first specifies the communication session in the first row of the mixed table 303 (S60). The control unit 30 decrements the hold time timer TS for the specified communication session by 1 (20 milliseconds) (S61) and determines whether the hold time timer TS has reached 0 as a result of this subtraction (S62). If the hold time timer TS has reached 0 (YES in S62), the control unit 30 deems the communication session to have ended and deletes the communication session in that row (S63).

控制部30依次执行以上的处理直至混合表格303的最终行为止(S64、S65),由此进行混合表格303的管理。The control unit 30 sequentially executes the above-described processing until the final row of the hybrid table 303 ( S64 , S65 ), thereby managing the hybrid table 303 .

在该实施方式的声音通信系统中,小组通信会话的成员(参加终端装置)不是固定的而是灵活的。例如,在主叫终端装置不属于小组的情况下也能参加小组通信。另外,即使在小组通信中,也能中途退出该小组通信而参加其他通信会话。由此,能够实现与实时的各终端装置的通信的状况相应的小组通话。In the voice communication system of this embodiment, the members (participating terminal devices) of a group communication session are not fixed but flexible. For example, a calling terminal device can participate in a group communication even if it does not belong to the group. Furthermore, even during a group communication, a user can exit the group communication and join another communication session. This enables group calls that are tailored to the real-time communication status of each terminal device.

在上述实施方式中,也可以使终端装置14能够从中途参加小组通信的会话。例如,可以在仅由属于小组的终端装置14执行小组通信会话时,从不属于该小组的终端装置14有针对该小组的呼叫声音数据包的发送的情况下,使该终端装置14参加当前执行的小组通信会话,从而将会话的形式变更为扩展小组通信。另外,还可以在执行扩展小组通信时,从不属于该小组的进一步其他的终端装置14有针对该小组(扩展小组)的呼叫声音数据包的发送的情况下,进一步使该终端装置14参加当前执行的扩展小组通信会话。In the above embodiment, it is also possible to enable a terminal device 14 to join a group communication session midway. For example, if a group communication session is being conducted solely by a terminal device 14 belonging to a group, and a call audio packet is sent to the group from a terminal device 14 not belonging to the group, the terminal device 14 can be enabled to join the currently ongoing group communication session, thereby changing the session format to an extended group communication session. Furthermore, if a call audio packet is sent to the group (the extended group) from another terminal device 14 not belonging to the group during the extended group communication session, the terminal device 14 can be further enabled to join the currently ongoing extended group communication session.

在上述实施方式中,在小组通信、扩展小组通信中,非激活的终端装置作为排除终端装置而被从通信会话中排除,但也可以在该终端装置变为激活的时间点使其参加通信会话。In the above embodiment, in group communication and extended group communication, an inactive terminal device is excluded from the communication session as an excluded terminal device. However, the terminal device may be allowed to participate in the communication session when it becomes active.

在上述实施方式中,也可以使得能够执行小组与小组之间的扩展小组通信。例如,通过由属于某小组的终端装置代表该小组来呼叫其他小组,从而服务器装置11设定由该终端装置所属的小组和被呼叫的小组的所有终端装置构成的扩展小组的通信会话。In the above embodiment, extended group communication between groups can also be performed. For example, by having a terminal device belonging to a certain group call another group on behalf of the group, the server device 11 establishes a communication session of an extended group consisting of all terminal devices of the group to which the terminal device belongs and the called group.

在上述实施方式中,设为对应于从终端装置14发送出的呼叫声音数据包来建立通信会话,但通信会话建立的契机并不限定于此。例如,也可以由管理者通过管理装置12操作混合表格303来进行混合小组的建立以及取消。另外,还可以由管理装置12进行上面描述的小组彼此之间的扩展小组通信的建立以及取消。该方式也能实现混合小组的总括的管理和灵活的变更。In the above embodiment, a communication session is established in response to a call audio packet transmitted from terminal device 14. However, the trigger for establishing a communication session is not limited to this. For example, an administrator can establish and cancel mixed groups by manipulating mixed table 303 via management device 12. Furthermore, management device 12 can also establish and cancel extended group communications between groups as described above. This approach also enables comprehensive management and flexible modification of mixed groups.

符号说明Explanation of symbols

11 服务器装置(中继装置)11 Server device (relay device)

12 管理装置12 Management Device

13 无线接入点13 Wireless Access Points

14 终端装置14 Terminal Devices

20 (终端装置的)控制部20 Control unit (of terminal device)

30 (服务器装置的)控制部30 Control unit (of the server device)

32 网络通信部32 Network Communications Department

220 PTT(一键通)开关220 PTT (Push to Talk) switch

301 终端表格301 Terminal Form

302 小组表格302 Group Table

303 混合表格(会话表格)303 Hybrid Form (Session Form)

Claims (15)

1.一种中继装置,具备:1. A relay device, comprising: 网络通信部,经由网络而与终端装置进行通信;The network communications department communicates with terminal devices via a network; 控制部,控制作为多个终端装置参加的通信的通信会话;和The control unit controls communication sessions involving multiple terminal devices; and 存储部,设定有会话表格,The storage department has a session table set up. 所述会话表格中登记了包含参加所述通信会话的终端装置即参加终端的信息的会话信息,The session table records session information, including information about the terminal devices participating in the communication session, i.e., the participating terminals. 在所述通信会话中从两台以上的参加终端同时接收到声音信号的情况下,所述控制部向各终端装置发送对这些声音信号进行混合后得到的声音,In the event that audio signals are received simultaneously from two or more participating terminals during the communication session, the control unit sends a mixed audio signal to each terminal device. 所述中继装置的特征在于,The relay device is characterized in that... 所述网络通信部从所述终端装置接收附加了对通信对方的终端装置进行指定的信息的声音信号,The network communication unit receives from the terminal device an audio signal containing additional information specifying the terminal device of the other party. 所述控制部在从所述终端装置接收到第一通信会话的最初的声音信号时,在所述会话表格中登记以发送出该声音信号的终端装置以及由附加于该声音信号的指定信息指定的终端装置作为参加终端的第一通信会话的会话信息,When the control unit receives the initial audio signal of the first communication session from the terminal device, it registers in the session table the terminal device that sent the audio signal and the session information of the terminal device specified by the specified information attached to the audio signal as participants in the first communication session of the terminal. 所述控制部在所述第一通信会话的继续进行中接收到第二通信会话的最初的声音信号的情况下,在所述会话表格中还登记以发送出该声音信号的终端装置以及由附加于该声音信号的指定信息指定的终端装置作为参加终端的第二通信会话的会话信息,When the control unit receives the initial audio signal of the second communication session during the continuation of the first communication session, it also registers in the session table the terminal device that sent the audio signal and the session information of the second communication session as a participating terminal, as specified by the designated information attached to the audio signal. 所述控制部在所述第二通信会话的参加终端中包含所述第一通信会话的参加终端的情况下,从所述第一通信会话的参加终端中删除成为所述第一通信会话和所述第二通信会话这两个通信会话的参加终端的终端装置。If the participating terminal of the first communication session is included in the participating terminal of the second communication session, the control unit removes the terminal device that became a participating terminal of both the first and second communication sessions from the participating terminal of the first communication session. 2.根据权利要求1所述的中继装置,其特征在于,2. The relay device according to claim 1, characterized in that, 所述控制部在所述混合处理中,针对发送出声音信号的终端装置,发送将除从该终端装置发送出的声音信号之外的接收声音信号混合而成的信号。In the mixing process, the control unit sends a signal to the terminal device that transmits the sound signal, which is a mixture of received sound signals other than the sound signal transmitted from the terminal device. 3.根据权利要求1或2所述的中继装置,其特征在于,3. The relay device according to claim 1 or 2, characterized in that, 所述控制部在从通信会话的参加终端的任一者均未接收到声音信号且经过了给定时间以上的情况下,视为该通信会话已结束,并将该通信会话的会话信息从所述会话表格中删除。If the control unit fails to receive an audio signal from any of the participating terminals in the communication session for a given period of time, it considers the communication session to have ended and deletes the session information of the communication session from the session table. 4.根据权利要求1所述的中继装置,其特征在于,4. The relay device according to claim 1, characterized in that, 所述存储部中还设定有存储多个终端装置所属的原有小组的小组表格,The storage unit also contains a group table that stores the original groups to which multiple terminal devices belong. 所述控制部在附加于从所述终端装置接收到的最初的声音信号的指定信息是指定所述原有小组的信息的情况下,在所述存储部的会话表格中登记以发送出该声音信号的终端装置以及属于该原有小组的终端装置作为所述参加终端的通信会话。If the specified information attached to the initial sound signal received from the terminal device is information specifying the original group, the control unit registers the terminal device that sent the sound signal and the terminal devices belonging to the original group as the participating terminals in the session table of the storage unit. 5.一种声音通信系统,包括:5. A voice communication system, comprising: 终端装置,具备麦克风、声音输出部以及终端网络通信部;和The terminal device includes a microphone, a sound output unit, and a terminal network communication unit; and 中继装置,具备网络通信部、控制部以及存储部,The relay device includes a network communication unit, a control unit, and a storage unit. 所述终端装置的终端网络通信部和所述中继装置的网络通信部经由网络来收发声音信号,The terminal network communication unit of the terminal device and the network communication unit of the relay device transmit and receive voice signals via a network. 所述声音通信系统的特征在于,The voice communication system is characterized in that... 所述终端装置在从所述麦克风输入的声音信号上附加对通信对方的终端装置进行指定的信息,并利用所述终端网络通信部发送给所述中继装置,The terminal device adds information specifying the other party's terminal device to the audio signal input from the microphone, and transmits it to the relay device using the terminal network communication unit. 所述控制部控制作为多个终端装置参加的通信的通信会话,The control unit controls the communication session in which multiple terminal devices participate. 在所述中继装置的存储部中设定有会话表格,A session table is provided in the storage section of the relay device. 所述会话表格中登记了包含参加所述通信会话的终端装置即参加终端的信息的会话信息,The session table records session information, including information about the terminal devices participating in the communication session, i.e., the participating terminals. 在所述通信会话中从两台以上的参加终端同时接收到声音信号的情况下,所述控制部向各终端装置发送对这些声音信号进行混合后得到的声音,In the event that audio signals are received simultaneously from two or more participating terminals during the communication session, the control unit sends a mixed audio signal to each terminal device. 所述中继装置的网络通信部从所述终端装置接收附加了所述指定信息的声音信号,The network communication unit of the relay device receives an audio signal with the specified information attached from the terminal device. 所述控制部在从所述终端装置接收到第一通信会话的最初的声音信号时,在所述会话表格中登记以发送出该声音信号的终端装置以及由附加于该声音信号的指定信息指定的终端装置作为参加终端的第一通信会话的会话信息,When the control unit receives the initial audio signal of the first communication session from the terminal device, it registers in the session table the terminal device that sent the audio signal and the session information of the terminal device specified by the specified information attached to the audio signal as participants in the first communication session of the terminal. 所述控制部在所述第一通信会话的继续进行中接收到第二通信会话的最初的声音信号的情况下,在所述会话表格中还登记以发送出该声音信号的终端装置以及由附加于该声音信号的指定信息指定的终端装置作为参加终端的第二通信会话的会话信息,When the control unit receives the initial audio signal of the second communication session during the continuation of the first communication session, it also registers in the session table the terminal device that sent the audio signal and the session information of the second communication session as a participating terminal, as specified by the designated information attached to the audio signal. 所述控制部在所述第二通信会话的参加终端中包含所述第一通信会话的参加终端的情况下,从所述第一通信会话的参加终端中删除成为所述第一通信会话和所述第二通信会话这两个通信会话的参加终端的终端装置,If the control unit includes a participating terminal of the first communication session in the participating terminals of the second communication session, it removes the terminal device that became a participating terminal of both the first and second communication sessions from the participating terminals of the first communication session. 所述终端装置的声音再生部再生从所述中继装置接收到的声音信号。The sound reproduction unit of the terminal device reproduces the sound signal received from the relay device. 6.根据权利要求5所述的声音通信系统,其特征在于,6. The voice communication system according to claim 5, characterized in that, 所述终端装置还具备一键通电路,The terminal device also has a one-button circuit. 所述终端网络通信部在所述一键通电路处于接通期间,将从所述麦克风输入的声音信号发送给所述中继装置,并且与所述一键通电路的接通/断开无关地接收从所述中继装置发送来的声音信号。The terminal network communication unit transmits the sound signal input from the microphone to the relay device while the one-touch circuit is on, and receives the sound signal sent from the relay device regardless of whether the one-touch circuit is on or off. 7.根据权利要求5所述的声音通信系统,其特征在于,7. The voice communication system according to claim 5, characterized in that, 所述网络具有无线局域网的多个接入点,The network has multiple access points for a wireless local area network. 所述终端装置的终端网络通信部经由任一个接入点而与所述网络连接。The terminal network communication unit of the terminal device connects to the network via any access point. 8.一种存储有计算机程序的记录介质,其特征在于,所述计算机程序使具备经由网络而与终端装置进行通信的网络通信部、和设定有会话表格的存储部的中继装置的计算机作为下述单元发挥功能,8. A recording medium storing a computer program, characterized in that the computer program enables a computer equipped with a network communication unit for communicating with a terminal device via a network and a storage unit containing a session table to function as a unit that... 第一单元,在从所述终端装置接收到附加了对通信对方的终端装置进行指定的信息的最初的声音信号即呼叫声音信号时,在所述会话表格中登记以发送出该呼叫声音信号的终端装置以及由附加于该呼叫声音信号的指定信息指定的终端装置作为参加终端的通信会话的会话信息;The first unit, upon receiving an initial sound signal, i.e. a call sound signal, from the terminal device, which includes information specifying the terminal device of the communication counterpart, registers in the session table the terminal device that sent the call sound signal and the terminal device specified by the information specified in the call sound signal as participants in the communication session of the terminal. 第二单元,将包含所述呼叫声音信号的从所述参加终端接收到的声音信号转发给各参加终端;以及The second unit forwards the audio signal received from the participating terminal, which includes the call audio signal, to each participating terminal; and 第三单元,在从两台以上的参加终端同时接收到声音信号的情况下,对这些声音信号进行混合,并向所述参加终端发送该混合后的声音信号,The third unit, when simultaneously receiving audio signals from two or more participating terminals, mixes these audio signals and sends the mixed audio signal to the participating terminals. 所述第一单元在将基于第一呼叫声音信号的第一通信会话的会话信息登记到所述会话表格之后,进一步接收到第二呼叫声音信号的情况下,将基于该第二呼叫声音信号的第二通信会话的会话信息进一步登记到所述会话表格,在所述第二通信会话的参加终端中包含所述第一通信会话的参加终端的情况下,从所述第一通信会话的参加终端中删除成为所述第一通信会话和所述第二通信会话这两个通信会话的参加终端的终端装置。After registering the session information of the first communication session based on the first call sound signal to the session table, if the first unit further receives the second call sound signal, it further registers the session information of the second communication session based on the second call sound signal to the session table. If the participating terminal of the second communication session includes the participating terminal of the first communication session, the terminal device that became the participating terminal of both the first and second communication sessions is removed from the participating terminal of the first communication session. 9.根据权利要求8所述的记录介质,其特征在于,9. The recording medium according to claim 8, characterized in that, 所述第三单元在所述混合处理中,针对发送出所述声音信号的终端装置,发送将除从该终端装置发送出的声音信号之外的接收声音信号混合而成的信号。In the mixing process, the third unit sends a signal to the terminal device that sent the sound signal, which is a mixture of received sound signals other than the sound signal sent from the terminal device. 10.根据权利要求8或9所述的记录介质,其特征在于,10. The recording medium according to claim 8 or 9, characterized in that, 所述第一单元在从通信会话的参加终端的任一者均未接收到声音信号且经过了给定时间以上的情况下,视为该通信会话已结束,并将该通信会话的会话信息从所述会话表格中删除。If the first unit fails to receive an audio signal from any of the participating terminals in the communication session and a given time has elapsed, it considers the communication session to have ended and deletes the session information of the communication session from the session table. 11.根据权利要求8所述的记录介质,其特征在于,11. The recording medium according to claim 8, characterized in that, 所述存储部中还设定有存储多个终端装置所属的原有小组的小组表格,The storage unit also contains a group table that stores the original groups to which multiple terminal devices belong. 所述第一单元在附加于从所述终端装置接收到的最初的声音信号的指定信息是指定所述原有小组的信息的情况下,在所述存储部的会话表格中登记以发送出该声音信号的终端装置以及属于该原有小组的终端装置作为所述参加终端的通信会话。If the specified information attached to the initial sound signal received from the terminal device is information specifying the original group, the first unit registers the terminal device that sent the sound signal and the terminal device belonging to the original group as the communication session of the participating terminal in the session table of the storage unit. 12.一种声音信号的中继方法,利用具备经由网络而与终端装置进行通信的网络通信部、和设定有会话表格的存储部的中继装置,对声音信号进行中继,12. A method for relaying audio signals, comprising a relay device having a network communication unit that communicates with a terminal device via a network and a storage unit having a session table configured, for relaying audio signals. 所述声音信号的中继方法的特征在于,包括:The method for relaying the sound signal is characterized by comprising: 第一步骤,所述中继装置在从所述终端装置接收到附加了对通信对方的终端装置进行指定的信息的最初的声音信号即呼叫声音信号时,在所述会话表格中登记以发送出该呼叫声音信号的终端装置以及由附加于该呼叫声音信号的指定信息指定的终端装置作为参加终端的通信会话的会话信息;In the first step, when the relay device receives the initial voice signal, i.e., the call voice signal, which is attached with information specifying the terminal device of the communication counterpart from the terminal device, it registers the terminal device that sent the call voice signal and the terminal device specified by the information attached to the call voice signal as the communication session information of the participating terminal in the session table. 第二步骤,所述中继装置将包含所述呼叫声音信号的从所述参加终端接收到的声音信号转发给各参加终端;以及In the second step, the relay device forwards the audio signal received from the participating terminal, which includes the call audio signal, to each participating terminal; and 第三步骤,所述中继装置在从两台以上的参加终端同时接收到声音信号的情况下,对这些声音信号进行混合,并向所述参加终端发送该混合后的声音信号,In the third step, when the relay device receives audio signals simultaneously from two or more participating terminals, it mixes these audio signals and sends the mixed audio signal to the participating terminals. 在所述第一步骤中,所述中继装置在将基于第一呼叫声音信号的第一通信会话的会话信息登记到所述会话表格之后,进一步接收到第二呼叫声音信号的情况下,将基于该第二呼叫声音信号的第二通信会话的会话信息进一步登记到所述会话表格,在所述第二通信会话的参加终端中包含所述第一通信会话的参加终端的情况下,从所述第一通信会话的参加终端中删除成为所述第一通信会话和所述第二通信会话这两个通信会话的参加终端的终端装置。In the first step, after registering the session information of the first communication session based on the first call sound signal to the session table, if the relay device further receives the second call sound signal, it further registers the session information of the second communication session based on the second call sound signal to the session table. If the participating terminal of the second communication session includes the participating terminal of the first communication session, the terminal device that became the participating terminal of both the first and second communication sessions is removed from the participating terminal of the first communication session. 13.根据权利要求12所述的声音信号的中继方法,其特征在于,13. The method for relaying audio signals according to claim 12, characterized in that, 在所述第三步骤中,在所述混合处理中,针对发送出所述声音信号的终端装置,发送将除从该终端装置发送出的声音信号之外的接收声音信号混合而成的信号。In the third step, during the mixing process, a signal is sent to the terminal device that sent the sound signal, consisting of a mixture of received sound signals other than the sound signal sent from the terminal device. 14.根据权利要求12或13所述的声音信号的中继方法,其特征在于,14. The method for relaying audio signals according to claim 12 or 13, characterized in that, 在所述第一步骤中,在从通信会话的参加终端的任一者均未接收到声音信号且经过了给定时间以上的情况下,视为该通信会话已结束,并将该通信会话的会话信息从所述会话表格中删除。In the first step, if no sound signal is received from any of the participating terminals in the communication session and a given time has elapsed, the communication session is considered to have ended, and the session information of the communication session is deleted from the session table. 15.根据权利要求12所述的声音信号的中继方法,其特征在于,15. The method for relaying sound signals according to claim 12, characterized in that, 在所述第一步骤中,在附加于从所述终端装置接收到的最初的声音信号的指定信息是预先指定多个终端装置所属的原有小组的信息的情况下,在所述存储部的会话表格中登记以发送出该声音信号的终端装置以及属于该原有小组的终端装置作为所述参加终端的通信会话。In the first step, if the specified information attached to the initial sound signal received from the terminal device is information about the original group to which multiple terminal devices belong in advance, the terminal device that sent the sound signal and the terminal device belonging to the original group are registered in the session table of the storage unit as the communication session of the participating terminal.
HK16111727.9A 2013-11-07 2014-10-31 Relay device, voice communication system, recording medium, and method for relaying voice signal HK1223466B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2013-231597 2013-11-07
JP2013231597 2013-11-07
PCT/JP2014/079132 WO2015068663A1 (en) 2013-11-07 2014-10-31 Relay device, voice communication system, program, and method for relaying voice signal

Publications (2)

Publication Number Publication Date
HK1223466A1 HK1223466A1 (en) 2017-07-28
HK1223466B true HK1223466B (en) 2019-10-18

Family

ID=

Similar Documents

Publication Publication Date Title
JP6451642B2 (en) RELAY DEVICE, VOICE COMMUNICATION SYSTEM, PROGRAM, AND VOICE SIGNAL RELAY METHOD
CN106664343B (en) Relay device, voice communication system, voice communication method, and recording medium
JP6610259B2 (en) RELAY DEVICE, VOICE COMMUNICATION SYSTEM, PROGRAM, AND RELAY METHOD
CN105706430B (en) The trunking method and recording medium of relay, sound communication system, voice signal
JP6477489B2 (en) RELAY DEVICE, VOICE COMMUNICATION SYSTEM, PROGRAM, AND RELAY METHOD
CN110115017B (en) Relay device, sound communication system, and method for forwarding sound signals
CN114651436B (en) Voice communication system, voice communication method, and recording medium
HK1223466B (en) Relay device, voice communication system, recording medium, and method for relaying voice signal
HK1223486B (en) Relay device, voice communication system, recording medium, and relay method
JP6477700B2 (en) RELAY DEVICE, COMMUNICATION RELAY METHOD, PROGRAM, AND VOICE COMMUNICATION SYSTEM
HK1223467B (en) Relay apparatus, voice-communication system, method for relaying voice signals, and recording medium
HK1233087B (en) Relay device, voice communication system, voice communication method and recording medium
HK40068310B (en) Voice communication system, voice communication method, and recording medium
HK1223465B (en) Relay device, voice-communication system, storage medium and relay method
HK40005789B (en) Relay device, voice communication system and voice signal transfer method
HK1229988B (en) Relay device, communication relay method, program, and voice communication system
HK1225195B (en) Relay apparatus, audio communication system, audio signal relay method and recording medium
HK1226583B (en) Relay device, voice communication system, and voice communication method
HK1233088B (en) Terminal device, terminal setting system and terminal setting method
HK1233087A1 (en) Relay device, voice communication system, voice communication method and recording medium