HK1223486B - Relay device, voice communication system, recording medium, and relay method - Google Patents
Relay device, voice communication system, recording medium, and relay method Download PDFInfo
- Publication number
- HK1223486B HK1223486B HK16111729.7A HK16111729A HK1223486B HK 1223486 B HK1223486 B HK 1223486B HK 16111729 A HK16111729 A HK 16111729A HK 1223486 B HK1223486 B HK 1223486B
- Authority
- HK
- Hong Kong
- Prior art keywords
- communication session
- terminal devices
- participating
- new
- terminal
- Prior art date
Links
Description
技术领域Technical Field
本发明涉及利用了无线LAN等网络的声音通信系统。The present invention relates to a voice communication system utilizing a network such as a wireless LAN.
背景技术Background Art
以往,作为进行基于无线方式的声音通信的设备,用模拟信号或者数字信号对作为连续时间信号的高频载波进行调制并发送的所谓的无线通信机是主流。无线通信机进行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 the basic function of wireless communication devices, some have also been proposed, featuring group communication capabilities that allow multiple wireless communication devices to communicate simultaneously.
另外,如日本特开2010-109506号公报所公开的那样,还提出了由转发器等构成的无线通信系统(集群无线机系统)。该系统具有优先呼叫功能,即,若有优先级高的通信请求(呼叫),则即便是当前处于通信(通话)中的无线通信机,也能进行呼叫(通信)。在该系统中,无线通信机对通信的优先级进行判断来切换通信。具体而言,通过变更为与优先级高的通信请求对应的中继机信道来切换通信。Furthermore, as disclosed in Japanese Patent Application Laid-Open No. 2010-109506, a wireless communication system (trunk radio system) composed of repeaters and the like has been proposed. This system has a priority calling function. Specifically, if a high-priority communication request (call) is received, even a wireless communication device currently in communication (talking) can make a call (communication). In this system, the wireless communication device determines the priority of the communication and switches the communication. Specifically, the communication is switched by switching to the repeater channel corresponding to the high-priority communication request.
在先技术文献Prior art literature
专利文献Patent Literature
专利文献1:日本特开2010-109506号公报Patent Document 1: Japanese Patent Application Laid-Open No. 2010-109506
发明内容Summary of the Invention
发明所要解决的课题Problems to be solved by the invention
在上述集群无线机系统中,在有优先级高的通信请求时,需要变更为相应的中继机信道,因此直至通信的切换完成为止需要耗费时间。另外,在该系统中,虽然能够实现优先呼叫功能,但是需要多个中继机的信道(电波),因此电波效率差。进而,在中继机信道全部被使用的情况下,难以切换通信。In the aforementioned trunked radio system, when a high-priority communication request arrives, the corresponding repeater channel must be changed, which takes time to complete the communication switch. Furthermore, while this system can implement a priority calling function, it requires multiple repeater channels (radio waves), resulting in poor radio wave efficiency. Furthermore, if all repeater channels are in use, communication switching becomes difficult.
本发明的目的在于提供一种声音通信系统以及在该系统中使用的中继装置,其中,通过经由通信网络来连接中继装置和作为通信机的终端装置,并且使得在中继装置侧基于通信的优先级来进行终端装置彼此的通信的管理,由此能够在中继装置侧一并切换至优先级高的通信。The object of the present invention is to provide a voice communication system and a relay device used in the system, wherein the relay device and a terminal device serving as a communication machine are connected via a communication network, and the communication between the terminal devices is managed based on the priority of the communication on the relay device side, thereby enabling switching to a higher priority communication on the relay device side.
用于解决课题的手段Means for solving problems
本发明的中继装置具备:经由通信网络而与多个终端装置进行通信的网络通信部、控制部以及优先级信息存储部。控制部在从终端装置接收到呼叫声音信号时,建立该终端装置以及由呼叫声音信号指定的通信对方的终端装置参加的通信会话,在参加该通信会话的终端装置之间相互转发声音信号。优先级信息存储部存储与通信会话有关的优先级信息。另外,控制部包括:优先级判定部,在接收到将参加原有的通信会话的终端装置指定为通信对方的呼叫声音信号时,基于优先级信息来判定原有的通信会话和本次的呼叫声音信号要建立的新的通信会话的优先级,在新的通信会话的优先级比原有的通信会话的优先级高的情况下,所述控制部将参加原有的通信会话的终端装置从原有的通信会话中去除,使其参加新的通信会话。The relay device of the present invention comprises: a network communication unit for communicating with a plurality of terminal devices via a communication network, a control unit, and a priority information storage unit. When the control unit receives a call voice signal from a terminal device, it establishes a communication session in which the terminal device and the terminal device of the communication partner specified by the call voice signal participate, and forwards the voice signal between the terminal devices participating in the communication session. The priority information storage unit stores priority information related to the communication session. In addition, the control unit includes: a priority determination unit which, when receiving a call voice signal specifying a terminal device participating in an existing communication session as a communication partner, determines the priority of the existing communication session and the new communication session to be established by this call voice signal based on the priority information. If the priority of the new communication session is higher than the priority of the existing communication session, the control unit removes the terminal device participating in the existing communication session from the existing communication session and causes it to participate in the new communication session.
本发明的程序使具备经由网络而与多个终端装置进行通信的网络通信部和存储由多个终端装置参加的通信会话的优先级信息的存储部的中继装置的计算机作为第一单元发挥功能,该第一单元在从终端装置接收到呼叫声音信号时,建立该终端装置以及由呼叫声音信号指定的通信对方的终端装置参加的通信会话,在参加通信会话的终端装置之间相互转发声音信号。第一单元包括:第二单元,在接收到将参加原有的通信会话的终端装置指定为通信对方的呼叫声音信号时,基于优先级信息来判定原有的通信会话和本次的呼叫声音信号要建立的新的通信会话的优先级;和第三单元,在新的通信会话的优先级比原有的通信会话的优先级高的情况下,将参加原有的通信会话的终端装置从原有的通信会话中去除,使其参加新的通信会话。The program of the present invention causes a computer of a relay device including a network communication unit for communicating with multiple terminal devices via a network and a storage unit for storing priority information of communication sessions participated in by the multiple terminal devices to function as a first unit. Upon receiving a call audio signal from a terminal device, the first unit establishes a communication session involving the terminal device and a terminal device designated as a communication partner by the call audio signal, and mutually forwards audio signals between the terminal devices participating in the communication session. The first unit includes: a second unit that, upon receiving a call audio signal specifying a terminal device participating in an existing communication session as a communication partner, determines the priority of the existing communication session and a new communication session to be established by the current call audio signal based on the priority information; and a third unit that, if the priority of the new communication session is higher than that of the existing communication session, removes the terminal device participating in the existing communication session from the existing communication session and directs it to participate in the new communication session.
本发明的中继方法中,通过具备经由网络而与多个终端装置进行通信的网络通信部和存储由多个终端装置参加的通信会话的优先级信息的存储部的中继装置的控制部,来执行第一过程:在从终端装置接收到呼叫声音信号时,建立该终端装置以及由呼叫声音信号指定的通信对方的终端装置参加的通信会话,在参加通信会话的终端装置之间相互转发声音信号。第一过程包括:第二过程,在接收到将参加原有的通信会话的终端装置指定为通信对方的呼叫声音信号时,基于优先级信息来判定原有的通信会话和本次的呼叫声音信号要建立的新的通信会话的优先级;和第三过程,在新的通信会话的优先级比原有的通信会话的优先级高的情况下,将参加原有的通信会话的终端装置从原有的通信会话中去除,使其参加新的通信会话。In the relay method of the present invention, a control unit of a relay device having a network communication unit for communicating with multiple terminal devices via a network and a storage unit for storing priority information of communication sessions participated in by the multiple terminal devices executes a first process: upon receiving a call audio signal from a terminal device, a communication session is established involving the terminal device and a terminal device designated as a communication partner by the call audio signal, and audio signals are forwarded between the terminal devices participating in the communication session. The first process includes: a second process of determining, based on the priority information, the priority of the existing communication session and the new communication session to be established by the current call audio signal upon receiving a call audio signal designating a terminal device participating in the existing communication session; and a third process of removing the terminal device participating in the existing communication session from the existing communication session and causing it to participate in the new communication session if the priority of the new communication session is higher than that of the existing communication session.
控制部以及第一单元,还有在第一过程中,可以适当建立一个终端装置以及另一个终端装置参加的单个通信会话、属于预先设定的小组的终端装置参加的小组通信会话、以及能通信的所述多个终端装置全部参加的全体通信会话。优先级存储部可以存储各形式的通信会话的优先级信息。The control unit and the first unit, as well as the first process, can appropriately establish a single communication session in which a terminal device and another terminal device participate, a group communication session in which terminal devices belonging to a predetermined group participate, or a full communication session in which all of the plurality of communicable terminal devices participate. The priority storage unit can store priority information for each type of communication session.
控制部以及第一单元,还有在第一过程中,可以在给定时间内从参加通信会话的任一个终端装置均未接收到声音信号时取消该通信会话。The control section and the first unit may cancel the communication session if no audio signal is received from any terminal device participating in the communication session within a predetermined time period in the first process.
控制部以及第一单元,还有在第一过程中,可以在取消的通信会话是新的通信会话、且原有的通信会话尚未被取消(存续着)的情况下,使被从原有的通信会话中去除的终端装置再次参加原有的通信会话。The control unit and the first unit can, in the first process, allow the terminal device removed from the existing communication session to rejoin the existing communication session when the canceled communication session is a new communication session and the existing communication session has not been canceled (is still existing).
本发明的声音通信系统具有经由通信网络而相互通信的上述的中继装置以及多个终端装置。终端装置具备:终端网络通信部,经由通信网络而与中继装置进行通信;和终端控制部,将附有对通信对方的终端装置进行指定的信息的声音信号利用终端网络通信部而发送给中继装置。The voice communication system of the present invention comprises the aforementioned relay device and a plurality of terminal devices that communicate with each other via a communication network. The terminal devices include a terminal network communication unit that communicates with the relay device via the communication network, and a terminal control unit that transmits a voice signal, including information specifying the terminal device of the communication partner, to the relay device via the terminal network communication unit.
终端装置可以还具备一键通(PTT)电路,终端网络通信部在PTT开关处于接通期间,将声音信号发送给中继装置,并且与PTT开关的接通/断开无关地接收从中继装置发送来的声音信号。The terminal device may further include a push-to-talk (PTT) circuit, and the terminal network communication unit may transmit a voice signal to the relay device while the PTT switch is on, and receive the voice signal transmitted from the relay device regardless of whether the PTT switch 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, by connecting a relay device and a terminal device serving as a communication machine via a communication network, and managing the priority of communication and communication between terminal devices on the relay device side, it is possible to immediately switch to high-priority communication on the relay device side.
附图说明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.
图5D是表示服务器装置中设定的优先级表格的图。FIG5D is a diagram showing a priority table set in the server device.
图6A是表示服务器装置中设定的混合表格的图。FIG6A is a diagram showing a hybrid table set in the server device.
图6B是表示服务器装置中设定的混合表格的图。FIG6B is a diagram showing a hybrid table set in the server device.
图6C是表示服务器装置中设定的混合表格的图。FIG6C is a diagram showing a mixing table set in the server device.
图6D是表示服务器装置中设定的混合表格的图。FIG6D is a diagram showing a hybrid table set in the server device.
图6E是表示服务器装置中设定的混合表格的图。FIG6E is a diagram showing a hybrid table set in the server device.
图7是表示收发器的动作的流程图。FIG7 is a flowchart showing the operation of the transceiver.
图8A是表示服务器装置的动作的流程图。FIG8A is a flowchart showing the operation of the server device.
图8B是表示服务器装置的动作的流程图。FIG8B is a flowchart showing the operation of the server device.
图9是表示由服务器装置执行的登记处理的流程图。FIG9 is a flowchart showing a registration process executed by the server device.
具体实施方式DETAILED DESCRIPTION
参照附图,对本发明的声音通信系统进行说明。图1是作为本发明的实施方式的声音通信系统的构成图。在该声音通信系统中,多个终端装置14利用Wi-Fi等的无线LAN(局域网)16来相互进行通信。终端装置14呈与无线通信用的便携式收发器近似的形状,如图2所示具备PTT(一键通)开关220。从功能方面来说,终端装置14是经由无线接入点(AP)13来收发声音数据包的无线网络设备。作为中继装置的服务器装置11对多个终端装置14的经由有线网络15以及无线LAN16的相互通信进行中继。此外,以下,将有线网络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 (local area network) 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 the wired network 15 and the wireless LAN 16. In addition, hereinafter, the wired network 15 and the wireless LAN 16 are collectively referred to as the network 17.
终端装置14能够经由服务器装置11来执行单个通信、小组通信、全体通信(全体呼叫)的形式的通信。在单个通信中,指定通信对方(其他终端装置14)来1对1地进行通信。在小组通信中,与属于预先设定的小组的终端装置14进行通信。在全体通信中,与连接至网络17的能通信的所有终端装置14进行通信。用户能够操作自己的终端装置14来从这些通信形式中选择希望的形式。服务器装置11根据来自终端装置14的呼叫而建立上述的任一种形式的通信会话。另外,对各形式的通信会话设定了优先级。即便是正在参加某通信会话的终端装置14,在建立了优先级更高的包含本装置的通信会话的情况下,所参加的通信会话也会被切换至该优先级高的通信会话。详情后述。The terminal device 14 can perform communication in the form of single communication, group communication, and full communication (full call) via the server device 11. In single communication, the communication partner (other terminal device 14) is specified to communicate on a one-to-one basis. In group communication, communication is performed with the terminal devices 14 belonging to a pre-set group. In full communication, communication is performed with all terminal devices 14 that are connected to the network 17 and can communicate. The user can operate his terminal device 14 to select the desired form from these communication forms. The server device 11 establishes any of the above-mentioned forms of communication sessions based on a call from the terminal device 14. In addition, priorities are set for each form of communication session. Even if a terminal device 14 is participating in a communication session, if a communication session with a higher priority that includes this device is established, the communication session it participates in will be switched to the communication session with the higher priority. Details will be described later.
在终端装置14与网络17连接时,服务器装置11对该终端装置14发送设定数据,将该终端装置14设置为能通信的状态。服务器装置11所发送的设定数据例如是该终端装置14能通信的终端编号、更新程序等。When the terminal device 14 is connected to the network 17, the server device 11 sends configuration data to the terminal device 14 to enable communication. The configuration data sent by the server device 11 includes, for example, a terminal number that the terminal device 14 can communicate with and an update program.
作为有线网络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 a personal computer with a management program installed. Based on the 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. 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发送的声音数据包的目的地是服务器装置11,但声音信号的最终目的地是通信对方的终端装置14。服务器装置11若接收到声音数据包,则从该声音数据包取出数据主体,向通信对方的终端装置14转发声音信号(声音数据包)。在通信对方的识别编号是小组编号以及全体编号的情况下,对成为通信对方的多个终端装置14转发声音信号。即,在小组通信的情况下,向属于该小组的多个终端装置14转发声音信号。另外,在全体通信(全体编号)的情况下,向能通信的所有终端装置14转发声音信号。If the user speaks into the microphone 240 while pressing the PTT switch 220, the terminal device 14 edits the sound signal into a sound data packet and sends it to the server device 11. The sound data packet has the structure 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 forwarding destination terminal number and the sending source terminal number together with the digitized sound signal. The forwarding destination terminal number is the identification number of the communication partner (target device). The identification number of the communication partner is a terminal number (single communication), a group number (group communication) or a whole number (whole communication). Although the destination of the sound data packet sent from the terminal device 14 is the server device 11, the final destination of the sound signal is the terminal device 14 of the communication partner. If the server device 11 receives the sound data packet, it extracts the data body from the sound data packet and forwards the sound signal (sound data packet) to the terminal device 14 of the communication partner. In the case where the identification number of the communication partner is a group number or a whole number, the sound signal is forwarded to multiple terminal devices 14 that are the communication partners. That is, in the case of group communication, the audio signal is transferred to a plurality of terminal devices 14 belonging to the group. In the case of full communication (full number), the audio signal is transferred to all terminal devices 14 that can communicate.
在转发该声音信号时,创建将转发目标的终端装置14的IP地址作为发送目标地址、将服务器11的IP地址作为发送源地址的新的声音数据包。该新的数据包的数据主体中包含的转发目标终端编号与服务器装置11接收到的声音数据包的数据主体中包含的转发目标终端编号相同。发送源终端编号可以被清除,也可以附上与服务器装置11接收到的声音数据包中的发送源终端编号相同的编号。When forwarding the audio signal, a new audio 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. The forwarding destination terminal number included in the data body of the new packet is the same as the forwarding destination terminal number included in the data body of the audio packet received by the server 11. The source terminal number may be cleared or appended with the same number as the source terminal number in the audio packet received by the server 11.
若归纳以上的过程,则终端装置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功能,仅在输入了发送对象的通话声音时对声音数据包进行编辑/发送,使得即使在进行全双工通信的情况下也无法持续发送无声的声音数据包。The terminal device 14 not only has a PTT switch 220 but also has a VOX circuit. The so-called VOX circuit is a circuit that determines whether a call sound (sound signal) is input based on the input level of the microphone 240 and its duration, and switches the device to the transmission state (PTT switch is turned on) when it is determined that a call sound is input. The terminal device 14 can use a VOX circuit instead of the PTT switch 220, or use the VOX circuit together with the PTT switch 220 to switch the transmission on/off. In addition, a general wireless communication transceiver is a simplex mode that cannot receive wireless signals in the transmission state. On the other hand, since the terminal device 14 transmits and receives sound signals by sound data packet communication via the wireless LAN 16, it is possible to transmit and receive sound data packets in parallel. By using this function, the terminal device 14 can realize full-duplex communication in which sound signals are transmitted and received simultaneously. However, the terminal device 14 edits and transmits the voice data packet only when the target talking voice is input through the PTT switch 220 or the VOX function, so that even in the case of full-duplex communication, silent voice data packets cannot be continuously transmitted.
服务器装置11将经由网络17而从终端装置14接收到的声音数据包中包含的声音信号,经由网络17而转发给通信对方的终端装置14。在小组通信的情况下,声音信号被转发给属于该小组的多个终端装置14。在小组通信或者全体通信的情况下,有时多个用户会同时发言而从多个终端装置14同时发送出声音信号。在该情况下,服务器装置11对这些多个声音信号进行混合并编辑新的声音信号,将该新的声音信号作为声音数据包来转发给各终端装置14。此外,混合被设为:按每个终端装置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 or 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, mixing is performed for each terminal device 14, and the audio signal transmitted by the server device 11 is not included in the mixed audio. In other words, the server device 11 forwards a mixed signal of all received audio signals to terminal devices 14 that have not transmitted audio signals. For terminal devices 14 that have transmitted audio signals, the audio signal transmitted by the terminal device 14 is excluded, and the remaining audio signals are mixed and forwarded. This prevents the audio signal transmitted by the server device 11 from echoing back to the terminal device 14 that has transmitted audio signals.
图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以及图5D是表示服务器装置11的存储部31中设置的表格的图。5A , 5B, 5C, and 5D 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台以上即可。通过由管理者操作管理装置12来对服务器装置11设定这些终端表格301以及小组表格302。Figure 5B shows group table 302. Group table 302 is a table used by server device 11 to manage groups. Each group is identified by a uniquely assigned identification number (group number). Group table 302 stores the group number and the terminal numbers of the terminal devices 14 belonging to the group (belonging terminal devices) for each group. The number of terminal devices 14 belonging to a group can be one or more. The administrator operates management device 12 to set these terminal table 301 and group table 302 on server device 11.
图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.
通信会话例如按以下的过程来处理。通信会话的建立即混合表格303的设定,在从终端装置14接收到想要建立通信会话的最初的呼叫声音数据包时进行。一次(例如几秒的)发声声音被分割成短的(该实施方式中为20毫秒)声音数据包来收发。另外,在通信会话中,针对某发声声音的返回的发声声音会从其他终端装置发送出。在先的发声声音与返回的发声声音的间隔(无声时间)为0秒至几秒程度。通信会话的保持时间被设定为一般的通信中的无声时间的最大值以上。此外,上述的基本的通信会话的过程在单个通信、小组通信以及全体通信的所有形式中是共通的,但混合表格303的设定过程在各通信形式中不同。A communication session is handled, for example, according to the following process. The establishment of a communication session, i.e., the setting of the hybrid table 303, is performed when the initial call voice data packet for establishing a communication session is received from the terminal device 14. A single (for example, several seconds) voice sound is divided into short (20 milliseconds in this embodiment) voice data packets for transmission and reception. In addition, in a communication session, a return voice sound for a certain voice sound is sent from other terminal devices. The interval (silent time) between the previous voice sound and the return voice sound is about 0 seconds to several seconds. The holding time of the communication session is set to be greater than the maximum value of the silent time in general communication. In addition, the above-mentioned basic communication session process is common to all forms of individual communication, group communication, and overall communication, but the setting process of the hybrid table 303 is different in each communication form.
在混合表格303中,针对各通信会话,设置了会话编号、主叫终端编号、参加终端编号、追加终端编号、排除终端编号以及剩余保持时间(T1)的项目。会话编号是识别该通信会话的编号。主叫终端编号是发送了该通信会话的最初的声音数据包(呼叫声音数据包)的终端装置14(主叫终端装置)的终端编号。会话编号只要是针对每个通信会话而唯一的值即可,在该实施方式中,使用上述呼叫声音数据包中写入的转发目标终端编号。作为会话编号而登记了终端编号(例如“19”)的通信会话是单个通信的通信会话(单个通信会话)。单个通信是指1对1的单个的终端装置14彼此的通信。作为会话编号而登记了小组编号(例如“G1”)的通信会话是小组通信的通信会话(小组通信会话)。小组通信是指多个终端装置14(一般为3台以上)相互交换声音信号的通信。进而,作为会话编号而登记了全体编号(例如“A”:参照图6C)的通信会话是全体通信的通信会话(全体通信会话)。全体通信是指与网络17连接的能通信的所有终端装置14相互交换声音信号的通信。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 forwarding destination terminal number written in the call voice data packet is used. A communication session in which a terminal number (e.g., "19") is registered as a session number is a communication session for single communication (single communication session). Single communication refers to one-to-one communication between single terminal devices 14. A communication session in which a group number (e.g., "G1") is registered as a session number is a communication session for group communication (group communication session). Group communication refers to communication in which multiple terminal devices 14 (generally three or more) exchange voice signals with each other. Furthermore, a communication session in which a collective number (eg, "A": see FIG6C ) is registered as a session number is a collective communication session (collective communication session). Collective communication refers to communication in which all communicable terminal devices 14 connected to the network 17 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 signal of the voice packet to the other terminal devices 14 whose terminal numbers are registered in the participating terminal numbers, thereby enabling mutual communication between the participating terminal devices.
在小组通信会话的情况下,参加终端编号成为主叫终端装置的终端编号、以及属于被指定为通信对方的小组的终端装置14的终端编号。不过,由于即使属于该小组但并未激活的终端装置14、正在进行其他单个通信会话的终端装置14无法参加该小组通信会话,因此这些终端装置14的终端编号被从参加终端编号中排除(登记于排除终端编号的栏中)。另外,在主叫终端装置是不属于该小组的终端装置14的情况下,即,在终端装置14呼叫了自身所属的小组以外的小组的情况下,该终端装置14的终端编号也被登记为参加终端编号。同时,作为临时进行了成员登记的追加终端装置,其终端编号还被登记到追加终端编号的栏中。即,在该小组通信会话中,主叫终端装置即使不属于小组,也与属于该小组的终端装置14同样地作为参加该通信会话的终端装置14(参加终端装置)而被处理。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 that belong to the group but are not active, or terminal devices 14 that are currently 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). In addition, 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 group to which it belongs, the terminal number of this terminal device 14 is also registered as the participating terminal number. At the same time, 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 this 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 (participating terminal device) in the same way as the terminal devices 14 that belong to the group.
在全体通信会话的情况下,参加终端编号成为主叫终端装置的终端编号以及能通信的所有终端装置14的终端编号。关于排除终端编号,与上述的小组通信相同。另外,不登记追加终端编号。In the case of a full communication session, the participating terminal numbers are the terminal number of the calling terminal device and the terminal numbers of all communicable terminal devices 14. The excluded terminal numbers are the same as those in the group communication described above. In addition, no additional terminal numbers are registered.
在单个通信会话的情况下,作为参加终端编号,登记主叫终端装置的终端编号和通信对方的终端装置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.
此外,在混合表格303的项目之中,追加终端编号、排除终端编号的栏不是必须的。仅通过针对参加终端编号的栏的终端编号的追加、排除也能实现表格的管理。Furthermore, the columns for adding or excluding terminal numbers are not essential in the items of the mixed table 303. Table management can be achieved simply by adding or excluding terminal numbers in the column for participating terminal numbers.
另外,保持时间是在未从参加终端装置发送出声音数据包的状态下不取消该通信会话而对其进行保持的时间。服务器装置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 when no voice data packets are being 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 being sent. In the processing of the control unit 30 (see FIG. 7 ), the hold time timer TS counts down if no voice data packets are being sent, and is reset to 30 seconds if a voice data packet is being 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在中途开始其他优先级高的通信会话(例如单个通信会话),则在该时间点被从优先级低的通信会话的参加终端装置中排除。即,该终端装置14的终端编号从参加终端编号的栏移动到排除终端编号的栏。If a terminal device 14 participating in a low-priority communication session (e.g., a group communication session) starts another high-priority communication session (e.g., an individual communication session) midway through, it is excluded from the participating terminal devices in the low-priority 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 communication 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.
图5D是表示优先级表格304的图。在优先级表格304中,与各通信会话的形式(呼叫类别)建立对应地存储了通信的优先级。优先级例如由数值表征,设为值越小则优先级越高。在有针对通信会话中的终端装置14的新的通信会话的建立请求的情况下,服务器装置11为了判断是否将该终端装置14的当前的通信会话切换至新的通信会话而使用优先级。即,在新的通信会话的优先级高于当前的通信会话的优先级的情况下,终端装置14的通信会话被切换至优先级高的新的通信会话。此外,该优先级表格也由操作管理装置12的管理者来设定。以下,利用图6A、图6B以及图6C所示的混合表格303的例子进行说明。5D is a diagram showing a priority table 304. In the priority table 304, the priority of the communication is stored in correspondence with the form (call category) of each communication session. The priority is represented by a numerical value, for example, and the smaller the value, the higher the priority. When there is a request to establish a new communication session for the terminal device 14 in the communication session, the server device 11 uses the priority to determine whether to switch the current communication session of the terminal device 14 to the new communication session. That is, when the priority of the new communication session is higher than the priority of the current communication session, the communication session of the terminal device 14 is switched to the new communication session with a high priority. In addition, the priority table is also set by the administrator of the operation management device 12. The following is explained using the example of the mixed table 303 shown in FIG. 6A, FIG. 6B and FIG. 6C.
例如说明下述情况:在如图6A所示那样已经登记了会话编号“G1”的小组通信会话的状态下,终端编号“20”的终端装置14向服务器装置11发送了针对终端编号“4”的终端装置14的单个通信会话的请求(呼叫声音数据包)。终端编号“4”的终端装置14如图6A所示那样正在参加小组通信会话。服务器装置11参照优先级表格304,针对终端编号“4”的终端装置14来比较当前的小组通信会话的优先级“3”和新的单个通信会话的优先级“2”。在该比较中,服务器装置11判断为新的通信会话(单个通信会话)的优先级高,将终端编号“4”的终端装置14的通信会话从小组通信会话切换至单个通信会话。由此,如图6B所示,在混合表格303中登记以终端编号“4”作为会话编号的新的通信会话。并且,在会话编号“G1”的小组通信会话中,参加终端的项目中登记的终端编号“4”被移动到排除终端的项目中。For example, let's consider the following scenario: While a group communication session with session number "G1" is already registered, as shown in FIG6A , terminal device 14 with terminal number "20" sends a request (call voice data packet) to server device 11 for a single communication session with terminal device 14 with terminal number "4." Terminal device 14 with terminal number "4" is already participating in the group communication session, as shown in FIG6A . Server device 11 refers to priority table 304 and compares the priority "3" of the current group communication session with the priority "2" of the new single communication session for terminal device 14 with terminal number "4." In this comparison, server device 11 determines that the new communication session (single communication session) has a higher priority and switches the communication session of terminal device 14 with terminal number "4" from a group communication session to a single communication session. As a result, as shown in FIG6B , a new communication session with terminal number "4" as its session number is registered in mixed table 303. Furthermore, in the group communication session with session number "G1," terminal number "4," which was previously registered in the participating terminal entry, is moved to the excluded terminal entry.
此外,关于上面的小组通信会话,虽然终端编号“4”的终端装置14被排除,但还有多个终端装置14被登记为参加终端。因此,可维持上面的小组通信会话向混合表格303的登记。不过,也可以取消登记(结束通信会话)。In the above group communication session, although the terminal device 14 with terminal number "4" is excluded, multiple terminal devices 14 are still registered as participating terminals. Therefore, the above group communication session can be maintained in the mixed table 303. However, the registration can also be canceled (ending the communication session).
然后,例如说明下述情况:在如图6A所示那样已经登记了会话编号“G1”的小组通信会话的状态下,终端编号“10”的终端装置14向服务器装置11发送了全体通信会话的请求(呼叫声音数据包)。全体通信会话以能通信的所有终端装置14为对象,因此作为会话编号“G1”的小组通信会话的参加终端的所有终端装置14均成为该全体通信的对象。因此,服务器装置11参照优先级表格,针对终端编号“1”、“2”、“3”、“4”、“5”、“23”的终端装置14来比较当前的小组通信会话的优先级“3”和新的全体通信会话的优先级“1”。并且,服务器装置11判断为全体通信会话的优先级高,将上述终端装置14的通信会话从上述小组通信会话切换至全体通信会话。即,如图6C所示,在混合表格303中登记以终端编号“A(全体编号)”作为会话编号的新的通信会话。并且,会话编号“G1”的小组通信会话由于所有参加终端都被切换至上述全体通信会话,因此被取消登记(小组通信会话结束)。此外,由于不是激活状态(激活标记:OFF)的终端编号“100”的终端装置14不能进行通信,因此被登记为排除终端。Next, let's take the following scenario as an example: While a group communication session with session number "G1" is already registered, as shown in FIG6A , terminal device 14 with terminal number "10" sends a request (call voice data packet) for a full communication session to server device 11. A full communication session targets all terminal devices 14 capable of communication, so all terminal devices 14 participating in the group communication session with session number "G1" become the targets of this full communication session. Therefore, server device 11 refers to the priority table and compares the current group communication session priority of "3" with the new full communication session priority of "1" for terminal devices 14 with terminal numbers "1," "2," "3," "4," "5," and "23." Server device 11 determines that the full communication session has a higher priority and switches the communication session of the terminal device 14 from the group communication session to the full communication session. That is, as shown in FIG6C , a new communication session with terminal number "A (full number)" as its session number is registered in mixed table 303. Furthermore, the group communication session with session number "G1" is deregistered (group communication session ends) because all participating terminals have been switched to the above-mentioned general communication session. In addition, the terminal device 14 with terminal number "100" is not in the active state (activation flag: OFF) and cannot communicate, so it is registered as an excluded terminal.
进而,说明下述情况:在已经登记了如图6D所示的会话编号“6”的单个通信会话(会话小组)的状态下,终端编号“5”的终端装置14向服务器装置11发送了小组编号“G1”的小组通信会话的请求(呼叫声音数据包)。小组“G1”中包含的终端编号“1”的终端装置14如图6D所示正在参加单个通信会话。因此,服务器装置11参照优先级表格,针对终端编号“1”的终端装置14来比较当前的单个通信会话的优先级“2”和新的小组通信会话的优先级“3”。服务器装置11判断为单个通信会话的优先级高,从而维持终端编号“1”的终端装置14的当前的单个通信会话。另外,由于作为上述小组通信会话的其他通信对方的终端装置14(终端编号“2”、“3”、“4”)能够进行通信(未处于其他通信会话中),因此能够进行上述小组通信会话。所以,如图6E所示,登记以终端编号“1”作为排除终端的会话编号“G1”的新的通信会话。Next, let's describe the following scenario: While a single communication session (group conversation) with session number "6" is already registered, as shown in Figure 6D , terminal device 14 with terminal number "5" sends a request (call voice data packet) for a group communication session with group number "G1" to server device 11. Terminal device 14 with terminal number "1" included in group "G1" is already participating in a single communication session, as shown in Figure 6D . Therefore, server device 11 refers to the priority table and compares the priority "2" of the current single communication session with the priority "3" of the new group communication session for terminal device 14 with terminal number "1." Server device 11 determines that the single communication session has a higher priority and maintains the current single communication session for terminal device 14 with terminal number "1." Furthermore, since the other communication partners of the aforementioned group communication session (terminal numbers "2," "3," and "4") are able to communicate (not already in another communication session), the aforementioned group communication session can proceed. Therefore, as shown in Figure 6E , a new communication session with session number "G1" is registered, with terminal number "1" as the excluded terminal.
此外,在当前的通信会话的优先级与新的通信会话的优先级相同的情况下,也不切换至新的通信会话。仅在优先级高的情况下进行切换,但还可以是在相同优先级的情况下也切换至新的通信会话。另外,优先级表格304的优先级并非特别限定于该优先级,也可以将单个通信会话设为优先级1。Furthermore, if the priority of the current communication session is the same as that of the new communication session, the new communication session will not be switched. Switching is performed only when the priority is higher, but it is also possible to switch to the new communication session even when the priorities are the same. Furthermore, the priorities in priority table 304 are not specifically limited to this one; a single communication session may be set to priority 1.
图7是表示由终端装置14的控制部20执行的通信控制处理的流程图。该处理每隔20毫秒被重复执行。在该处理中,根据PTT开关220的接通/断开、声音数据包(RTP数据包)的接收,推断出当前的通信的状态(status)。在此,该流程图中使用的标记、计时器类如下。FIG7 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 of the communication partner selected by the user (individual number/group number/all number)
NC1:使用会话编号、对执行中的通信会话进行识别的编号、建立通信会话的最初的声音数据包中写入的通信对方的识别编号(单个编号/小组编号/全体编号)。NC1: Session number used, a number for identifying the communication session in progress, and the identification number (individual number/group number/global number) of the communication partner written in the first voice packet 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。此外,在该流程图的说明中,设为PTT开关的接通包含基于VOX的发送功能的接通。S10 to S20 are voice data packet transmission management processes. The control unit 20 determines the status of the PTT switch 220 (S10). If the PTT switch 220 is on, the control unit 20 proceeds to S11. If the PTT switch 220 is not on, the control unit 20 proceeds to S20. In the description of this flowchart, turning on the PTT switch includes turning on the VOX transmission function.
在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的判断处理,在根据优先级而通信会话被切换之际,返回即将被切换之前的通信会话。例如,使得能够从终端装置14的操作部22进行再通信的操作,用户通过进行该再通信操作而执行返回上述即将被切换之前的通信会话的切换处理即可。在该情况下,终端装置14检测到进行了再通信的操作,从而判断为更新通信会话(S18中为是)。此外,终端装置14检测到进行了再通信操作,将返回即将被切换之前的通信会话的请求信号附加到声音数据包中来发送给服务器装置11,然后,接收到该声音数据包的服务器装置11执行返回即将被切换之前的通信会话的处理。Furthermore, it is also possible to execute the judgment process of S18 described above, and when the communication session is switched based on priority, return to the communication session immediately before the switch. For example, a re-communication operation can be performed from the operating unit 22 of the terminal device 14, and the user can execute the switching process of returning to the communication session immediately before the switch by performing the re-communication operation. In this case, the terminal device 14 detects that the re-communication operation has been performed, and thus determines that the communication session is updated (yes in S18). In addition, the terminal device 14 detects that the re-communication operation has been performed, and attaches a request signal for returning to the communication session immediately before the switch to the voice data packet and sends it to the server device 11. Then, the server device 11, which receives the voice data packet, executes the process of returning to the communication session immediately before the switch.
在更新通信会话的情况下(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置位(S32)。FT标记是表示当前处于对声音数据包收发中的标记。控制部20将该声音数据包中包含的通信对方编号转记为通信会话编号NC1(S33)。控制部20将声音数据包输出给音频电路24(S34),将保持时间计时器T1复位为5秒(S35)。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 (S32). 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 (S33). The control unit 20 outputs the voice packet to the audio circuit 24 (S34) and resets the hold timer T1 to 5 seconds (S35).
在S31中通信会话标记FC已经被置位的情况下(S31中为是),控制部20判断本次的声音数据包中包含的通信会话编号是否与通信会话编号NC1相同(S36)。在相同的情况下(S36中为是),控制部20对应于本次的声音数据包的接收而将通信中标记FT置位(S38)。此外,在通信中标记FT已经被置位的情况下维持现状即可。然后,控制部20使处理前进至S34。If the communication session flag FC is already set in S31 (YES in S31), the control unit 20 determines whether the communication session number contained in the current voice packet is the same as the communication session number NC1 (S36). If they are the same (YES in S36), the control unit 20 sets the communication active flag FT in response to the reception of the current voice packet (S38). If the communication active flag FT is already set, the current state may be maintained. The control unit 20 then proceeds to S34.
在S36中判断为通信会话编号不同的情况下(S36中为否),控制部20将本次的声音数据包中包含的通信会话编号转记为通信会话编号NC1(S37),并使处理前进至S38。处理按S36→S37前进是进行了由服务器装置11执行的基于优先级的通信会话的切换的状况。If it is determined in S36 that the communication session numbers are different (No in S36), the control unit 20 transfers the communication session number contained in the current audio data packet to the communication session number NC1 (S37) and advances the process to S38. The process advances from S36 to S37 when the server device 11 switches the communication session based on priority.
在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.
图8A以及图8B是表示服务器装置11的动作的流程图。图8A表示了声音数据包接收时的处理。图8B表示了混合表格管理处理。8A and 8B are flowcharts showing the operation of the server device 11. Fig. 8A shows the processing when receiving a voice packet, and Fig. 8B shows the mixing table management processing.
在图8A中,若接收到声音数据包,则控制部30判断以发送源终端编号以及通信对方编号来识别的通信会话是否已经登记于混合表格303(S50)。在通信会话已经登记于混合表格303的情况下(S50中为是),控制部30基于混合表格303的参加终端编号,将接收到的声音数据包中包含的声音信号转发给参加通信会话的终端装置14(S56)。然后,将混合表格303的该通信会话的保持时间计时器TS复位为30秒(S57)。In FIG8A , 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)。下面,利用图9来说明该登记处理。If the communication session of the received voice packet is not registered in the 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 the mixed table 303 (S51). This registration process is described below using FIG. 9.
图9是表示由服务器装置11执行的登记处理的流程图。该处理在图8A的S51中执行。控制部30根据接收到的呼叫声音数据包所包含的会话编号(单个编号/小组编号/全体编号)来选择成为该新的通信会话的参加终端的候选的一个终端装置14(终端装置的编号)(S70)。然后,控制部30判断该终端装置14当前是否处于通信会话中(S71)。具体而言,根据在登记于混合表格303的通信会话中是否被包含于参加终端来判断。在S71中未处于通信中的情况下(S71中为否),控制部30将该终端装置14决定为新的通信会话的参加终端(S72),使处理前进至S75。另一方面,在S71中是处于通信中的情况下(S71中为是),控制部30判断新的通信会话的优先级是否高于终端装置14的当前的通信会话(S73)。在新的通信会话的优先级高的情况下(S73中为是),控制部30使处理前进至S72,将该终端装置14决定为新的通信会话的参加终端。另一方面,在S73中新的通信会话的优先级低的情况下(S73中为否),控制部30将该终端装置14决定为新的通信会话的排除终端(S74),使处理前进至S75。然后,控制部30重复执行上述处理,直至针对成为新的通信会话的参加终端的候选的所有终端装置14均执行了上述S70~S74的处理(S75中为是)。Figure 9 is a flowchart showing the registration process performed by the server device 11. This process is performed in S51 of Figure 8A. The control unit 30 selects a terminal device 14 (terminal device number) as a candidate participating terminal for the new communication session based on the session number (individual number/group number/group number) contained in the received call voice data packet (S70). The control unit 30 then determines whether the terminal device 14 is currently in a communication session (S71). Specifically, it determines whether it is included as a participating terminal in the communication sessions registered in the mixed table 303. If it is not currently in communication in S71 (No in S71), the control unit 30 determines that the terminal device 14 is a participating terminal in the new communication session (S72) and advances the process to S75. On the other hand, if it is currently in communication in S71 (Yes in S71), the control unit 30 determines whether the priority of the new communication session is higher than that of the terminal device 14's current communication session (S73). If the priority of the new communication session is high (YES in S73), the control unit 30 advances the process to S72 and determines the terminal device 14 as a participating terminal in the new communication session. On the other hand, if the priority of the new communication session is low in S73 (NO in S73), the control unit 30 determines the terminal device 14 as an excluded terminal in the new communication session (S74) and advances the process to S75. The control unit 30 then repeats the above process until the processes of S70 to S74 have been executed for all terminal devices 14 that are candidates for participating terminals in the new communication session (YES in S75).
在S75中,在针对候选的所有终端装置14的上述处理结束的情况下(S75中为是),控制部30判断有无被决定为参加终端的终端装置14(S76)。在有参加终端的终端装置14的情况下(S76中为是),控制部30将该新的通信会话登记到混合表格303中(S77),结束该处理。在S77中,呼叫声音数据包的通信对方编号(通信会话编号)被登记为会话编号,该呼叫声音数据包的发送源的终端装置14的终端编号被登记为主叫终端编号。作为参加终端编号,登记上述被决定为参加终端的终端装置14的编号以及主叫终端编号。另外,作为排除终端编号,登记上述被决定为排除终端的终端装置14的编号。此外,非激活(激活标记为OFF)的终端装置14的编号也被登记为排除终端编号。另外,在S76中没有参加终端的终端装置14的情况下(S76中为否),控制部30视作新的通信会话不成立,不进行新的通信会话向混合表格303的登记,结束该登记处理。In S75, if the above processing for all candidate terminal devices 14 is completed (Yes in S75), the control unit 30 determines whether there is a terminal device 14 determined to be a participating terminal (S76). If there is a terminal device 14 that is a participating terminal (Yes in S76), the control unit 30 registers the new communication session in the mixed table 303 (S77), and ends the processing. In S77, the communication partner number (communication session number) of the call voice packet is registered as the session number, and the terminal number of the terminal device 14 that sent the call voice packet is registered as the calling terminal number. The numbers of the terminal devices 14 determined to be participating terminals and the calling terminal number are registered as participating terminal numbers. In addition, the numbers of the terminal devices 14 determined to be excluded terminals are registered as excluded terminal numbers. In addition, the numbers of inactive terminal devices 14 (activation flag is OFF) are also registered as excluded terminal numbers. If there is no terminal device 14 participating in S76 (No in S76), the control unit 30 regards that a new communication session is not established, does not register a new communication session in the hybrid table 303, and ends the registration process.
然后,控制部30返回图8A,使处理前进至S52。在S52中,控制部30判断上述新的通信会话是否被登记于混合表格。在未被登记于混合表格的情况下(S52中为否),控制部30视作新的通信会话未建立,结束该声音数据包接收时的处理。另一方面,在S52中被登记于混合表格的情况下(S52中为是),控制部30基于混合表格303的参加终端编号,将接收到的声音数据包的声音信号转发给参加通信会话的终端装置14(S53)。The control unit 30 then returns to FIG. 8A and proceeds to S52. In S52, the control unit 30 determines whether the new communication session is registered in the hybrid table. If it is not registered in the hybrid table (No in S52), the control unit 30 deems that a new communication session has not been established and terminates the processing of the received voice packet. On the other hand, if it is registered in the hybrid table in S52 (Yes in S52), the control unit 30 forwards the voice signal of 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 (S53).
控制部30判断是否有因本次建立的通信会话而被从已经登记于混合表格303的通信会话的参加终端装置中排除的终端装置(S54)。即,在基于优先级等而参加了之前建立的通信会话的终端装置14变为参加本次建立的新的通信会话的情况下,需要从之前建立的通信会话中去除。在存在这样的终端装置14的情况下(S54中为是),控制部30更新其他通信会话(S55)。具体而言,从该之前建立的通信会话的参加终端编号的栏中删除该终端装置14的终端编号。被排除的终端编号被转记至排除终端编号的栏。另外,在该终端装置14的终端编号全部被从该之前建立的通信会话的参加终端编号的栏中删除的情况下,删去该通信会话。这样使通信会话的参加终端装置最佳化。若在S54中没有被从已经登记于混合表格303的通信会话的参加终端装置中排除的终端装置(S54中为否),则结束该声音数据包接收时的处理。The control unit 30 determines whether any terminal device has been excluded from the participating terminal devices of the communication session already registered in the hybrid table 303 due to the currently established communication session (S54). Specifically, if a terminal device 14 that participated in a previously established communication session, based on priority, etc., now participates in the newly established communication session, it needs to be removed from the previously established communication session. If such a terminal device 14 exists (Yes in S54), the control unit 30 updates the other communication sessions (S55). Specifically, the terminal number of the terminal device 14 is deleted from the participating terminal number column of the previously established communication session. The excluded terminal number is transferred to the excluded terminal number column. Furthermore, if all terminal numbers of the terminal device 14 have been removed from the participating terminal number columns of the previously established communication session, the communication session is deleted. This optimizes the participating terminal devices of the communication session. If no terminal device has been excluded from the participating terminal devices of the communication session already registered in the hybrid table 303 in S54 (No in S54), the processing of receiving the voice data packet ends.
图8B的混合表格管理处理被定期(例如每隔20毫秒)重复执行。控制部30首先指定混合表格303的起始行的通信会话(S60)。控制部30使指定的通信会话的保持时间计时器TS进行计数减1运算(20毫秒的量)(S61),判断通过该减法运算而保持时间计时器TS是否变为了0(S62)。在保持时间计时器TS变为了0的情况下(S62中为是),控制部30视作该通信会话已结束,将该行的通信会话删去(S63)。The hybrid table management process shown in FIG8B is repeated periodically (e.g., every 20 milliseconds). The control unit 30 first specifies the communication session in the first row of the hybrid 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 .
在S63中进行了通信会话的结束的处理的情况下,也可以使参加了该通信会话的终端装置14中途参加其他通信会话。例如,在已结束的通信会话是优先级高的通信会话,并且参加了该通信会话的终端装置14中存在被从之前建立的优先级低的通信会话中选取的终端装置的情况下,可以使该终端装置14再次参加原来的优先级低的通信会话(当然,仅限于该优先级低的通信会话仍在继续的情况)。另外,即使在参加了已结束的优先级高的通信会话的终端装置14属于在该通信会话之后建立的优先级低的通信会话(小组)的情况下,也可以使该终端装置从中途参加该优先级低的通信会话。进行这样的处理的情况可通过下述方式实现,即,在S63中进行了通信会话的结束的处理时,搜索参加了该通信会话的终端装置14的终端编号是否被登记于其他继续中的通信会话的排除终端,在被登记于排除终端的情况下,使该终端编号转移至参加终端。If the communication session is terminated in S63, the terminal device 14 participating in the communication session can be allowed to join another communication session midway. For example, if the communication session that has ended is a high-priority communication session, and one of the terminal devices 14 participating in the communication session is a terminal device that was selected from a previously established low-priority communication session, the terminal device 14 can be allowed to rejoin the original low-priority communication session (of course, this is only limited to the case where the low-priority communication session is still ongoing). In addition, even if the terminal device 14 participating in the ended high-priority communication session belongs to a low-priority communication session (group) established after the previous communication session, the terminal device can be allowed to join the low-priority communication session midway. Such processing can be achieved by searching to see if the terminal number of the terminal device 14 participating in the communication session is registered as an excluded terminal in another ongoing communication session when the communication session is terminated in S63. If the terminal number is registered as an excluded terminal, the terminal number is transferred to a participating terminal.
如上所述,在该实施方式的声音通信系统中,经由通信网络来连接中继装置(服务器装置11)和作为通信机的终端装置14,并且使得在服务器装置11侧基于通信的优先级来进行终端装置14彼此的通信的管理。由此,能够在服务器装置11侧一并地立即切换至优先级高的通信。因此,能够使通信会话的切换所花费的时间比以往短。而且,与通信的优先级有关的信息由服务器装置11管理,因此用户仅通过使用管理装置12来更新服务器装置11的与优先级有关的信息就能应用用户所希望的优先级,所以优先级的更新作业也比较容易。另外,在被切换至优先级高的通信之后,该通信与其他通信同样地被维持,因此能够可靠地传递想要传递给通信对方的内容。As described above, in the voice communication system of this embodiment, the relay device (server device 11) and the terminal device 14 as a communication machine are connected via a communication network, and the communication between the terminal devices 14 is managed on the server device 11 side based on the priority of the communication. As a result, it is possible to immediately switch to a communication with a high priority on the server device 11 side. Therefore, the time spent on switching the communication session can be shortened compared to the past. Moreover, the information related to the priority of the communication is managed by the server device 11, so the user can apply the priority desired by the user only by using the management device 12 to update the information related to the priority of the server device 11, so the priority update operation is also relatively easy. In addition, after being switched to the communication with a high priority, the communication is maintained in the same way as other communications, so the content that is desired to be transmitted to the communication partner can be reliably transmitted.
在上述实施方式中,对单个通信、小组通信以及全体通信的通信会话的种类设定了优先级,但并不特别限定于此。例如,也可以对终端装置14的编号设定优先级。例如,采用使属于某岗位的终端装置14的编号的优先级被设定得比属于其他岗位的终端装置14的编号的优先级高的构成即可。并且,在新的通信会话中优先级高的终端装置编号为主叫终端编号的情况下,即使处于其他通信会话中也被切换至新的通信会话。In the above embodiment, priorities are set for individual, group, and group communication communication session types, but this is not particularly limiting. For example, priorities can also be set for the terminal device 14 numbers. For example, a configuration can be employed where the terminal device 14 numbers belonging to a certain position are given a higher priority than the terminal device 14 numbers belonging to other positions. Furthermore, if the terminal device number with the higher priority is the calling terminal number in a new communication session, the calling terminal will be switched to the new communication session even if the calling terminal is already in another communication session.
另外,在上述实施方式中,基于优先级表格来进行了通信会话的切换,但并不特别限定于此。例如,也可以使得能够从终端装置14的操作部22进行紧急呼叫的操作,在用户进行了该紧急呼叫操作的情况下的通信会话作为优先级高的通信会话。在操作了紧急呼叫时的呼叫声音数据包中附加传递是紧急情况的信息,服务器装置11接收(存储)该附加信息来判断优先级。In addition, in the above embodiment, communication sessions are switched based on a priority table, but this is not particularly limited to this. For example, an emergency call operation can be performed from the operating unit 22 of the terminal device 14, and the communication session in which the user performs the emergency call operation is designated as a high-priority communication session. When the emergency call operation is performed, the call audio data packet is supplemented with information indicating the emergency situation, and the server device 11 receives (stores) this supplementary information to determine the priority.
在上述实施方式中,非激活的终端装置作为排除终端装置而被从通信会话中排除,但也可以在该终端装置变为激活的时间点使其中途参加通信会话。In the above embodiment, 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 midway when the terminal device becomes active.
另外,在上述实施方式中,在由于优先呼叫而通信会话中的一部分参加终端已脱离(移动至新的通信会话)的情况下,不对上述通信会话中的剩余(未脱离)的参加终端通知上述一部分参加终端已脱离这一情况,但也可以进行通知。例如,在上述通信会话中的声音数据包的声音信号中合成告知上述一部分终端装置14已脱离的意思的消息声音来发送即可。进而,也可以在上述新的通信会话的声音数据包的声音信号中合成告知上述一部分终端装置14的通信会话(所属)已改变的意思的消息声音来发送。Furthermore, in the above embodiment, when a portion of participating terminals in a communication session has been disconnected (moved to a new communication session) due to a priority call, the remaining (non-detached) participating terminals in the communication session are not notified of their disconnection. However, notification may be provided. For example, a message notifying the disconnected terminal devices 14 may be synthesized into the audio signal of the audio data packet in the communication session and transmitted. Furthermore, a message notifying the terminal devices 14 that their communication session (affiliation) has changed may be synthesized into the audio signal of the audio data packet in the new communication session and transmitted.
另外,在上述实施方式中,从当前的通信会话立即切换至优先级高的新的通信会话,但并不特别限定于此。例如,若在当前的通信会话中处于发送声音数据包的高峰,则也可以等待其发送结束后切换至新的通信会话。In addition, in the above embodiment, the current communication session is immediately switched to a new communication session with a higher priority, but this is not particularly limited to this. For example, if the current communication session is at a peak in sending voice packets, the switching to the new communication session may be waited until the transmission is completed.
在上述实施方式中,设为对应于从终端装置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 a conversation group by manipulating hybrid 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 changes to communication sessions.
符号说明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 Table
304 优先级表格304 Priority Table
Claims (15)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013-231599 | 2013-11-07 | ||
| JP2013231599 | 2013-11-07 | ||
| PCT/JP2014/079134 WO2015068665A1 (en) | 2013-11-07 | 2014-10-31 | Relay device, voice communication system, program, and relay method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1223486A1 HK1223486A1 (en) | 2017-07-28 |
| HK1223486B true HK1223486B (en) | 2019-12-06 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6451642B2 (en) | RELAY DEVICE, VOICE COMMUNICATION SYSTEM, PROGRAM, AND VOICE SIGNAL RELAY METHOD | |
| JP6610259B2 (en) | RELAY DEVICE, VOICE COMMUNICATION SYSTEM, PROGRAM, AND RELAY METHOD | |
| JP6680988B2 (en) | Relay device, voice communication system, voice communication method and program | |
| JP6418163B2 (en) | RELAY DEVICE, VOICE COMMUNICATION SYSTEM, VOICE SIGNAL RELAY METHOD, AND PROGRAM | |
| JP6836085B2 (en) | Wireless access point | |
| 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 | |
| JP6485281B2 (en) | Setting method of voice communication system | |
| HK1223486B (en) | Relay device, voice communication system, recording medium, and relay method | |
| HK1223466B (en) | Relay device, voice communication system, recording medium, and method for relaying voice signal | |
| HK1223467B (en) | Relay apparatus, voice-communication system, method for relaying voice signals, 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 | |
| HK1233087B (en) | Relay device, voice communication system, voice communication method and recording medium | |
| HK1225195B (en) | Relay apparatus, audio communication system, audio signal relay method and recording medium | |
| HK1229988B (en) | Relay device, communication relay method, program, and voice communication system | |
| CN106416322A (en) | Relay device, communication relay method, program, and voice communication system | |
| HK1226583B (en) | Relay device, voice communication system, and voice communication method |