WO2018068230A1 - Telephone call method, apparatus and system, and scheduling server - Google Patents
Telephone call method, apparatus and system, and scheduling server Download PDFInfo
- Publication number
- WO2018068230A1 WO2018068230A1 PCT/CN2016/101901 CN2016101901W WO2018068230A1 WO 2018068230 A1 WO2018068230 A1 WO 2018068230A1 CN 2016101901 W CN2016101901 W CN 2016101901W WO 2018068230 A1 WO2018068230 A1 WO 2018068230A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- destination
- private network
- telephone
- call
- phone
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/64—Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
- H04M1/65—Recording arrangements for recording a message from the calling party
Definitions
- the present application relates to a convergence technology of an IP telephone and a private network call service, and more particularly to a telephone call method, apparatus, system, and scheduling server.
- the private network is generally equipped with an interface that interfaces with the telephone, and the private network terminal can establish a call connection with the telephone, thereby reporting the situation to the relevant party on the telephone side in real time.
- the process of establishing a call connection between the private network terminal and the telephone includes: the private network terminal first initiates a call request, waits for the relevant person at the telephone end to respond, that is, after the phone picks up the phone, the call voice packet of the private network terminal can be sent to the phone, and the relevant end of the phone is related. The person can listen to the call voice packet of the private network terminal.
- the present invention provides a telephone call method, apparatus, system, and dispatch server to overcome the problem of inefficient communication between a private network terminal and a telephone in the prior art.
- the present invention provides the following technical solutions:
- a telephone call system comprising:
- a scheduling gateway configured to send the intercepted call voice packet of the destination private network terminal to the dispatch service Server
- the scheduling server is configured to determine, according to a pre-stored switch address, a correspondence between a call number of the telephone and an identifier of the private network terminal, a call number of the destination telephone and an address of the destination switch corresponding to the identifier of the destination private network terminal. Determining that the destination telephone is in an off-hook mode; transmitting a call voice packet of the destination private network terminal to the destination switch;
- the destination switch is configured to send a call voice packet of the destination private network terminal to the destination phone.
- the scheduling server is specifically configured to: when determining that the destination phone is in an off-hook mode:
- the destination switch is further configured to: when the off-hook instruction sent by the scheduling server is received, configure the destination phone to be in an off-hook mode;
- a message that the destination phone is in an off-hook mode is fed back to the dispatch server.
- the scheduling server is further configured to:
- the destination switch is further configured to: send the mixed voice packet to the destination phone.
- a telephone call method is applied to a dispatch server, and the telephone call method includes:
- the determining that the destination phone is in an off-hook mode includes:
- the method further comprises:
- a telephone call device is applied to a dispatch server, the telephone call device comprising:
- a first receiving module configured to receive a call voice packet of a destination private network terminal that is monitored by the scheduling gateway;
- a first determining module configured to determine, according to a pre-stored switch address, a correspondence between a call number of the phone and an identifier of the private network terminal, a call number of the destination telephone and an address of the destination switch corresponding to the identifier of the destination private network terminal ;
- a second determining module configured to determine that the destination phone is in an off-hook mode
- the first sending module is configured to send the call voice of the destination private network terminal to the destination phone through the destination switch.
- the second determining module includes:
- a determining unit configured to determine a current mode of the destination phone
- a first determining unit configured to determine that the destination phone is in an off-hook mode when the current mode of the destination phone is an off-hook mode
- a generating unit configured to generate an off-hook instruction when the current mode of the destination phone is an idle mode
- a sending unit configured to send the off-hook instruction to the destination phone through the destination switch
- the second determining unit is configured to: when receiving the message that the destination phone returned by the destination switch is in an off-hook mode, determine that the destination phone is in an off-hook mode.
- the method further includes:
- a second receiving module configured to: when receiving a call voice packet sent by the plurality of private network terminals to the destination phone, mix the call voice packets corresponding to the plurality of private network terminals respectively, to generate a mixed voice packet;
- a second sending module configured to send the mixed voice packet to the destination phone through the destination switch.
- a scheduling server includes: a memory, a processor, a receiving port, and a sending port, where
- the memory is configured to store a correspondence between a switch address, a call number of the phone, and a private network terminal identifier
- the receiving port is configured to receive a call voice packet of a destination private network terminal that is monitored by the scheduling gateway;
- the processor is configured to: according to a correspondence between a switch address stored in the memory, a call number of the phone, and an identifier of the private network terminal, and a call voice packet of the destination private network received by the receiving port, and the destination Determining, by the identifier of the private network terminal, the calling number of the destination telephone corresponding to the identifier of the destination private network terminal and the address of the destination switch; and determining that the destination telephone is in an off-hook mode;
- the sending port is configured to send call voice of the destination private network terminal to the destination phone through the destination switch.
- the processor is specifically configured to: when determining that the destination phone is in an off-hook mode:
- the processor is further configured to:
- the sending port is further configured to: send the mixed voice packet to the destination phone through the destination switch.
- the scheduling gateway listens to the call voice packet of the destination private network terminal, and sends the call voice packet to the scheduling server.
- the scheduling server determines the calling number of the destination telephone and the address of the destination switch corresponding to the identifier of the destination private network terminal according to the correspondence between the pre-stored switch address, the call number of the telephone, and the identifier of the private network terminal. And when it is determined that the destination phone is in the off-hook mode, the call voice packet of the destination private network terminal is sent to the destination switch.
- the dispatch server sets the state of the destination telephone to the off-hook mode, that is, the destination telephone automatically picks up the phone, and does not need the user at the telephone end to pick up the phone, avoiding There is a problem of lost voice or sound delay before the connection, and the efficiency of establishing a call between the private network terminal and the telephone is also improved.
- FIG. 1 is a schematic structural diagram of a telephone call system according to an embodiment of the present application.
- FIG. 2 is a signaling diagram of information interaction between a scheduling gateway, a scheduling server, and a destination switch in a telephone call system according to an embodiment of the present disclosure
- FIG. 3 is a hardware structural diagram of a scheduling server in a telephone call system according to an embodiment of the present application
- FIG. 4 is a flowchart of a method for calling a phone according to an embodiment of the present application.
- FIG. 5 is a structural diagram of a telephone call device according to an embodiment of the present application.
- TETRA Trans European Trunked Radio, pan-European trunked radio
- DMR Digital Mobile Radio, digital mobile intercom
- IPPBX HSS multimedia switch
- HSS Home Subscriber Server, home subscriber server
- IP Voiceover Internet Protocol, VoIP
- API Application Programming Interface, application programming interface.
- FIG. 1 is a schematic structural diagram of a telephone call system.
- the telephone call system includes: a dispatch gateway 11, a dispatch server 12, and a destination switch 13.
- the destination telephone 14 is also shown in FIG.
- the dispatching gateway 11 communicates with the dispatching server 12 via the IP network; the destination switch 13 communicates with the destination telephone 14 via the IP network; and the dispatching server 12 and the destination switch 13 communicate via the IP network.
- FIG. 2 is a scheduling gateway and a scheduling server in a telephone call system provided by an embodiment of the present application.
- the destination telephone 14 and the destination private network terminal 15 are also shown in FIG.
- Step S201 The destination private network terminal 15 initiates a call request.
- the private network terminal can be a DMR, a TETRA terminal, or a PDT terminal.
- Step S202 When the scheduling gateway 11 listens to the call request or the call voice packet of the destination private network terminal 15, it sends the call request or the call voice packet to the dispatch server 12.
- the call request carries the identifier of the destination private network terminal 15. It is also possible to carry a call voice packet with the destination private network terminal 15. Or, the dispatching gateway 11 listens to the call voice packet of the destination private network terminal again after listening to the destination private network terminal 12 to initiate a call request.
- Step S203 The scheduling server 12 determines the calling number of the destination telephone and the address of the destination switch corresponding to the identifier of the destination private network terminal according to the correspondence between the pre-stored switch address, the call number of the telephone, and the identifier of the private network terminal.
- Step S204 The dispatch server 12 determines that the destination telephone 14 is in the off-hook mode.
- the dispatching server 12 determines that the destination telephone 14 is in the off-hook mode.
- the embodiments of the present application provide, but are not limited to, the following.
- the dispatching server 12 Before the dispatching gateway sends a call request to the dispatching server, the dispatching server 12 has set all the phones to the off-hook mode, that is, the connection between the private network terminal and the telephone is always present. In this case, the phone is always off-hook and wastes power.
- the scheduling server 12 determines the destination telephone that the destination private network terminal needs to call, it is determined that the destination telephone is in the off-hook mode, and the specific steps are as follows:
- Step S2041 The scheduling server 12 determines the current mode of the destination phone.
- Step S2042 When the scheduling server 12 detects that the current mode of the destination phone is the off-hook mode, it determines that the destination phone is in the off-hook mode.
- Step S2043 When the scheduling server 12 detects that the current mode of the destination phone is the idle mode, the off-hook instruction is generated.
- the off-hook command carries the identification or telephone number of the destination telephone to enable the destination switch to determine which telephone is currently in the off-hook mode.
- Step S2044 When receiving the off-hook command sent by the scheduling server, the destination switch 13 configures that the destination phone is in the off-hook mode, and feeds back the message that the destination phone is in the off-hook mode to the scheduling server.
- Step S2045 When receiving the message that the destination phone returned by the destination switch is in the off-hook mode, the scheduling server 12 determines that the destination phone is in the off-hook mode.
- steps S2041 through S2045 are optional steps, they are indicated by dashed boxes in FIG.
- the upper dispatching gateway may be an IP dispatching gateway
- the dispatching server may be an IP dispatching server
- the destination telephone may be an IP destination telephone
- the destination switch may be an IPPBX.
- Step S205 The scheduling server 12 sends the call voice packet of the destination private network terminal to the destination switch.
- the dispatch server 12 can send the call voice packet to the destination switch.
- Step S206 The destination switch 13 is configured to send a call voice packet of the destination private network terminal to the destination phone.
- the dispatching gateway 11 listens to the call voice packet of the destination private network terminal 15, and sends the call voice packet to the dispatch server 12, and the dispatch server 12 according to the pre-stored switch address and the telephone.
- the corresponding relationship between the calling number and the identifier of the private network terminal determines the calling number of the destination telephone and the address of the destination switch corresponding to the identifier of the destination private network terminal. And when it is determined that the destination phone is in the off-hook mode, the call voice packet of the destination private network terminal is sent to the destination switch.
- the dispatch server sets the state of the destination telephone to the off-hook mode, that is, the destination telephone automatically picks up the phone, and does not need the user at the telephone end to pick up the phone, avoiding There is a problem of lost voice or sound delay before the connection, and the efficiency of establishing a call between the private network terminal and the telephone is also improved.
- the same phone can only listen to one or a group of private network terminals at the same time.
- the busy connection may occur.
- the private network terminal can initiate the call again. This situation may lead to the loss of important information.
- Call voice package It can be understood that, in the telephone call system provided by the embodiment of the present application, if there is currently only one destination private network terminal to the destination The telephone sends a call voice packet, and the dispatch server 12 can send the call voice packet to the destination switch.
- the scheduling server is further configured to: receive call voices sent by the plurality of private network terminals to the destination telephone During the packet, the call voice packets corresponding to the plurality of private network terminals are mixed to generate a mixed voice packet; and the mixed voice packet is sent to the destination switch.
- the destination switch is further configured to: send the mixed voice packet to the destination phone.
- the scheduling server stores the correspondence between the switch address, the call number of the phone, and the identifier of the private network terminal.
- One switch address may correspond to the call number of one or more phones, and the call number of one phone may correspond to one or more private network terminals. logo.
- the telephone call system provided by the embodiment of the present application supports that only one private network terminal calls the corresponding telephone (ie, one call) at the same time; and also supports multiple private network terminals calling the same telephone (ie, group call) at the same time, that is, Multiple calls of multiple private network terminals form a conference, and the call voice packets of each private network terminal of the conference are sent to the same telephone.
- the embodiment of the present application further provides a telephone call method and a telephone call device.
- the method or device may be applied to a scheduling server.
- the scheduling server is a device that provides a computing service. As shown in FIG. 3, the scheduling server may include a processor 31.
- the memory 32 can be used to store software programs and modules, and the processor 31 executes various functional applications and data processing of the dispatch server by running software programs and modules stored in the memory 32.
- the memory 32 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a function of determining that the destination telephone is in an off-hook mode), and the like; and a storage data area. Data that is created according to the usage of the scheduling server (such as the address of the switch, the call number of the telephone, and the correspondence of the identifiers of the private network terminals, etc.) can be stored.
- memory 32 may also include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the receiving port 33 can be used to receive information of other terminals or servers (for example, the scheduling gateway sends The incoming call request or call voice packet is sent to the processor 31.
- the transmit port 34 can be used to send messages (e.g., call voice packets) and instructions (e.g., off-hook commands) of the dispatch server to other terminals or servers.
- messages e.g., call voice packets
- instructions e.g., off-hook commands
- the processor 31 is a control center of the dispatch server that connects various portions of the entire dispatch server using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 32, and recalling data stored in the memory 2. Execute the various functions of the dispatch server and process the data to monitor the dispatch server as a whole. For example, the correspondence between the switch address stored in the memory, the call number of the phone and the identifier of the private network terminal, and the call voice packet of the destination private network and the identifier of the destination private network terminal received by the receiving port And determining the calling number of the destination telephone and the address of the destination switch corresponding to the identifier of the destination private network terminal.
- FIG. 4 is a flowchart of a method for calling a phone according to an embodiment of the present application.
- the method may be applied to a scheduling server as shown in FIG. 2 and FIG. 3, where the method includes:
- Step S401 Receive a call voice packet of the destination private network terminal monitored by the scheduling gateway.
- Step S401 may be performed by the receiving port 33.
- Step S402 Determine, according to the pre-stored switch address, the correspondence between the call number of the telephone and the identifier of the private network terminal, the call number of the destination telephone and the address of the destination switch corresponding to the identifier of the destination private network terminal.
- the correspondence between the switch address, the call number of the telephone, and the identifier of the private network terminal may be stored in the memory 32 in advance, and the step S402 may be performed by the processor 31.
- Step S403 determining that the destination telephone is in an off-hook mode.
- Step S403 may be performed by the processor 31.
- Step S404 Send the call voice of the destination private network terminal to the destination telephone through the destination switch.
- Step S404 may be performed by the transmitting port 34.
- the dispatching server 12 (shown in Figures 2 and 3) has set all the phones to the off-hook mode, that is, the connection between the private network terminal and the telephone has been It exists. In this case, the phone is always off-hook and wastes power.
- the dispatch server 12 determines that the destination phone is in the off-hook mode. The specific steps are as follows:
- An off-hook instruction is generated when the current mode of the destination phone is the idle mode.
- the same phone can only listen to one or a group of private network terminals at the same time.
- the busy connection may occur. After waiting for the call to hang up the current call, the private network terminal can initiate the call again. This situation may lead to the loss of important information.
- Call voice package It can be understood that, in the telephone call method provided by the embodiment of the present application, if only one destination private network terminal currently sends a call voice packet to the destination telephone, the scheduling server 12 can send the call voice packet to the destination switch.
- the telephone call method provided by the embodiment of the present application further includes: receiving a plurality of private network terminals to the When the voice packet is sent by the destination telephone, the call voice packets corresponding to the plurality of private network terminals are mixed to generate a voice voice packet; and the voice voice packet is sent to the destination through the destination switch. phone.
- the dispatch server stores the switch address, the call number of the phone, and the private network terminal identifier.
- a switch address may correspond to the call number of one or more phones, and the call number of one phone may correspond to the identifier of one or more private network terminals.
- the telephone call system provided by the embodiment of the present application supports that only one private network terminal calls the corresponding telephone (ie, one call) at the same time; and also supports multiple private network terminals to call the same telephone (ie, group call) at the same time, that is, multiple
- the multi-way call of the private network terminal forms a conference, and the call voice packets of each private network terminal of the conference are sent to the same telephone.
- the telephone call device can be applied to the dispatching server as shown in FIG. 2 and FIG. 3.
- the structure of the telephone call device is as shown in FIG. 5.
- the telephone call device includes: a first receiving module 501, a first determining module 502, and a second The determining module 503 and the first sending module 504, wherein:
- the first receiving module 501 is configured to receive a call voice packet of the destination private network terminal that is monitored by the scheduling gateway.
- the first determining module 502 is configured to determine, according to the pre-stored switch address, the correspondence between the calling number of the phone and the identifier of the private network terminal, the calling number of the destination telephone and the destination switch corresponding to the identifier of the destination private network terminal. address.
- the second determining module 503 is configured to determine that the destination phone is in an off-hook mode.
- the first sending module 504 is configured to send call voice of the destination private network terminal to the destination phone through the destination switch.
- the first receiving module 501, the first determining module 502, the second determining module 503, and the first sending module 504 may be stored in the memory 32, and the processor 31 calls each functional module of the memory 32 to implement the method shown in FIG.
- the second determining module may have multiple structures, as follows:
- the first type, the second determining module comprises:
- Scheduling settings in server 12 before the dispatching gateway sends a call request to the dispatch server The module has set all phones to off-hook mode, that is, the connection between the private network terminal and the phone is always present. In this case, the phone is always off-hook and wastes power.
- the second determining module includes:
- a determining unit configured to determine a current mode of the destination phone; a first determining unit, configured to: when the current mode of the destination phone is an off-hook mode, determine that the destination phone is in an off-hook mode; When the current mode of the phone is an idle mode, an off-hook command is generated; a sending unit is configured to send the off-hook command to the destination phone through the destination switch; and a second determining unit is configured to receive the destination When the destination phone returned by the switch is in the off-hook mode, it is determined that the destination phone is in the off-hook mode.
- the same phone can only listen to one or a group of private network terminals at the same time.
- the busy connection may occur. After waiting for the call to hang up the current call, the private network terminal can initiate the call again. This situation may lead to the loss of important information. Call.
- the scheduling server 12 can send the call voice packet to the destination switch.
- the telephone call device further includes: a second receiving module, configured to receive the plurality of private network terminals When the voice packet sent by the destination phone is described, the call voice packets corresponding to the plurality of private network terminals are mixed to generate a mixed voice packet, and the second sending module is configured to pass the voice voice packet The destination switch is sent to the destination phone.
- the scheduling server stores the correspondence between the switch address, the call number of the telephone, and the private network terminal identifier.
- One switch address may correspond to the call number of one or more telephones, and the call number of one telephone may correspond to one or more private network terminals. logo.
- the telephone call system provided by the embodiment of the present application supports that only one private network terminal calls the corresponding telephone (ie, one call) at the same time; and also supports multiple private network terminals to call the same telephone (ie, group call) at the same time, that is, multiple Multi-way calls of the private network terminal form a conference, each of the conferences The call voice packet of the private network terminal is sent to the same phone.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
本申请涉及IP电话与专网呼叫业务的融合技术,更具体的涉及电话呼叫方法、装置、系统和调度服务器。The present application relates to a convergence technology of an IP telephone and a private network call service, and more particularly to a telephone call method, apparatus, system, and scheduling server.
在公共安全领域突发紧急事件(如恐怖袭击)时,不在专网覆盖范围内的相关人员(如在家里或者只配置了座机的值班室)需要实时知晓现场情况以便进行应急指挥、处理。In the event of an emergency (such as a terrorist attack) in the public security field, relevant personnel who are not covered by the private network (such as at home or in the duty room where only the landline is deployed) need to know the scene in real time for emergency command and handling.
目前,专网一般都配置了与电话对接的接口,专网终端可以与电话建立呼叫连接,从而向电话一方的相关人员实时上报现场情况。At present, the private network is generally equipped with an interface that interfaces with the telephone, and the private network terminal can establish a call connection with the telephone, thereby reporting the situation to the relevant party on the telephone side in real time.
专网终端与电话建立呼叫连接的过程包括:专网终端先发起呼叫请求,等待电话一端的相关人员进行应答即电话摘机后,专网终端的呼叫语音包才能发送至电话,电话一端的相关人员才能监听专网终端的呼叫语音包。The process of establishing a call connection between the private network terminal and the telephone includes: the private network terminal first initiates a call request, waits for the relevant person at the telephone end to respond, that is, after the phone picks up the phone, the call voice packet of the private network terminal can be sent to the phone, and the relevant end of the phone is related. The person can listen to the call voice packet of the private network terminal.
发明内容Summary of the invention
现有技术中,由于在专网终端向电话发送呼叫语音包时,需要电话一端的相关人员摘机,在等待摘机的过程中,可能会存在呼叫语音包的丢失,或者声音延迟。且在专网终端与电话建立呼叫连接的过程中,有人为的参与,导致专网终端与电话建立呼叫连接的效率低下,进一步可能导致不能及时接收到重要的呼叫。In the prior art, when a private voice terminal sends a call voice packet to a telephone, the relevant person at the telephone end needs to pick up the phone. During the process of waiting for the off-hook, there may be a loss of the call voice packet or a sound delay. Moreover, in the process of establishing a call connection between the private network terminal and the telephone, the participation of the human network causes the connection between the private network terminal and the telephone to be inefficient, which may further result in the inability to receive important calls in time.
有鉴于此,本发明提供了一种电话呼叫方法、装置、系统和调度服务器,以克服现有技术中专网终端与电话建立呼叫的效率低下的问题。In view of this, the present invention provides a telephone call method, apparatus, system, and dispatch server to overcome the problem of inefficient communication between a private network terminal and a telephone in the prior art.
为实现上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:
一种电话呼叫系统,包括:A telephone call system comprising:
调度网关,用于将监听到的目的专网终端的呼叫语音包发送至调度服 务器;a scheduling gateway, configured to send the intercepted call voice packet of the destination private network terminal to the dispatch service Server
所述调度服务器,用于根据预先存储的交换机地址、电话的呼叫号码与专网终端的标识的对应关系,确定出所述目的专网终端的标识对应的目的电话的呼叫号码和目的交换机的地址;确定所述目的电话处于摘机模式;将所述目的专网终端的呼叫语音包发送至所述目的交换机;The scheduling server is configured to determine, according to a pre-stored switch address, a correspondence between a call number of the telephone and an identifier of the private network terminal, a call number of the destination telephone and an address of the destination switch corresponding to the identifier of the destination private network terminal. Determining that the destination telephone is in an off-hook mode; transmitting a call voice packet of the destination private network terminal to the destination switch;
所述目的交换机,用于将所述目的专网终端的呼叫语音包发送至所述目的电话。The destination switch is configured to send a call voice packet of the destination private network terminal to the destination phone.
其中,所述调度服务器在确定所述目的电话处于摘机模式时,具体用于:The scheduling server is specifically configured to: when determining that the destination phone is in an off-hook mode:
判断所述目的电话当前模式;Determining a current mode of the destination telephone;
当所述目的电话当前模式为摘机模式时,确定所述目的电话处于摘机模式;Determining that the destination phone is in an off-hook mode when the current mode of the destination phone is an off-hook mode;
当所述目的电话当前模式为空闲模式时,生成摘机指令;Generating an off-hook instruction when the current mode of the destination phone is an idle mode;
接收到所述目的交换机返回的所述目的电话处于摘机模式的消息时,确定所述目的电话处于摘机模式;When receiving the message that the destination phone returned by the destination switch is in the off-hook mode, determining that the destination phone is in an off-hook mode;
所述目的交换机还用于:接收到所述调度服务器发送的摘机指令时,配置所述目的电话处于摘机模式;The destination switch is further configured to: when the off-hook instruction sent by the scheduling server is received, configure the destination phone to be in an off-hook mode;
将所述目的电话处于摘机模式的消息反馈至所述调度服务器。A message that the destination phone is in an off-hook mode is fed back to the dispatch server.
优选的,所述调度服务器还用于:Preferably, the scheduling server is further configured to:
接收到多个专网终端向所述目的电话发送的呼叫语音包时,将所述多个专网终端分别对应的呼叫语音包进行混音,生成混音语音包;Receiving a call voice packet sent by the plurality of private network terminals to the destination telephone, mixing the call voice packets corresponding to the plurality of private network terminals to generate a mixed voice packet;
将所述混音语音包发送至目的交换机;Sending the mixed voice packet to the destination switch;
所述目的交换机还用于:将所述混音语音包发送至所述目的电话。The destination switch is further configured to: send the mixed voice packet to the destination phone.
一种电话呼叫方法,应用于调度服务器,所述电话呼叫方法包括:A telephone call method is applied to a dispatch server, and the telephone call method includes:
接收调度网关监听到的目的专网终端的呼叫语音包;Receiving a call voice packet of the destination private network terminal monitored by the scheduling gateway;
根据预先存储的交换机地址、电话的呼叫号码与专网终端的标识的对应关系,确定出所述目的专网终端的标识对应的目的电话的呼叫号码和目的交换机的地址;Determining, according to the correspondence between the pre-stored switch address, the call number of the telephone, and the identifier of the private network terminal, the call number of the destination telephone and the address of the destination switch corresponding to the identifier of the destination private network terminal;
确定所述目的电话处于摘机模式; Determining that the destination telephone is in an off-hook mode;
将所述目的专网终端的呼叫语音通过所述目的交换机发送至所述目的电话。Sending call voice of the destination private network terminal to the destination telephone through the destination switch.
其中,所述确定所述目的电话处于摘机模式包括:The determining that the destination phone is in an off-hook mode includes:
判断所述目的电话当前模式;Determining a current mode of the destination telephone;
当所述目的电话当前模式为摘机模式时,确定所述目的电话处于摘机模式;Determining that the destination phone is in an off-hook mode when the current mode of the destination phone is an off-hook mode;
当所述目的电话当前模式为空闲模式时,生成摘机指令;Generating an off-hook instruction when the current mode of the destination phone is an idle mode;
将所述摘机指令通过所述目的交换机发送至所述目的电话;Sending the off-hook command to the destination phone through the destination switch;
接收到所述目的交换机返回的所述目的电话处于摘机模式的消息时,确定所述目的电话处于摘机模式。When receiving the message that the destination phone returned by the destination switch is in the off-hook mode, it is determined that the destination phone is in the off-hook mode.
优选地,还包括:Preferably, the method further comprises:
接收到多个专网终端向所述目的电话发送的呼叫语音包时,将所述多个专网终端分别对应的呼叫语音包进行混音,生成混音语音包;Receiving a call voice packet sent by the plurality of private network terminals to the destination telephone, mixing the call voice packets corresponding to the plurality of private network terminals to generate a mixed voice packet;
将所述混音语音包通过所述目的交换机发送至所述目的电话。And transmitting the mixed voice packet to the destination phone through the destination switch.
一种电话呼叫装置,应用于调度服务器,所述电话呼叫装置包括:A telephone call device is applied to a dispatch server, the telephone call device comprising:
第一接收模块,用于接收调度网关监听到的目的专网终端的呼叫语音包;a first receiving module, configured to receive a call voice packet of a destination private network terminal that is monitored by the scheduling gateway;
第一确定模块,用于根据预先存储的交换机地址、电话的呼叫号码与专网终端的标识的对应关系,确定出所述目的专网终端的标识对应的目的电话的呼叫号码和目的交换机的地址;a first determining module, configured to determine, according to a pre-stored switch address, a correspondence between a call number of the phone and an identifier of the private network terminal, a call number of the destination telephone and an address of the destination switch corresponding to the identifier of the destination private network terminal ;
第二确定模块,用于确定所述目的电话处于摘机模式;a second determining module, configured to determine that the destination phone is in an off-hook mode;
第一发送模块,用于将所述目的专网终端的呼叫语音通过所述目的交换机发送至所述目的电话。The first sending module is configured to send the call voice of the destination private network terminal to the destination phone through the destination switch.
其中,所述第二确定模块包括:The second determining module includes:
判断单元,用于判断所述目的电话当前模式;a determining unit, configured to determine a current mode of the destination phone;
第一确定单元,用于当所述目的电话当前模式为摘机模式时,确定所述目的电话处于摘机模式;a first determining unit, configured to determine that the destination phone is in an off-hook mode when the current mode of the destination phone is an off-hook mode;
生成单元,用于当所述目的电话当前模式为空闲模式时,生成摘机指令; a generating unit, configured to generate an off-hook instruction when the current mode of the destination phone is an idle mode;
发送单元,用于将所述摘机指令通过所述目的交换机发送至所述目的电话;a sending unit, configured to send the off-hook instruction to the destination phone through the destination switch;
第二确定单元,用于接收到所述目的交换机返回的所述目的电话处于摘机模式的消息时,确定所述目的电话处于摘机模式。The second determining unit is configured to: when receiving the message that the destination phone returned by the destination switch is in an off-hook mode, determine that the destination phone is in an off-hook mode.
优选的,还包括:Preferably, the method further includes:
第二接收模块,用于接收到多个专网终端向所述目的电话发送的呼叫语音包时,将所述多个专网终端分别对应的呼叫语音包进行混音,生成混音语音包;a second receiving module, configured to: when receiving a call voice packet sent by the plurality of private network terminals to the destination phone, mix the call voice packets corresponding to the plurality of private network terminals respectively, to generate a mixed voice packet;
第二发送模块,用于将所述混音语音包通过所述目的交换机发送至所述目的电话。And a second sending module, configured to send the mixed voice packet to the destination phone through the destination switch.
一种调度服务器,包括:存储器、处理器、接收端口、发送端口,其中,A scheduling server includes: a memory, a processor, a receiving port, and a sending port, where
所述存储器,用于存储交换机地址、电话的呼叫号码与专网终端标识的对应关系;The memory is configured to store a correspondence between a switch address, a call number of the phone, and a private network terminal identifier;
所述接收端口,用于接收调度网关监听到的目的专网终端的呼叫语音包;The receiving port is configured to receive a call voice packet of a destination private network terminal that is monitored by the scheduling gateway;
所述处理器,用于根据所述存储器存储的交换机地址、电话的呼叫号码与专网终端的标识的对应关系,以及所述接收端口接收的所述目的专网的呼叫语音包和所述目的专网终端的标识,确定出所述目的专网终端的标识对应的目的电话的呼叫号码和目的交换机的地址;以及确定所述目的电话处于摘机模式;The processor is configured to: according to a correspondence between a switch address stored in the memory, a call number of the phone, and an identifier of the private network terminal, and a call voice packet of the destination private network received by the receiving port, and the destination Determining, by the identifier of the private network terminal, the calling number of the destination telephone corresponding to the identifier of the destination private network terminal and the address of the destination switch; and determining that the destination telephone is in an off-hook mode;
所述发送端口,用于将所述目的专网终端的呼叫语音通过所述目的交换机发送至所述目的电话。The sending port is configured to send call voice of the destination private network terminal to the destination phone through the destination switch.
其中,所述处理器在确定所述目的电话处于摘机模式时,具体用于:The processor is specifically configured to: when determining that the destination phone is in an off-hook mode:
判断所述目的电话当前模式;Determining a current mode of the destination telephone;
当所述目的电话当前模式为摘机模式时,确定所述目的电话处于摘机模式;Determining that the destination phone is in an off-hook mode when the current mode of the destination phone is an off-hook mode;
当所述目的电话当前模式为空闲模式时,生成摘机指令;Generating an off-hook instruction when the current mode of the destination phone is an idle mode;
将所述摘机指令通过所述目的交换机发送至所述目的电话; Sending the off-hook command to the destination phone through the destination switch;
接收到所述目的交换机返回的所述目的电话处于摘机模式的消息时,确定所述目的电话处于摘机模式。When receiving the message that the destination phone returned by the destination switch is in the off-hook mode, it is determined that the destination phone is in the off-hook mode.
优选地,所述处理器还用于:Preferably, the processor is further configured to:
接收到多个专网终端向所述目的电话发送的呼叫语音包时,将所述多个专网终端分别对应的呼叫语音包进行混音,生成混音语音包;Receiving a call voice packet sent by the plurality of private network terminals to the destination telephone, mixing the call voice packets corresponding to the plurality of private network terminals to generate a mixed voice packet;
所述发送端口还用于:将所述混音语音包通过所述目的交换机发送至所述目的电话。The sending port is further configured to: send the mixed voice packet to the destination phone through the destination switch.
经由上述的技术方案可知,与现有技术相比,本申请实施例提供的一种电话呼叫系统,调度网关监听到目的专网终端的呼叫语音包,会将该呼叫语音包发送至调度服务器,调度服务器根据预先存储的交换机地址、电话的呼叫号码与专网终端的标识的对应关系,确定出所述目的专网终端的标识对应的目的电话的呼叫号码和目的交换机的地址。并在确定出目的电话处于摘机模式时,将所述目的专网终端的呼叫语音包发送至所述目的交换机。也就是,当目的专网终端向目的电话发送呼叫语音包时,调度服务器就会将目的电话的状态设置为摘机模式,即目的电话自动摘机,不需要电话一端的用户人为摘机,避免了接通前存在丢失语音或者声音延迟问题,也提高了专网终端与电话建立呼叫的效率。According to the foregoing technical solution, compared with the prior art, in a telephone call system provided by the embodiment of the present application, the scheduling gateway listens to the call voice packet of the destination private network terminal, and sends the call voice packet to the scheduling server. The scheduling server determines the calling number of the destination telephone and the address of the destination switch corresponding to the identifier of the destination private network terminal according to the correspondence between the pre-stored switch address, the call number of the telephone, and the identifier of the private network terminal. And when it is determined that the destination phone is in the off-hook mode, the call voice packet of the destination private network terminal is sent to the destination switch. That is, when the destination private network terminal sends a call voice packet to the destination telephone, the dispatch server sets the state of the destination telephone to the off-hook mode, that is, the destination telephone automatically picks up the phone, and does not need the user at the telephone end to pick up the phone, avoiding There is a problem of lost voice or sound delay before the connection, and the efficiency of establishing a call between the private network terminal and the telephone is also improved.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本申请实施例提供的一种电话呼叫系统的结构示意图;1 is a schematic structural diagram of a telephone call system according to an embodiment of the present application;
图2为本申请实施例提供的一种电话呼叫系统中调度网关、调度服务器、目的交换机的信息交互的信令图;2 is a signaling diagram of information interaction between a scheduling gateway, a scheduling server, and a destination switch in a telephone call system according to an embodiment of the present disclosure;
图3为本申请实施例提供的一种电话呼叫系统中调度服务器的硬件结构图; 3 is a hardware structural diagram of a scheduling server in a telephone call system according to an embodiment of the present application;
图4为本申请实施例提供的一种电话呼叫方法的流程图;4 is a flowchart of a method for calling a phone according to an embodiment of the present application;
图5为本申请实施例提供的一种电话呼叫装置的结构图。FIG. 5 is a structural diagram of a telephone call device according to an embodiment of the present application.
为了引用和清楚起见,下文中使用的技术名词的说明、简写或缩写总结如下:For the sake of reference and clarity, the descriptions, abbreviations or abbreviations of the technical terms used below are summarized as follows:
TETRA:Trans European Trunked Radio,泛欧集群无线电;TETRA: Trans European Trunked Radio, pan-European trunked radio;
DMR:Digital Mobile Radio,数字移动对讲机;DMR: Digital Mobile Radio, digital mobile intercom;
PDT:Professional Digital Trunking,专业数字集群;PDT: Professional Digital Trunking, professional digital trunking;
IPPBX:HSS多媒体交换机;IPPBX: HSS multimedia switch;
HSS:Home Subscriber Server,归属签约用户服务器;HSS: Home Subscriber Server, home subscriber server;
IP:Voiceover Internet Protocol,网络电话;IP: Voiceover Internet Protocol, VoIP;
API:Application Programming Interface,应用程序编程接口。API: Application Programming Interface, application programming interface.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本申请实施例提供了一种电话呼叫系统,如图1所示,为电话呼叫系统的结构示意图。该电话呼叫系统包括:调度网关11、调度服务器12、目的交换机13。图1中还示出了目的电话14。The embodiment of the present application provides a telephone call system, as shown in FIG. 1 , which is a schematic structural diagram of a telephone call system. The telephone call system includes: a
从图1中可以看出调度网关11与调度服务器12之间通过IP网络进行通信;目的交换机13与目的电话14之间通过IP网络进行通信;调度服务器12与目的交换机13通过IP网络进行通信。It can be seen from FIG. 1 that the
下面结合图1,对调度网关11、调度服务器12、目的交换机13之间的信息交互进行介绍,如图2所示,为本申请实施例提供的一种电话呼叫系统中调度网关、调度服务器、目的交换机的信息交互的信令图。图2中还示出了目的电话14以及目的专网终端15。The following describes the information interaction between the
步骤S201:目的专网终端15发起呼叫请求。
Step S201: The destination
专网终端可以为DMR、TETRA终端、PDT终端。The private network terminal can be a DMR, a TETRA terminal, or a PDT terminal.
步骤S202:调度网关11监听到目的专网终端15的呼叫请求或呼叫语音包时,向调度服务器12发送该呼叫请求或呼叫语音包。Step S202: When the
该呼叫请求中携带有目的专网终端15的标识。也可以携带有目的专网终端15的呼叫语音包。或,调度网关11在监听到目的专网终端12发起呼叫请求后,再次监听目的专网终端的呼叫语音包。The call request carries the identifier of the destination
步骤S203:调度服务器12根据预先存储的交换机地址、电话的呼叫号码与专网终端的标识的对应关系,确定出所述目的专网终端的标识对应的目的电话的呼叫号码和目的交换机的地址。Step S203: The scheduling
步骤S204:调度服务器12确定目的电话14处于摘机模式。Step S204: The
调度服务器12确定目的电话14处于摘机模式的方式有多种,本申请实施例提供但不限于以下几种。There are various ways for the dispatching
第一种,在调度网关向调度服务器发送呼叫请求之前,调度服务器12已经将所有的电话均设置为摘机模式,也就是,专网终端与电话之间的连接一直是存在的。在这种情况下,电话一直处于摘机状态,会浪费电能。First, before the dispatching gateway sends a call request to the dispatching server, the dispatching
第二种,在调度服务器12确定出目的专网终端需要呼叫的目的电话后,再确定该目的电话处于摘机模式,具体步骤如下:Secondly, after the
步骤S2041:调度服务器12判断所述目的电话当前模式。Step S2041: The scheduling
步骤S2042:调度服务器12检测到所述目的电话当前模式为摘机模式时,确定所述目的电话处于摘机模式。Step S2042: When the
步骤S2043:调度服务器12检测到所述目的电话当前模式为空闲模式时,生成摘机指令。Step S2043: When the
摘机指令中携带有目的电话的标识或电话号码,以便使得目的交换机确定出当前需要哪个电话处于摘机模式。The off-hook command carries the identification or telephone number of the destination telephone to enable the destination switch to determine which telephone is currently in the off-hook mode.
步骤S2044:目的交换机13接收到所述调度服务器发送的摘机指令时,配置所述目的电话处于摘机模式,并将所述目的电话处于摘机模式的消息反馈至所述调度服务器。Step S2044: When receiving the off-hook command sent by the scheduling server, the
步骤S2045:调度服务器12接收到所述目的交换机返回的所述目的电话处于摘机模式的消息时,确定所述目的电话处于摘机模式。
Step S2045: When receiving the message that the destination phone returned by the destination switch is in the off-hook mode, the
由于步骤S2041至步骤S2045是可选步骤,因此在图2中用虚线框表示。Since steps S2041 through S2045 are optional steps, they are indicated by dashed boxes in FIG.
上属于调度网关可以为IP调度网关,调度服务器可以为IP调度服务器,目的电话可以为IP目的电话,目的交换机可以为IPPBX。上述“目的交换机13接收到所述调度服务器发送的摘机指令时,配置所述目的电话处于摘机模式”可以为目的交换机调用IP目的电话的API接口配置IP目的电话工作在摘机模式。The upper dispatching gateway may be an IP dispatching gateway, the dispatching server may be an IP dispatching server, the destination telephone may be an IP destination telephone, and the destination switch may be an IPPBX. When the
步骤S205:调度服务器12将所述目的专网终端的呼叫语音包发送至所述目的交换机。Step S205: The scheduling
可以理解的是,如果当前只有一个目的专网终端向目的电话发送呼叫语音包,那么调度服务器12可以将该呼叫语音包发送至目的交换机。It can be understood that if only one destination private network terminal currently sends a call voice packet to the destination telephone, the
步骤S206:目的交换机13用于将所述目的专网终端的呼叫语音包发送至所述目的电话。Step S206: The
本申请实施例提供的一种电话呼叫系统,调度网关11监听到目的专网终端15的呼叫语音包,会将该呼叫语音包发送至调度服务器12,调度服务器12根据预先存储的交换机地址、电话的呼叫号码与专网终端的标识的对应关系,确定出所述目的专网终端的标识对应的目的电话的呼叫号码和目的交换机的地址。并在确定出目的电话处于摘机模式时,将所述目的专网终端的呼叫语音包发送至所述目的交换机。也就是,当目的专网终端向目的电话发送呼叫语音包时,调度服务器就会将目的电话的状态设置为摘机模式,即目的电话自动摘机,不需要电话一端的用户人为摘机,避免了接通前存在丢失语音或者声音延迟问题,也提高了专网终端与电话建立呼叫的效率。In the telephone call system provided by the embodiment of the present application, the dispatching
可以理解的是,现有技术中同一个电话同时只能监听到一个或一组专网终端的通话。当其他专网终端也需要与该电话进行通话时,可能会出现占线失败的情况,需要等待该电话挂断当前的呼叫后,专网终端才能重新发起呼叫,这种情况可能会导致漏掉重要的呼叫语音包。可以理解的是,本申请实施例提供的电话呼叫系统中,若当前只有一个目的专网终端向目
的电话发送呼叫语音包,那么调度服务器12可以将该呼叫语音包发送至目的交换机。It can be understood that in the prior art, the same phone can only listen to one or a group of private network terminals at the same time. When other private network terminals also need to make a call with the phone, the busy connection may occur. After waiting for the call to hang up the current call, the private network terminal can initiate the call again. This situation may lead to the loss of important information. Call voice package. It can be understood that, in the telephone call system provided by the embodiment of the present application, if there is currently only one destination private network terminal to the destination
The telephone sends a call voice packet, and the
若当前有多个专网终端同时向一个电话发送呼叫语音包,即多个专网终端组成组呼时,调度服务器还用于:接收到多个专网终端向所述目的电话发送的呼叫语音包时,将所述多个专网终端分别对应的呼叫语音包进行混音,生成混音语音包;将所述混音语音包发送至目的交换机。相应的,目的交换机还用于:将所述混音语音包发送至目的电话。If there are multiple private network terminals simultaneously sending call voice packets to one phone at the same time, that is, when multiple private network terminals form a group call, the scheduling server is further configured to: receive call voices sent by the plurality of private network terminals to the destination telephone During the packet, the call voice packets corresponding to the plurality of private network terminals are mixed to generate a mixed voice packet; and the mixed voice packet is sent to the destination switch. Correspondingly, the destination switch is further configured to: send the mixed voice packet to the destination phone.
调度服务器中存储有交换机地址、电话的呼叫号码和专网终端的标识的对应关系,一个交换机地址可能对应一个或多个电话的呼叫号码,一个电话的呼叫号码可能对应一个或多个专网终端的标识。The scheduling server stores the correspondence between the switch address, the call number of the phone, and the identifier of the private network terminal. One switch address may correspond to the call number of one or more phones, and the call number of one phone may correspond to one or more private network terminals. Logo.
因此本申请实施例提供的电话呼叫系统支持同一时刻只有一个专网终端呼叫与其对应的电话(即个呼);也支持同一时刻多个专网终端呼叫同一电话(即组呼),即可以将多个专网终端的多路呼叫组成会议,将该会议的各个专网终端的呼叫语音包发送至同一电话。Therefore, the telephone call system provided by the embodiment of the present application supports that only one private network terminal calls the corresponding telephone (ie, one call) at the same time; and also supports multiple private network terminals calling the same telephone (ie, group call) at the same time, that is, Multiple calls of multiple private network terminals form a conference, and the call voice packets of each private network terminal of the conference are sent to the same telephone.
本申请实施例还提供了一种电话呼叫方法和电话呼叫装置,该方法或装置可以应用于调度服务器,调度服务器是提供计算服务的设备,如图3所示,调度服务器可以包括处理器31、存储器32、接收端口33和发送端口34等。The embodiment of the present application further provides a telephone call method and a telephone call device. The method or device may be applied to a scheduling server. The scheduling server is a device that provides a computing service. As shown in FIG. 3, the scheduling server may include a
存储器32可用于存储软件程序以及模块,处理器31通过运行存储在存储器32的软件程序以及模块,从而执行调度服务器的各种功能应用以及数据处理。存储器32可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如确定所述目的电话处于摘机模式的功能)等;存储数据区可存储根据调度服务器的使用所创建的数据(比如交换机地址、电话的呼叫号码和专网终端的标识的对应关系等)等。此外,存储器32还可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
接收端口33可以用于接收其他终端或服务器的信息(例如调度网关发
送的呼叫请求或呼叫语音包),并将其发送至处理器31。The receiving
发送端口34可以用于将调度服务器的消息(例如呼叫语音包)和指令(例如,摘机指令)发送给其他终端或服务器。The transmit
处理器31是调度服务器的控制中心,利用各种接口和线路连接整个调度服务器的各个部分,通过运行或执行存储在存储器32内的软件程序和/或模块,以及调用存储在存储器2内的数据,执行调度服务器的各种功能和处理数据,从而对调度服务器进行整体监控。例如,根据所述存储器存储的交换机地址、电话的呼叫号码与专网终端的标识的对应关系,以及所述接收端口接收的所述目的专网的呼叫语音包和所述目的专网终端的标识,确定出所述目的专网终端的标识对应的目的电话的呼叫号码和目的交换机的地址。The
下面结合图3中的硬件结构,对本申请实施例提供的电话呼叫方法进行说明。请参阅图4,为本申请实施例提供的一种电话呼叫方法的流程图,该方法可以应用于如图2和图3所示的调度服务器,该方法包括:The telephone call method provided by the embodiment of the present application is described below with reference to the hardware structure in FIG. FIG. 4 is a flowchart of a method for calling a phone according to an embodiment of the present application. The method may be applied to a scheduling server as shown in FIG. 2 and FIG. 3, where the method includes:
步骤S401:接收调度网关监听到的目的专网终端的呼叫语音包。Step S401: Receive a call voice packet of the destination private network terminal monitored by the scheduling gateway.
步骤S401可以是接收端口33执行的。Step S401 may be performed by the receiving
步骤S402:根据预先存储的交换机地址、电话的呼叫号码与专网终端的标识的对应关系,确定出所述目的专网终端的标识对应的目的电话的呼叫号码和目的交换机的地址。Step S402: Determine, according to the pre-stored switch address, the correspondence between the call number of the telephone and the identifier of the private network terminal, the call number of the destination telephone and the address of the destination switch corresponding to the identifier of the destination private network terminal.
交换机地址、电话的呼叫号码与专网终端的标识的对应关系可以预先存储在存储器32中,步骤S402可以是处理器31执行的。The correspondence between the switch address, the call number of the telephone, and the identifier of the private network terminal may be stored in the
步骤S403:确定所述目的电话处于摘机模式。Step S403: determining that the destination telephone is in an off-hook mode.
步骤S403可以是处理器31执行的。Step S403 may be performed by the
步骤S404:将所述目的专网终端的呼叫语音通过所述目的交换机发送至所述目的电话。Step S404: Send the call voice of the destination private network terminal to the destination telephone through the destination switch.
步骤S404可以是发送端口34执行的。Step S404 may be performed by the transmitting
上述方法步骤的详细说明,请参阅图2中对调度服务器的说明,在此不再赘述。 For a detailed description of the foregoing method steps, refer to the description of the scheduling server in FIG. 2, and details are not described herein again.
在本申请实施例提供的电话呼叫方法实施例中,确定所述目的电话处于摘机模式有多种实现方式,具体如下:In the embodiment of the telephone call method provided by the embodiment of the present application, there are multiple implementation manners for determining that the destination telephone is in the off-hook mode, as follows:
第一种,在调度网关发送呼叫请求之前,调度服务器12(如图2和图3所示)已经将所有的电话均设置为摘机模式,也就是,专网终端与电话之间的连接一直是存在的。在这种情况下,电话一直处于摘机状态,会浪费电能。First, before the dispatching gateway sends a call request, the dispatching server 12 (shown in Figures 2 and 3) has set all the phones to the off-hook mode, that is, the connection between the private network terminal and the telephone has been It exists. In this case, the phone is always off-hook and wastes power.
第二种,调度服务器12(如图2和图3所示)确定该目的电话处于摘机模式,具体步骤如下:Second, the dispatch server 12 (shown in Figures 2 and 3) determines that the destination phone is in the off-hook mode. The specific steps are as follows:
判断所述目的电话当前模式。Determining the current mode of the destination phone.
当所述目的电话当前模式为摘机模式时,确定所述目的电话处于摘机模式。When the current mode of the destination phone is the off-hook mode, it is determined that the destination phone is in an off-hook mode.
当所述目的电话当前模式为空闲模式时,生成摘机指令。An off-hook instruction is generated when the current mode of the destination phone is the idle mode.
将所述摘机指令通过所述目的交换机发送至所述目的电话。And sending the off-hook command to the destination phone through the destination switch.
接收到所述目的交换机返回的所述目的电话处于摘机模式的消息时,确定所述目的电话处于摘机模式。When receiving the message that the destination phone returned by the destination switch is in the off-hook mode, it is determined that the destination phone is in the off-hook mode.
可以理解的是,现有技术中同一个电话同时只能监听到一个或一组专网终端的通话。当其他专网终端也需要与该电话进行通话时,可能会出现占线失败的情况,需要等待该电话挂断当前的呼叫后,专网终端才能重新发起呼叫,这种情况可能会导致漏掉重要的呼叫语音包。可以理解的是,本申请实施例提供的电话呼叫方法中,若当前只有一个目的专网终端向目的电话发送呼叫语音包,那么调度服务器12可以将该呼叫语音包发送至目的交换机。It can be understood that in the prior art, the same phone can only listen to one or a group of private network terminals at the same time. When other private network terminals also need to make a call with the phone, the busy connection may occur. After waiting for the call to hang up the current call, the private network terminal can initiate the call again. This situation may lead to the loss of important information. Call voice package. It can be understood that, in the telephone call method provided by the embodiment of the present application, if only one destination private network terminal currently sends a call voice packet to the destination telephone, the
若当前有多个专网终端同时向一个电话发送呼叫语音包,即多个专网终端组成组呼时,本申请实施例提供的电话呼叫方法还包括:接收到多个专网终端向所述目的电话发送的呼叫语音包时,将所述多个专网终端分别对应的呼叫语音包进行混音,生成混音语音包;将所述混音语音包通过所述目的交换机发送至所述目的电话。If a plurality of private network terminals send a call voice packet to a telephone at the same time, that is, when the plurality of private network terminals form a group call, the telephone call method provided by the embodiment of the present application further includes: receiving a plurality of private network terminals to the When the voice packet is sent by the destination telephone, the call voice packets corresponding to the plurality of private network terminals are mixed to generate a voice voice packet; and the voice voice packet is sent to the destination through the destination switch. phone.
调度服务器中存储有交换机地址、电话的呼叫号码和专网终端标识的 对应关系,一个交换机地址可能对应一个或多个电话的呼叫号码,一个电话的呼叫号码可能对应一个或多个专网终端的标识。The dispatch server stores the switch address, the call number of the phone, and the private network terminal identifier. Corresponding relationship, a switch address may correspond to the call number of one or more phones, and the call number of one phone may correspond to the identifier of one or more private network terminals.
因此本申请实施例提供的电话呼叫系统支持同一时刻只有一个专网终端呼叫与其对应的电话(即个呼);也支持同一时刻多个专网终端呼叫同一电话(即组呼),即将多个专网终端的多路呼叫组成会议,将该会议的各个专网终端的呼叫语音包发送至同一电话。Therefore, the telephone call system provided by the embodiment of the present application supports that only one private network terminal calls the corresponding telephone (ie, one call) at the same time; and also supports multiple private network terminals to call the same telephone (ie, group call) at the same time, that is, multiple The multi-way call of the private network terminal forms a conference, and the call voice packets of each private network terminal of the conference are sent to the same telephone.
该电话呼叫装置可应用于如图2和图3所示的调度服务器,该电话呼叫装置的结构如图5所示,电话呼叫装置包括:第一接收模块501、第一确定模块502、第二确定模块503以及第一发送模块504,其中:The telephone call device can be applied to the dispatching server as shown in FIG. 2 and FIG. 3. The structure of the telephone call device is as shown in FIG. 5. The telephone call device includes: a
第一接收模块501,用于接收调度网关监听到的目的专网终端的呼叫语音包。The
第一确定模块502,用于根据预先存储的交换机地址、电话的呼叫号码与专网终端的标识的对应关系,确定出所述目的专网终端的标识对应的目的电话的呼叫号码和目的交换机的地址。The first determining
第二确定模块503,用于确定所述目的电话处于摘机模式。The second determining
第一发送模块504,用于将所述目的专网终端的呼叫语音通过所述目的交换机发送至所述目的电话。The
上述模块的详细说明,请参阅图2中对调度服务器的说明,在此不再赘述。For a detailed description of the above modules, refer to the description of the scheduling server in FIG. 2, and details are not described herein again.
上述第一接收模块501、第一确定模块502、第二确定模块503以及第一发送模块504可以存储在存储器32中,处理器31调用存储器32存户的各个功能模块,来实现图2中所示的调度服务器的各种功能。The
本申请实施例提供的电话呼叫装置中,第二确定模块可以有多种结构,具体如下:In the telephone call device provided by the embodiment of the present application, the second determining module may have multiple structures, as follows:
第一种,第二确定模块包括:The first type, the second determining module comprises:
设置模块,用于将各个电话设置为摘机模式。Set up the module to set each phone to the off-hook mode.
在调度网关向调度服务器发送呼叫请求之前,调度服务器12中的设置
模块已经将所有的电话均设置为摘机模式,也就是,专网终端与电话之间的连接一直是存在的。在这种情况下,电话一直处于摘机状态,会浪费电能。Scheduling settings in
第二种,第二确定模块包括:Second, the second determining module includes:
判断单元,用于判断所述目的电话当前模式;第一确定单元,用于当所述目的电话当前模式为摘机模式时,确定所述目的电话处于摘机模式;生成单元,用于当所述目的电话当前模式为空闲模式时,生成摘机指令;发送单元,用于将所述摘机指令通过所述目的交换机发送至所述目的电话;第二确定单元,用于接收到所述目的交换机返回的所述目的电话处于摘机模式的消息时,确定所述目的电话处于摘机模式。a determining unit, configured to determine a current mode of the destination phone; a first determining unit, configured to: when the current mode of the destination phone is an off-hook mode, determine that the destination phone is in an off-hook mode; When the current mode of the phone is an idle mode, an off-hook command is generated; a sending unit is configured to send the off-hook command to the destination phone through the destination switch; and a second determining unit is configured to receive the destination When the destination phone returned by the switch is in the off-hook mode, it is determined that the destination phone is in the off-hook mode.
可以理解的是,现有技术中同一个电话同时只能监听到一个或一组专网终端的通话。当其他专网终端也需要与该电话进行通话时,可能会出现占线失败的情况,需要等待该电话挂断当前的呼叫后,专网终端才能重新发起呼叫,这种情况可能会导致漏掉重要的呼叫。可以理解的是,本申请实施例提供的电话呼叫装置中,若当前只有一个目的专网终端向目的电话发送呼叫语音包,那么调度服务器12可以将该呼叫语音包发送至目的交换机。It can be understood that in the prior art, the same phone can only listen to one or a group of private network terminals at the same time. When other private network terminals also need to make a call with the phone, the busy connection may occur. After waiting for the call to hang up the current call, the private network terminal can initiate the call again. This situation may lead to the loss of important information. Call. It can be understood that, in the telephone call device provided by the embodiment of the present application, if only one destination private network terminal currently sends a call voice packet to the destination telephone, the
若当前有多个专网终端同时向一个电话发送呼叫语音包,即多个专网终端组成组呼时,电话呼叫装置还包括:第二接收模块,用于接收到多个专网终端向所述目的电话发送的呼叫语音包时,将所述多个专网终端分别对应的呼叫语音包进行混音,生成混音语音包;第二发送模块,用于将所述混音语音包通过所述目的交换机发送至所述目的电话。If a plurality of private network terminals currently send call voice packets to a telephone at the same time, that is, when the plurality of private network terminals form a group call, the telephone call device further includes: a second receiving module, configured to receive the plurality of private network terminals When the voice packet sent by the destination phone is described, the call voice packets corresponding to the plurality of private network terminals are mixed to generate a mixed voice packet, and the second sending module is configured to pass the voice voice packet The destination switch is sent to the destination phone.
调度服务器中存储有交换机地址、电话的呼叫号码和专网终端标识的对应关系,一个交换机地址可能对应一个或多个电话的呼叫号码,一个电话的呼叫号码可能对应一个或多个专网终端的标识。The scheduling server stores the correspondence between the switch address, the call number of the telephone, and the private network terminal identifier. One switch address may correspond to the call number of one or more telephones, and the call number of one telephone may correspond to one or more private network terminals. Logo.
因此本申请实施例提供的电话呼叫系统支持同一时刻只有一个专网终端呼叫与其对应的电话(即个呼);也支持同一时刻多个专网终端呼叫同一电话(即组呼),即将多个专网终端的多路呼叫组成会议,将该会议的各个 专网终端的呼叫语音包发送至同一电话。Therefore, the telephone call system provided by the embodiment of the present application supports that only one private network terminal calls the corresponding telephone (ie, one call) at the same time; and also supports multiple private network terminals to call the same telephone (ie, group call) at the same time, that is, multiple Multi-way calls of the private network terminal form a conference, each of the conferences The call voice packet of the private network terminal is sent to the same phone.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。It should be noted that each embodiment in the specification is described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the embodiments are referred to each other. can.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but the scope of the invention is to be accorded
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2016/101901 WO2018068230A1 (en) | 2016-10-12 | 2016-10-12 | Telephone call method, apparatus and system, and scheduling server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2016/101901 WO2018068230A1 (en) | 2016-10-12 | 2016-10-12 | Telephone call method, apparatus and system, and scheduling server |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018068230A1 true WO2018068230A1 (en) | 2018-04-19 |
Family
ID=61905078
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/101901 Ceased WO2018068230A1 (en) | 2016-10-12 | 2016-10-12 | Telephone call method, apparatus and system, and scheduling server |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2018068230A1 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002078306A2 (en) * | 2001-03-23 | 2002-10-03 | Siemens Information And Communication Networks, Inc. | Transmitting over a private network accurate emergency location identification numbers (elins) from behind a multi-line telephone system (mlts) utilizing port equipment numbers |
| CN1392702A (en) * | 2001-06-14 | 2003-01-22 | 吴明玉 | Special office communication server and its on-line system and data transmission method |
| CN105450820A (en) * | 2014-08-26 | 2016-03-30 | 深圳市鑫海诺科技有限公司 | Method and system for establishing push-to-talk hands-free call |
-
2016
- 2016-10-12 WO PCT/CN2016/101901 patent/WO2018068230A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002078306A2 (en) * | 2001-03-23 | 2002-10-03 | Siemens Information And Communication Networks, Inc. | Transmitting over a private network accurate emergency location identification numbers (elins) from behind a multi-line telephone system (mlts) utilizing port equipment numbers |
| CN1392702A (en) * | 2001-06-14 | 2003-01-22 | 吴明玉 | Special office communication server and its on-line system and data transmission method |
| CN105450820A (en) * | 2014-08-26 | 2016-03-30 | 深圳市鑫海诺科技有限公司 | Method and system for establishing push-to-talk hands-free call |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10826957B2 (en) | Instant communications system having established communication channels between communication devices | |
| US7580706B2 (en) | Methods for enhanced communication between a plurality of communication systems | |
| CN102893572B (en) | Register a client computing device for an online communication session | |
| US7983660B2 (en) | Mobile telephone device identifying whether incoming wireless call anchored by an enhanced services server | |
| US20220321631A1 (en) | Instant communications system having established communication channels between communication devices | |
| WO2008116408A1 (en) | System, equipment and method for implementing special calling services | |
| CN112953925B (en) | Real-time audio and video communication system and method based on SIP (Session initiation protocol) and RTC (real time communication) network | |
| US20130007291A1 (en) | MEDIA INTERWORKING IN IPv4 AND IPv6 SYSTEMS | |
| US7698437B2 (en) | Method and apparatus for multiple audio connections over networks | |
| CN103428057B (en) | Way system in the arenas of IP based network | |
| CN107124706B (en) | A method, device and system for transferring calls between mobile phones | |
| JP2008535408A (en) | Connecting packet-based calls to multiple devices | |
| CN102355713A (en) | Calling method in voice communication and mobile terminal | |
| CN101883116B (en) | Call processing method and media gateway | |
| CN105516123B (en) | The method and landing telephone service server of the networking telephone and telephone network telephone communication | |
| CN102118354A (en) | Call center cooperative implementation method and call center cooperative system | |
| CN114124906A (en) | Gateway apparatus, method for gateway apparatus, computer-readable medium, and apparatus | |
| JP4861491B2 (en) | Telephone system, telephone exchange apparatus, and connection control method used in telephone exchange apparatus | |
| CN100508637C (en) | Active group call listening method and system | |
| WO2018068230A1 (en) | Telephone call method, apparatus and system, and scheduling server | |
| CN110809242B (en) | Media interaction method under DECT network cluster | |
| CN106453796B (en) | Phone call method, device, system and dispatch server | |
| CN202931381U (en) | Power communication scheduling soft switch system | |
| CN107770175A (en) | A kind of soft switch method of calling and system | |
| WO2011147321A1 (en) | Method, device and system for uniform number communication on a home gateway |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16918545 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 4.12.2019) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16918545 Country of ref document: EP Kind code of ref document: A1 |