WO2017004780A1 - Method, apparatus and system for using mobile terminal as handset of ip telephone set - Google Patents

Method, apparatus and system for using mobile terminal as handset of ip telephone set Download PDF

Info

Publication number
WO2017004780A1
WO2017004780A1 PCT/CN2015/083415 CN2015083415W WO2017004780A1 WO 2017004780 A1 WO2017004780 A1 WO 2017004780A1 CN 2015083415 W CN2015083415 W CN 2015083415W WO 2017004780 A1 WO2017004780 A1 WO 2017004780A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
phone
mobile terminal
audio data
peer
Prior art date
Application number
PCT/CN2015/083415
Other languages
French (fr)
Chinese (zh)
Inventor
张�浩
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/083415 priority Critical patent/WO2017004780A1/en
Publication of WO2017004780A1 publication Critical patent/WO2017004780A1/en

Links

Images

Classifications

    • H04B5/48

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, apparatus, and system for implementing a mobile terminal as a handle of an IP (Internet Protocol) telephone.
  • IP Internet Protocol
  • IP phones have been widely used in enterprises. When users use IP phones to communicate, they often need to leave the location where the IP phone is located. For the convenience of users, you can equip the IP phone with a Bluetooth headset, but you need to purchase the Bluetooth headset separately. The hardware cost is high.
  • the present invention provides a method, device and system for implementing a mobile terminal as a handle of an IP telephone, which solves the problem of high hardware cost existing in the prior art.
  • a method for implementing a mobile terminal as a handle of an IP phone is provided, and the method is applied to an IP phone that communicates with a communication peer, including:
  • the IP phone When the IP phone detects an indication signal for indicating that the mobile terminal is used as a handle of the IP phone, establishing a communication channel based on a short-range wireless communication connection with the mobile terminal, and passing through the communication channel Sending, to the mobile terminal, a startup indication, where the startup indication is used to instruct the mobile terminal to play audio data from the IP phone received through the communication channel;
  • the IP phone receives the audio data of the communication peer end, and sends the audio data received from the communication peer end to the mobile terminal through the communication channel.
  • the starting indication is further used to indicate that the mobile terminal sends the audio data collected by the mobile terminal to the IP phone by using the communication channel; After the mobile terminal sends the activation indication, the IP phone further receives audio data from the mobile terminal through the communication channel, and sends the audio data to the communication peer.
  • the method further includes: receiving, by the communication channel, the IP phone from the mobile terminal Controlling a command of the terminal, and controlling a communication process between the IP phone and the communication peer according to the control command.
  • control instruction is specifically a communication end instruction
  • controlling the IP phone and the communication pair according to the control instruction The communication process between the terminals specifically includes: sending the on-hook signaling to the communication peer according to the communication end instruction to end communication with the communication peer; or
  • the control instruction is specifically a mute command or a mute command; the controlling the communication process between the IP phone and the communication peer according to the control instruction specifically includes: muteing the communication according to the mute command Operating, or unmuting the communication according to the unmute command; or
  • the control instruction is specifically a dialing instruction, and the dialing instruction includes a DTMF signal to be dialed; and the controlling the communication process between the IP phone and the communication peer according to the control instruction specifically includes: according to the dialing The instruction sends the DTMF signal to the communication peer for secondary dialing.
  • the method further includes: the IP phone passing through the communication channel
  • the mobile terminal sends related information about communication between the IP phone and the communication peer, and the related information of the communication includes duration of the communication and/or information of the communication peer.
  • the audio data received by the IP phone from the communication peer end is utilized by the The IP phone is encoded with the audio format negotiated by the communication peer;
  • the method further includes: determining, by the IP phone, whether the mobile terminal supports the audio format;
  • the IP phone sends the audio data received from the communication peer to the mobile terminal by using the communication channel, and specifically includes: when the IP phone determines that the mobile terminal supports the audio format, the IP phone receives the audio data. Transmitting, by the communication peer, audio data encoded by using the audio format to the mobile terminal; or, when determining that the mobile terminal does not support the audio format, receiving The audio data encoded by the audio format is decoded by the communication peer end, and the decoded audio data is sent to the mobile terminal.
  • the IP phone determines that the mobile terminal supports the audio format
  • the IP phone carries the An audio format to instruct the mobile terminal to encode audio data to be transmitted to the IP phone using the audio format.
  • the method further includes: the IP phone receiving the When the communication peer sends the on-hook signaling, stopping sending audio data to the mobile terminal, and sending a stop indication to the mobile terminal to instruct the mobile terminal to stop collecting audio data.
  • a method for implementing a mobile terminal as a handle of an IP phone including:
  • the mobile terminal establishes a communication channel based on a short-range wireless communication connection with the IP phone;
  • the mobile terminal Receiving, by the mobile terminal, an initiation indication from the IP phone, the mobile terminal intercepts a communication channel established between the IP phone and the mobile terminal, and receives audio from the IP phone. The audio data is played while the data is being played.
  • the method further includes: when receiving the startup indication, the mobile terminal collects audio data and sends the collected audio data to the communication channel to The IP phone.
  • the method further includes: when the mobile terminal receives the startup indication, the mobile terminal Displaying a control button for controlling a communication process between the IP phone and a communication peer currently communicating with the IP phone, and detecting an indication signal triggered by the operation of the control button And transmitting, by the communication channel, a control instruction generated according to the indication signal to the IP phone, to instruct the IP phone to control a communication process between the IP phone and the communication peer.
  • control instruction is specifically a communication end instruction, and is used to indicate that the IP phone ends and the communication peer end Communication; or,
  • the control command is specifically a mute command or a mute command, and is used to instruct the IP phone to perform a mute operation or a mute operation on the communication; or
  • the control command is specifically a dialing instruction including a DTMF signal, and is used to instruct the IP phone to send the DTMF signal to the communication peer to perform secondary dialing.
  • the method further includes: the mobile terminal receiving, by using the communication channel, the location sent by the IP phone Determining information related to communication between the IP phone and the communication peer, and displaying related information of the communication on an interface of the mobile terminal, where the related information of the communication includes a duration of the communication and/or Or the information of the communication peer.
  • the mobile terminal further comprises, by using the communication channel, The stop indication sent by the IP phone, and stopping collecting audio data according to the stop indication.
  • an IP phone in a third aspect, includes a handle management unit, a connection establishing unit, and a communication unit;
  • the handle management unit is configured to instruct the connection establishing unit to establish a short-range wireless communication connection with the mobile terminal when detecting an indication signal for indicating that the mobile terminal is used as a handle of the IP phone a communication channel, and sending, by the communication channel, a startup indication to the mobile terminal, the activation indication being used to instruct the mobile terminal to play audio data from the IP phone received through the communication channel;
  • the communication unit is configured to receive audio data of a communication peer end that communicates with the IP phone, and send audio data received from the communication peer end to the mobile terminal by using the communication channel.
  • the starting indication is further used to indicate that the mobile terminal sends the audio data collected by the mobile terminal to the IP phone by using the communication channel;
  • the communication unit is further configured to receive audio data from the mobile terminal through the communication channel, and send the audio media to the communication peer.
  • the IP phone further includes a control unit, where the control unit is configured to receive through the communication channel When a control command from the mobile terminal is received, a communication process between the IP phone and the communication peer is controlled according to the control command.
  • control instruction is specifically a communication end instruction
  • control unit is specifically configured to send the communication according to the communication end instruction.
  • the peer sends the on-hook signaling to end the communication with the communication peer; or
  • the control instruction is specifically a mute command or a mute command
  • the control unit is specifically configured to perform a mute operation on the voice communication according to the mute command, or perform a mute operation on the communication according to the unmute command. ;or,
  • the control command is specifically a dialing instruction, and the dialing instruction includes a DTMF signal to be dialed, and the control unit is specifically configured to send the DTMF signal to the communication peer according to the dialing instruction to perform secondary dialing.
  • the handle management unit is further configured to acquire the IP phone and the communication Information related to communication between the peers, and transmitting, by the communication channel, related information of communication between the IP phone and the communication peer to the mobile terminal, the related information of the communication including the communication The length of time that has been made and/or the information of the communication peer.
  • the audio data received by the communication unit from the communication peer end is utilized by the The IP phone is encoded with the audio format negotiated by the communication peer;
  • the handle management unit is further configured to determine whether the mobile terminal supports the audio format
  • the communication unit is specifically configured to: when the handle management unit determines that the mobile terminal supports the audio format, send, by the mobile terminal, audio data encoded by using the audio format to the mobile terminal. Or, when the handle management unit determines that the mobile terminal does not support the audio format, decodes audio data encoded by the audio format received by the communication peer, and decodes the audio data. Send to the mobile terminal.
  • the handle management unit is further configured to: when determining that the mobile terminal supports the audio format, in the startup indication
  • the audio format is carried to indicate that the mobile terminal encodes audio data to be sent to the IP phone by using the audio format.
  • the handle management unit is further configured to: receive an on-hook message sent by the communication peer In response to the time, a stop indication is sent to the mobile terminal to instruct the mobile terminal to stop collecting audio data.
  • a fourth aspect provides a mobile terminal, including: a connection establishing unit and a communication unit;
  • the connection establishing unit is configured to establish a communication channel based on a short-range wireless communication connection between the IP phone and the IP phone;
  • the communication unit is configured to listen to the communication channel when receiving the activation indication from the IP phone by the communication channel established by the connection establishment unit, and receive audio data from the IP phone The audio data is played.
  • the communication unit is further configured to: when receiving the startup indication, collect audio data, and send the collected audio data to the IP by using the communication channel. Phone.
  • the mobile terminal further includes an interface interface unit;
  • the communication unit displays a control button on the interface of the mobile terminal through the interface interface unit when receiving the startup instruction, where the control button is used to control the IP phone and the current a communication process between the communication peers of the IP phone communication, and when the interface interface unit detects an indication signal triggered by the operation of the control button, generates a control instruction according to the indication signal, and passes the communication Transmitting, by the channel, the control instruction to the IP phone, to instruct the IP phone to control a communication process between the IP phone and the communication peer end;
  • the interface interface unit is configured to display the control button on an interface of the mobile terminal, and is configured to detect an indication signal triggered by the operation of the control button.
  • the control instruction is specifically a communication end instruction, and is used to indicate that the IP phone ends communication with the communication peer; or
  • the control command is specifically a mute command or a mute command, and is used to instruct the IP phone to perform a mute operation or a mute operation on the voice communication; or
  • the control command is specifically a dialing instruction including a DTMF signal, and is used to instruct the IP phone to send the DTMF signal to the communication peer to perform secondary dialing.
  • the communication unit is further configured to receive, by using the communication channel, the IP sent by the IP phone Information related to communication between the phone and the communication peer, and displaying related information of the communication on the interface of the mobile terminal through the interface interface unit, the related information of the communication includes that the communication has been performed Length of time and/or information of the communication peer;
  • the interface interface unit is further configured to display related information of the communication on an interface of the mobile terminal.
  • the communication unit is further configured to receive, by using the communication channel, the stop sent by the IP phone Instruct to stop collecting audio data according to the stop indication.
  • the fifth aspect provides a communication system, comprising: the IP phone according to any one of the first to seventh aspects of the third aspect or the third aspect, and the fourth or fourth aspect the first A mobile terminal as described in any of the fifth possible implementation manners.
  • the mobile terminal can be used as the handle of the IP phone, and the Bluetooth headset can be configured to meet the requirement of short-distance leaving when communicating by using the IP phone, thereby solving the hardware cost of the prior art. problem.
  • FIG. 1 is a schematic structural diagram of a networking of a communication system according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method according to Embodiment 1 of the present invention.
  • 3A-3B are schematic diagrams of interfaces provided by Embodiment 1 of the present invention.
  • FIGS. 4A-4B are schematic diagrams of interface events provided by Embodiment 1 of the present invention.
  • FIGS. 5A-5B are schematic structural diagrams of an IP phone 500 according to Embodiment 2 of the present invention.
  • 6A-6B are schematic structural diagrams of a mobile terminal 600 according to Embodiment 3 of the present invention.
  • FIG. 7 is a schematic structural diagram of an IP phone 1000 according to Embodiment 4 of the present invention.
  • FIG. 8 is a schematic structural diagram of a mobile terminal 2000 according to Embodiment 5 of the present invention.
  • FIG. 9 is a schematic structural diagram of a communication system 5000 according to Embodiment 6 of the present invention.
  • FIG. 1 is a schematic structural diagram of a communication system 100 according to Embodiment 1 of the present invention.
  • the communication system 100 includes an IP phone 110, a mobile terminal 120, and a communication peer 130.
  • the mobile terminal 120 is a terminal having an audio data collection function, an audio data playing function, and a short-range wireless communication function (such as Bluetooth, wifi), and specifically may be a smart phone, a tablet computer, or the like.
  • the communication peer 130 is a device that communicates with the IP phone 110, and specifically may be another IP phone, another mobile terminal, a conference server, and a call. Called the central platform, IVR interactive voice response (IVR) equipment.
  • IVR IVR interactive voice response
  • Embodiment 1 of the present invention is a schematic flowchart of a method according to Embodiment 1 of the present invention.
  • the method of Embodiment 1 of the present invention can be applied to the communication system shown in FIG. 1.
  • the method provided in Embodiment 1 of the present invention includes:
  • Step S101 The IP phone establishes a communication connection with the communication peer and performs communication.
  • the IP phone can perform audio communication or audio and video communication with another IP phone or mobile terminal.
  • Step S102 The IP phone detects an indication signal for indicating that the mobile terminal is used as a handle of the IP phone.
  • the user can operate the physical button or Clicking this button triggers the indication signal. In general, the user will perform this operation when leaving the IP phone in a short distance.
  • Step S103 The IP phone establishes a communication channel based on a short-range wireless communication connection with the mobile terminal.
  • the short-range wireless communication connection may be specifically a Bluetooth connection, a wifi connection, or the like. Accordingly, the communication channel based on the short-range wireless communication connection may specifically be a socket (socket) channel based on a Bluetooth connection, and a wifi connection based on the wifi connection. Socket channel, etc.
  • the specific implementation manner may be that when the IP phone detects the indication signal, it starts to search for a nearby Bluetooth device, and when the mobile terminal is searched, the user confirms to establish a socket channel based on the Bluetooth connection with the mobile terminal.
  • Step S104 The IP phone sends an activation indication to the mobile terminal by using the communication channel, where the activation indication is used to instruct the mobile terminal to play audio data from the IP phone received through the communication channel, and And being used to instruct the mobile terminal to send the audio data collected by the mobile terminal to the IP phone through the communication channel.
  • the sending indication may be implemented by using the following implementation manner:
  • the IP phone directly sends the startup indication to the mobile terminal.
  • the mobile terminal may display a button option for the user to confirm whether to agree on the interface, and send a consent to the IP phone after detecting the confirmation operation performed by the user by operating the button option.
  • the IP phone performs the subsequent steps after receiving the confirmation response; and may also send a rejection response indicating that the user does not agree to the IP phone after detecting the rejection operation performed by the user by operating the button option.
  • the IP phone does not perform the subsequent steps after receiving the rejection response.
  • the IP phone sends a request message to the mobile terminal for requesting the mobile terminal as a handle of the IP phone, and the mobile terminal displays on the interface for the user to confirm whether to agree to
  • the mobile terminal serves as a button option of the handle of the IP phone, and after detecting the confirmation operation performed by the user by operating the button option, sends an acknowledgement response indicating the consent to the IP phone, and the IP phone sends the acknowledgement response after receiving the acknowledgement response.
  • the activation indication is initiated, or the activation response is received and acknowledged by the user.
  • the mobile terminal may further send a rejection response indicating that the user does not agree to the IP phone after detecting the rejection operation performed by the user by operating the button option, and the subsequent steps are not performed after the IP phone receives the rejection response. Perform the next steps.
  • the mobile terminal After receiving the start command, the mobile terminal starts to listen to the audio data sent by the IP phone through the communication channel, and may also start sending the collected audio data to the IP phone through the communication channel.
  • the IP phone sends the start command to the mobile terminal
  • the audio data received from the communication peer end is sent to the mobile terminal through the communication channel, and the received data through the communication channel may also be received.
  • the mobile terminal audio data is sent to the communication peer.
  • Step S105 The mobile terminal collects audio data and listens to the communication channel when receiving the startup instruction.
  • Step S106 The mobile terminal sends the collected audio data to the IP phone through the communication channel.
  • Step S107 The IP phone sends the audio data received through the communication channel to the communication peer.
  • Step S108 The IP phone receives the audio data sent by the communication peer.
  • Step S109 The IP phone sends the audio data received from the communication peer to the mobile terminal through the communication channel.
  • Step S110 The mobile terminal plays audio data from the IP phone received through the communication channel.
  • step S101 the IP phone negotiates with the communication peer to determine an audio format for the communication in the process of establishing the communication connection with the communication peer.
  • the audio data sent by the IP phone and the communication peer to each other through the communication connection is encoded by using the audio format, for example, the IP phone sends the communication pair to the communication pair in step S107.
  • the IP phone may determine whether the mobile terminal supports the audio format determined by the negotiation. Specifically, the audio format supported by the mobile terminal may be obtained from the mobile terminal, and it may be determined whether the audio format supported by the mobile terminal includes the audio format determined by the negotiation; or the mobile terminal may be Sending the negotiated determined audio format to the mobile terminal, the mobile terminal determining whether the audio format supported by the mobile terminal includes the negotiated determined audio format, and returning a determination result to the IP phone, the IP phone According to this, it can be determined whether the mobile terminal supports the audio format determined by the negotiation.
  • the audio format supported by the mobile terminal may be obtained from the mobile terminal, and it may be determined whether the audio format supported by the mobile terminal includes the audio format determined by the negotiation; or the mobile terminal may be Sending the negotiated determined audio format to the mobile terminal, the mobile terminal determining whether the audio format supported by the mobile terminal includes the negotiated determined audio format, and returning a determination result to the IP phone, the IP phone According to this, it can be determined whether the mobile terminal supports the audio format determined by the negotiation.
  • step S109 the IP phone directly forwards the audio data encoded by the audio end to be encoded by the communication peer to the mobile terminal.
  • the terminal correspondingly, the specific implementation of step S110 is that the mobile terminal decodes and receives the received audio data encoded by the audio format determined by the negotiation.
  • step S109 the IP phone receives the audio determined by the negotiation from the communication peer.
  • the format encoded audio data is decoded and the decoded audio data is transmitted to the mobile terminal.
  • the IP phone may further carry the negotiated determined audio format in the start indication of step S104 to instruct the mobile terminal to use the negotiated determined audio format. Encoding the audio data to be sent to the IP phone.
  • the specific implementation of step S106 is that the mobile terminal encodes the collected audio data by using the negotiated audio format, and sends the encoded audio data.
  • the specific implementation of step S107 is that the IP phone directly forwards the received encoded audio data to the communication peer.
  • the mobile terminal does not encode the collected audio data, but directly sends the collected original audio data to the IP phone, and accordingly, The IP phone encodes the received original audio data by using the negotiated audio format and sends the original audio data to the communication peer.
  • the IP phone may further send information related to communication between the communication peer to the mobile terminal.
  • the related information of the communication includes the duration of the communication and/or the information of the communication peer, and the information of the communication peer may include the number of the communication peer, and the information of the user of the communication peer (such as a user). Photo, name, department, etc.).
  • the IP phone carries related information of the communication in the startup instruction.
  • the duration that the communication has been performed is the difference between the time when the communication is started and the time when the IP phone transmits the duration, for example, the IP phone sends the mobile terminal to the mobile terminal 46 seconds after the start of the communication.
  • the duration is 46 seconds.
  • the information of the user of the communication peer may be pre-stored in the local address book of the IP phone, and correspondingly, the IP phone obtains the information of the user of the communication peer from the local address book and sends the information to the a mobile terminal; or may be stored on a management server for managing user information, and correspondingly, the IP phone obtains, by using the number of the communication peer, the information of the user of the communication peer to the management server.
  • the mobile terminal may be pre-stored in the local address book of the IP phone, and correspondingly, the IP phone obtains the information of the user of the communication peer from the local address book and sends the information to the a mobile terminal; or may be stored on a management server for managing user information, and correspondingly, the IP phone obtains, by using the number of the communication peer, the information of the user of the communication peer to the management server.
  • the mobile terminal may be pre-stored in the local address book of the IP phone, and correspondingly, the IP phone obtains the information of the user of the communication peer
  • the mobile terminal displays the related information of the communication to the interface, as shown in FIG. 3B. After the mobile terminal receives the length of time that the communication has been performed, the user can continue to count the duration and display the duration on the interface, and the user can know the duration of the communication currently being performed through the interface time of the mobile terminal. .
  • An example of a message format of the IP phone carrying the related information of the communication sent to the mobile terminal is as follows:
  • the mobile terminal may further display a control button on the interface, where the control button is used to control a communication process between the IP phone and the communication peer.
  • the user can control the communication process between the IP phone and the communication peer by operating the control button.
  • the user can end the communication between the IP phone and the communication peer by clicking the hang up button, by clicking the mute button to indicate that the communication is muted, by clicking the dial button. Make a second dial with the instructions.
  • the mobile terminal When detecting the indication signal triggered by the operation of the control button, the mobile terminal sends a control instruction generated according to the indication signal to the IP phone through the communication channel, to instruct the IP phone to control the IP The communication process between the phone and the communication peer.
  • the control instruction may be specifically implemented by an Attention (AT) instruction.
  • the AT command includes an msgtype field indicating a message type and an action field indicating an instruction function.
  • the value of the msgtype field of the extended AT command of the present invention is used to indicate that the message type of the AT command is communication control, and specifically, the string "callctrl" can be used.
  • Indicates that the value of the extended action field is used to indicate a specific communication control function, such as ending communication, mute, dialing, and specifically using a string "endcall", "mutecall", “DTMF” are indicated.
  • the control instruction may specifically be a communication end instruction, and correspondingly, the mobile terminal sends the communication end instruction to the IP phone, and the IP phone sends an on-hook message to the communication peer according to the communication end instruction.
  • the communication end instruction format implemented by extending the AT instruction is shown in the following table:
  • the control command may specifically be a mute command or a mute command, and correspondingly, the mobile terminal sends the mute command or the mute command to the IP phone, and the IP phone performs the communication according to the mute command.
  • Performing a mute operation that is, not transmitting audio data to the communication peer, or unmute the communication according to the unmute command, that is, transmitting audio data to the communication peer.
  • An example of a mute instruction format implemented by extending the AT instruction is shown in the following table:
  • the control instruction may further be a dialing instruction including a DTMF signal, and correspondingly, the mobile terminal sends the dialing instruction to the IP phone, and the IP phone sends the dialing instruction to the communication peer according to the dialing instruction.
  • the DTMF signal is used for secondary dialing.
  • the communication peer is an IVR device
  • the IVR device prompts the user to input numbers and/or characters, for example, “Please input the extension number”, “Dial 1 query phone bill, dial 2...”, “Please enter account number” Wait, the user responds by operating the dial button Entering a corresponding number and/or character into the keyboard, the mobile terminal carries a number or a character in the form of a DTMF signal in a dialing command, and sends the digital phone to the IP phone, and the IP phone uses the number and/or the digital signal in the form of the DTMF signal. Characters are sent to the IVR device for secondary dialing.
  • An example of a dialing instruction format implemented by extending the AT command is shown in the following table:
  • the user can use the mobile terminal to control the ongoing communication with the communication peer end on the IP phone, which is more flexible and convenient.
  • the IP phone may further send a stop indication to the mobile terminal when receiving the on-hook signaling sent by the communication peer to instruct the mobile terminal to stop collecting audio data.
  • IP phone and the communication peer interact with each other through a Session Initiation Protocol (SIP)
  • SIP Session Initiation Protocol
  • the on-hook signaling may specifically be a SIP BYE (goodbye) message.
  • an application that implements the handle function (hereinafter referred to as a handle application) can be installed and run on the mobile terminal.
  • the IP phone After the IP phone establishes a communication channel with the mobile terminal, the IP phone sends a startup command, audio data, and the like to the mobile terminal through the communication channel, where the application of the mobile terminal detects
  • the communication channel is monitored to obtain data sent by the IP phone to the mobile terminal, such as the above-mentioned startup command, audio data, etc., and the acquired data is used to implement the above functions, for example, after receiving When the activation indication is started, the monitoring of the communication channel is started, and the player is called to play audio data received through the communication channel, and an API (Application Programming Interface) provided by an operating system of the mobile terminal is invoked to utilize the mobile
  • the microphone of the terminal collects audio data and sends it to the communication channel through the communication channel
  • the IP phone displays related information and control buttons of the communication on an interface of the controller application, and further send
  • the interface related functions of the IP phone and the mobile terminal for example, click the Wireless Handle button on the IP phone to indicate that the mobile terminal is used as the handle of the IP phone, and click the “dial button” on the interface of the mobile terminal to perform the second dialing.
  • Displaying related information of the communication and the like on the interface of the mobile terminal, and adding an interactive response event corresponding to each button and a non-interactive display for displaying the related information in a program of the corresponding interface of the IP phone and the mobile terminal The program code that responds to events and events.
  • a "search for available device event" of the interactive response event type is added to the program of the corresponding interface of the IP phone, "Show available device events” and “Start handle events", when the user clicks the button, call “Search for available device events” to start searching for nearby Bluetooth devices, call “Show available devices events” to display the searched Bluetooth devices (including the mobile device)
  • the terminal establishes a communication channel with the mobile terminal after confirmation by the user, and invokes a “startup handle event” to send the activation indication to the mobile terminal.
  • a "communication information display event" of a non-interactive response event type is added to a program of a corresponding interface of the mobile terminal, when the communication is received.
  • the “communication information display event” is called to display the related information of the communication; in the program corresponding to the mobile terminal, the “hang up button”, the “mute/unmute button” and the “dial button” respectively add interactive Responding to the "communication end event", “mute/unmute event” and "secondary dialing event” of the event type, when the user detects the indication signal triggered by one of the buttons, the corresponding event is called and sent to the IP phone. Corresponding control commands.
  • Embodiment 2 of the present invention provides an IP phone 500.
  • the IP phone 500 includes: a handle management unit 501, a connection establishing unit 502, and a communication unit 503;
  • the handle management unit 501 is configured to, when detecting an indication signal for indicating that the mobile terminal is used as a handle of the IP phone, instruct the connection establishing unit 502 to establish a short-range wireless communication connection-based communication with the mobile terminal. And transmitting, by the communication channel, an activation indication to the mobile terminal, where the activation indication is used to instruct the mobile terminal to play audio data from the IP phone received through the communication channel;
  • the communication unit 503 is configured to receive audio data of a communication peer end that communicates with the IP phone, and send audio data received from the communication peer end to the mobile terminal by using the communication channel.
  • the activation indication may also be used to indicate that the mobile terminal sends the audio data collected by the mobile terminal to the IP phone through the communication channel; correspondingly, the communication unit 503 may further be configured to receive through the communication channel. Audio data from the mobile terminal and transmitting the audio medium to the communication peer.
  • the IP phone may further include a control unit 504, configured to control the IP phone according to the control command when receiving a control instruction from the mobile terminal through the communication channel.
  • a control unit 504 configured to control the IP phone according to the control command when receiving a control instruction from the mobile terminal through the communication channel.
  • the control instruction may be specifically a communication end instruction, and the control unit 504 is specifically configured to send the on-hook signaling to the communication peer according to the communication end instruction to end communication with the communication peer.
  • the control instruction may specifically be a mute command or a mute command, and the control unit 504 is specifically configured to perform a mute operation on the voice communication according to the mute command, or perform a mute operation on the communication according to the unmute command. .
  • the control instruction may specifically be a dialing instruction, where the dialing instruction includes a DTMF signal to be dialed, and the control unit 504 is specifically configured to send the DTMF signal to the communication peer to perform secondary dialing.
  • the handle management unit 501 is further configured to acquire information about communication between the IP phone and the communication peer, and send the IP phone and the communication peer to the mobile terminal by using the communication channel.
  • Information related to communication, the related information of the communication including that the communication has been performed Duration and/or information of the communication peer.
  • the duration in which the communication has been performed is specifically the difference between the time when the communication is started and the time when the IP phone transmits the related information.
  • the handle management unit 501 can specifically acquire the length of time that the communication has been performed to the communication unit 503. .
  • the information of the communication peer may include the number of the communication peer, the information of the user of the communication peer (such as the user's photo, name, department, etc.).
  • the handle management unit 501 can acquire the number of the communication peer to the communication unit 503.
  • the information of the user of the communication peer may be pre-stored in the local address book of the IP phone. Accordingly, the handle management unit 501 may use the number of the communication peer acquired from the communication unit 503 from the local address book. Obtaining information of the user of the communication peer.
  • the information of the communication peer may also be stored on a management server for managing user information. Accordingly, the handle management unit 501 may acquire the management server by using the number of the communication peer acquired from the communication unit 503. The information of the user at the opposite end of the communication.
  • the audio data received by the communication unit 503 from the communication peer is encoded in an audio format negotiated with the communication peer by the IP phone.
  • the handle management unit 501 is further configured to determine whether the mobile terminal supports the audio format.
  • the communication unit 503 is specifically configured to: when the handle management unit 501 determines that the mobile terminal supports the audio format, Transmitting audio data encoded by the audio format from the communication peer to the mobile terminal; or, when the handle management unit 501 determines that the mobile terminal does not support the audio format, receiving from the communication pair And decoding the audio data encoded by the audio format, and transmitting the decoded audio data to the mobile terminal.
  • the handle management unit 501 is further configured to: when determining that the mobile terminal supports the audio format, carry the audio format in the startup indication, to indicate that the mobile terminal uses the audio format to encode Audio data sent to the IP phone.
  • handle management unit 501 is further configured to: when receiving the on-hook signaling sent by the communication peer, send a stop indication to the mobile terminal to instruct the mobile terminal to stop collecting audio data.
  • the IP phone 500 described in Embodiment 2 of the present invention can be used to implement the foregoing Embodiment 1 method.
  • the mobile terminal can be used as the handle of the IP phone, and the Bluetooth headset can be configured to meet the requirement of short-distance leaving when communicating by using the IP phone, thereby solving the existing technology.
  • Embodiment 3 of the present invention provides a mobile terminal 600.
  • the mobile terminal 600 includes a connection establishing unit 601 and a communication unit 602.
  • the connection establishing unit 601 is configured to establish a communication channel based on the short-range wireless communication connection between the IP phone.
  • the IP phone and the communication peer have established a communication connection for communication.
  • the communication unit 602 is configured to listen to the communication channel when the activation indication from the IP phone is received by the communication channel established by the connection establishing unit 601, and play when receiving audio data from the IP phone The audio data.
  • the communication unit 602 is further configured to: when receiving the startup indication, collect audio data, and send the collected audio data to the IP phone through the communication channel, so that the IP phone will receive the The audio data of the mobile terminal is sent to the communication peer.
  • the communication unit specifically collects audio data by using a microphone provided by an operating system of the mobile terminal to utilize the microphone of the mobile terminal.
  • the mobile terminal further includes an interface interface unit 603.
  • the communication unit 602 is further configured to display, by the interface interface unit 603, a control button on the interface of the mobile terminal when receiving the startup indication, where the control button is used to control the IP phone with the current and the IP a communication process between the communication peers of the telephone communication, and when the interface interface unit 603 detects the indication signal triggered by the operation of the control button, generates a control instruction according to the indication signal, and sends the control instruction to the
  • the IP phone sends the control command to instruct the IP phone to control a communication process between the IP phone and the communication peer;
  • the interface interface unit 603 is configured to display the communication on an interface of the mobile terminal.
  • a control button for detecting an indication signal triggered by the operation of the control button.
  • the control instruction may specifically be a communication end instruction, and is used to indicate that the IP phone ends and The communication between the opposite ends of the communication.
  • the control command may specifically be a mute command or a mute command, and is used to instruct the IP phone to perform a mute operation or a mute operation on the communication.
  • the control instruction may specifically be a dialing instruction including a DTMF signal, and is used to instruct the IP phone to send the DTMF signal to the communication peer to perform secondary dialing.
  • the communication unit 602 is further configured to receive, by using the communication channel, information about communication between the IP phone and the communication peer end sent by the IP phone, and the interface interface unit 603 is at the mobile terminal by using the interface Information related to the communication is displayed on the interface, the related information of the communication includes a duration of the communication and/or information of the communication peer, and the duration of the communication is a time when the communication is started. The difference between the time when the IP phone sends the related information, and the interface interface unit 603 is further configured to display the related information of the communication on the interface of the mobile terminal.
  • the communication unit 602 is further configured to receive, by using the communication channel, a stop indication sent by the IP phone, and stop collecting audio data according to the stop indication.
  • the IP phone 500 described in Embodiment 3 of the present invention can be used to implement the method described in Embodiment 1 above.
  • the mobile terminal can be used as a handle of an IP phone, and the Bluetooth headset can be configured to meet the requirement of short-distance leaving when communicating by using an IP phone, thereby solving the prior art.
  • Embodiment 4 of the present invention provides an IP phone 1000.
  • the IP phone 1000 includes a processor 1010 and a memory 1020, wherein the processor 1010 and the memory are provided. 1020 between the two through the bus to complete communication.
  • the memory 1020 is configured to store computer operation instructions.
  • the memory 1020 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 1010 is configured to execute computer operation instructions stored in the memory 1020.
  • the processor 1010 may be a central processing unit (CPU), which is a computer core single. yuan.
  • the processor 1010 executes the computer operation instruction to cause the IP phone 1000 to perform the operations performed by the IP phone in the method described in Embodiment 1 above.
  • the mobile terminal can be used as the handle of the IP phone, and the Bluetooth headset can be configured to meet the requirement of short-distance leaving when communicating by using the IP phone, thereby solving the existing technology.
  • Embodiment 5 of the present invention provides a mobile terminal 2000.
  • the mobile terminal 2000 includes a processor 2010 and a memory 2020, wherein the processor 2010 and the memory Between 2020, communication between the two is completed through the bus.
  • the memory 2020 is configured to store computer operating instructions.
  • the memory 2020 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 2010 is configured to execute computer operation instructions stored in the memory 2020.
  • the processor 2010 may specifically be a central processing unit (CPU) and is a computer core unit.
  • the processor 2010 executes the computer operation instruction to cause the mobile terminal 2000 to perform the operations performed by the mobile terminal in the method described in Embodiment 1 above.
  • the mobile terminal can be used as a handle of an IP phone, and the Bluetooth headset can be configured to meet the requirement of short-distance leaving when communicating by using an IP phone, thereby solving the prior art.
  • Embodiment 6 of the present invention proposes a communication system 5000.
  • the communication system 5000 includes an IP phone 5010 and a mobile terminal 5020.
  • the IP phone 5010 may specifically be the IP phone 500 provided in Embodiment 2 or the IP phone 1000 provided in Embodiment 4.
  • the mobile terminal 5020 may specifically be the mobile terminal 600 provided in Embodiment 3 or the mobile terminal 2000 provided in Embodiment 3.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

Embodiments of the present invention provide a method, apparatus and system for using a mobile terminal as a handset of an IP telephone set. The method is applied to an IP telephone set communicating with a communication peer-end, and comprises: when an instruction signal used for instructing the use of a mobile terminal as a handset of an IP telephone set is detected, establishing a communication channel with the mobile terminal; sending a starting instruction to the mobile terminal through the communication channel, wherein the starting instruction is used for instructing the mobile terminal to play audio data received from the IP telephone set through the communication channel; and sending, to the mobile terminal through the communication channel, the audio data received from the communication peer-end. Accordingly, the mobile terminal can be used as the handset of the IP telephone set, and the requirements of leaving within a short distance even though a Bluetooth headset is not worn when the IP telephone set is used to perform communication, thereby resolving the problem of high hardware costs existing in the prior art.

Description

一种实现将移动终端作为IP话机的手柄的方法、装置和系统Method, device and system for realizing mobile terminal as handle of IP phone 技术领域Technical field
本发明涉及通信技术领域,特别涉及一种实现将移动终端作为IP(internet protocol,互联网协议)话机的手柄的方法、装置和系统。The present invention relates to the field of communications technologies, and in particular, to a method, apparatus, and system for implementing a mobile terminal as a handle of an IP (Internet Protocol) telephone.
背景技术Background technique
目前在企业内IP话机已经得到广泛的使用。用户在用IP话机进行通信时往往会需要短距离离开IP话机所在的位置,为了方便用户使用,可以为IP话机配备蓝牙耳机,但需要用户单独购买蓝牙耳机,硬件成本较高。At present, IP phones have been widely used in enterprises. When users use IP phones to communicate, they often need to leave the location where the IP phone is located. For the convenience of users, you can equip the IP phone with a Bluetooth headset, but you need to purchase the Bluetooth headset separately. The hardware cost is high.
发明内容Summary of the invention
本发明提供了一种实现将移动终端作为IP话机的手柄的方法、装置和系统,解决了现有技术中存在的硬件成本较高的问题。The present invention provides a method, device and system for implementing a mobile terminal as a handle of an IP telephone, which solves the problem of high hardware cost existing in the prior art.
第一方面,提供了一种实现将移动终端作为IP话机的手柄的方法,所述方法应用于与通信对端进行通信的IP话机,包括:In a first aspect, a method for implementing a mobile terminal as a handle of an IP phone is provided, and the method is applied to an IP phone that communicates with a communication peer, including:
所述IP话机在检测到用于指示将移动终端作为所述IP话机的手柄的指示信号时,建立与所述移动终端之间的基于短距离无线通信连接的通信通道,并通过所述通信通道向所述移动终端发送启动指示,所述启动指示用于指示所述移动终端播放通过所述通信通道接收的来自所述IP话机的音频数据;When the IP phone detects an indication signal for indicating that the mobile terminal is used as a handle of the IP phone, establishing a communication channel based on a short-range wireless communication connection with the mobile terminal, and passing through the communication channel Sending, to the mobile terminal, a startup indication, where the startup indication is used to instruct the mobile terminal to play audio data from the IP phone received through the communication channel;
所述IP话机接收所述通信对端的音频数据,并将接收自所述通信对端的音频数据通过所述通信通道发送给所述移动终端。The IP phone receives the audio data of the communication peer end, and sends the audio data received from the communication peer end to the mobile terminal through the communication channel.
在第一方面的第一种可能的实现方式中,所述启动指示还用于指示所述移动终端通过所述通信通道向所述IP话机发送所述移动终端采集的音频数据;所述向所述移动终端发送启动指示之后还包括,所述IP话机通过所述通信通道接收来自所述移动终端的音频数据,并将所述音频数据发送给所述通信对端。In a first possible implementation manner of the first aspect, the starting indication is further used to indicate that the mobile terminal sends the audio data collected by the mobile terminal to the IP phone by using the communication channel; After the mobile terminal sends the activation indication, the IP phone further receives audio data from the mobile terminal through the communication channel, and sends the audio data to the communication peer.
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述方法还包括,所述IP话机通过所述通信通道接收来自所述移 动终端的控制指令,并根据所述控制指令控制所述IP话机与所述通信对端之间的通信过程。With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation, the method further includes: receiving, by the communication channel, the IP phone from the mobile terminal Controlling a command of the terminal, and controlling a communication process between the IP phone and the communication peer according to the control command.
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述控制指令具体为通信结束指令;所述根据所述控制指令控制所述IP话机与所述通信对端之间的通信过程具体包括,根据所述通信结束指令向所述通信对端发送挂机信令以结束与所述通信对端之间的通信;或者,With reference to the second possible implementation manner of the first aspect, in a third possible implementation, the control instruction is specifically a communication end instruction, and the controlling the IP phone and the communication pair according to the control instruction The communication process between the terminals specifically includes: sending the on-hook signaling to the communication peer according to the communication end instruction to end communication with the communication peer; or
所述控制指令具体为静音指令或解除静音指令;所述根据所述控制指令控制所述IP话机与所述通信对端之间的通信过程具体包括,根据所述静音指令对所述通信进行静音操作,或根据所述解除静音指令对所述通信进行解除静音操作;或者,The control instruction is specifically a mute command or a mute command; the controlling the communication process between the IP phone and the communication peer according to the control instruction specifically includes: muteing the communication according to the mute command Operating, or unmuting the communication according to the unmute command; or
所述控制指令具体为拨号指令,所述拨号指令包括要拨打的DTMF信号;所述根据所述控制指令控制所述IP话机与所述通信对端之间的通信过程具体包括,根据所述拨号指令向所述通信对端发送所述DTMF信号以进行二次拨号。The control instruction is specifically a dialing instruction, and the dialing instruction includes a DTMF signal to be dialed; and the controlling the communication process between the IP phone and the communication peer according to the control instruction specifically includes: according to the dialing The instruction sends the DTMF signal to the communication peer for secondary dialing.
结合第一方面或第一方面的第一种至第三种任一可能的实现方式,在第四种可能的实现方式中,所述方法还包括,所述IP话机通过所述通信通道向所述移动终端发送所述IP话机与所述通信对端之间的通信的相关信息,所述通信的相关信息包括所述通信已进行的时长和/或所述通信对端的信息。With reference to the first aspect, or any one of the first to third possible implementation manners of the first aspect, in a fourth possible implementation, the method further includes: the IP phone passing through the communication channel The mobile terminal sends related information about communication between the IP phone and the communication peer, and the related information of the communication includes duration of the communication and/or information of the communication peer.
结合第一方面或第一方面的第一种至第四种任一可能的实现方式,在第五种可能的实现方式中,所述IP话机接收自所述通信对端的音频数据是利用所述IP话机与所述通信对端协商的音频格式编码的;With reference to the first aspect, or any one of the first to fourth possible implementation manners of the first aspect, in a fifth possible implementation, the audio data received by the IP phone from the communication peer end is utilized by the The IP phone is encoded with the audio format negotiated by the communication peer;
所述向所述移动终端发送启动指示之前还包括:所述IP话机判断所述移动终端是否支持所述音频格式;Before the sending the startup indication to the mobile terminal, the method further includes: determining, by the IP phone, whether the mobile terminal supports the audio format;
所述IP话机将接收自所述通信对端的音频数据通过所述通信通道发送给所述移动终端具体包括:所述IP话机在判断出所述移动终端支持所述音频格式时,将接收自所述通信对端的利用所述音频格式编码的音频数据发送给所述移动终端;或者,在判断出所述移动终端不支持所述音频格式时,对接收自所 述通信对端的利用所述音频格式编码的音频数据进行解码,并将解码后的音频数据发送给所述移动终端。The IP phone sends the audio data received from the communication peer to the mobile terminal by using the communication channel, and specifically includes: when the IP phone determines that the mobile terminal supports the audio format, the IP phone receives the audio data. Transmitting, by the communication peer, audio data encoded by using the audio format to the mobile terminal; or, when determining that the mobile terminal does not support the audio format, receiving The audio data encoded by the audio format is decoded by the communication peer end, and the decoded audio data is sent to the mobile terminal.
结合第一方面的第五种可能的实现方式,在第六种可能的实现方式中,所述IP话机在判断出所述移动终端支持所述音频格式时,在所述启动指示中携带所述音频格式,以指示所述移动终端利用所述音频格式编码要发送给所述IP话机的音频数据。With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner, when the IP phone determines that the mobile terminal supports the audio format, the IP phone carries the An audio format to instruct the mobile terminal to encode audio data to be transmitted to the IP phone using the audio format.
结合第一方面的第一种至第六种任一可能的实现方式,在第七种可能的实现方式中,所述向所述移动终端发送启动指示之后还包括,所述IP话机在接收到所述通信对端发送的挂机信令时,停止向所述移动终端发送音频数据,并向所述移动终端发送停止指示,以指示所述移动终端停止采集音频数据。With the first to sixth possible implementation manners of the first aspect, in a seventh possible implementation, after the sending the startup indication to the mobile terminal, the method further includes: the IP phone receiving the When the communication peer sends the on-hook signaling, stopping sending audio data to the mobile terminal, and sending a stop indication to the mobile terminal to instruct the mobile terminal to stop collecting audio data.
第二方面,提供了一种实现将移动终端作为IP话机的手柄的方法,包括:In a second aspect, a method for implementing a mobile terminal as a handle of an IP phone is provided, including:
移动终端建立与IP话机之间的基于短距离无线通信连接的通信通道;The mobile terminal establishes a communication channel based on a short-range wireless communication connection with the IP phone;
所述移动终端在通过所述通信通道接收到来自所述IP话机的启动指示时,监听所述IP话机与所述移动终端之间建立的通信通道,并在收到来自所述IP话机的音频数据时播放所述音频数据。Receiving, by the mobile terminal, an initiation indication from the IP phone, the mobile terminal intercepts a communication channel established between the IP phone and the mobile terminal, and receives audio from the IP phone. The audio data is played while the data is being played.
在第二方面的第一种可能的实现方式中,所述方法还包括,所述移动终端在接收到所述启动指示时,采集音频数据并通过所述通信通道将采集到的音频数据发送给所述IP话机。In a first possible implementation manner of the second aspect, the method further includes: when receiving the startup indication, the mobile terminal collects audio data and sends the collected audio data to the communication channel to The IP phone.
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述方法还包括,所述移动终端在接收到所述启动指示时在所述移动终端的界面上显示控制按钮,所述控制按钮用于控制所述IP话机与当前与所述IP话机通信的通信对端之间的通信过程,并在检测到操作所述控制按钮所触发的指示信号时,通过所述通信通道向所述IP话机发送根据所述指示信号生成的控制指令,以指示所述IP话机控制所述IP话机与所述通信对端之间的通信过程。 With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the method further includes: when the mobile terminal receives the startup indication, the mobile terminal Displaying a control button for controlling a communication process between the IP phone and a communication peer currently communicating with the IP phone, and detecting an indication signal triggered by the operation of the control button And transmitting, by the communication channel, a control instruction generated according to the indication signal to the IP phone, to instruct the IP phone to control a communication process between the IP phone and the communication peer.
结合第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述控制指令具体为通信结束指令,用于指示所述IP话机结束与所述通信对端之间的通信;或者,With reference to the second possible implementation of the second aspect, in a third possible implementation, the control instruction is specifically a communication end instruction, and is used to indicate that the IP phone ends and the communication peer end Communication; or,
所述控制指令具体为静音指令或解除静音指令,用于指示所述IP话机对所述通信进行静音操作或解除静音操作;或者,The control command is specifically a mute command or a mute command, and is used to instruct the IP phone to perform a mute operation or a mute operation on the communication; or
所述控制指令具体为包括DTMF信号的拨号指令,用于指示所述IP话机向所述通信对端发送所述DTMF信号以进行二次拨号。The control command is specifically a dialing instruction including a DTMF signal, and is used to instruct the IP phone to send the DTMF signal to the communication peer to perform secondary dialing.
结合第二方面的第二种或第三种可能的实现方式,在第四种可能的实现方式中,所述方法还包括,所述移动终端通过所述通信通道接收所述IP话机发送的所述IP话机与所述通信对端之间的通信的相关信息,并在所述移动终端的界面上显示所述通信的相关信息,所述通信的相关信息包括所述通信已进行的时长和/或所述所述通信对端的信息。With reference to the second or third possible implementation of the second aspect, in a fourth possible implementation, the method further includes: the mobile terminal receiving, by using the communication channel, the location sent by the IP phone Determining information related to communication between the IP phone and the communication peer, and displaying related information of the communication on an interface of the mobile terminal, where the related information of the communication includes a duration of the communication and/or Or the information of the communication peer.
结合第二方面的第一种至第四种任一可能的实现方式,在第五种可能的实现方式中,所述接收所述启动指示之后还包括,所述移动终端通过所述通信通道接收所述IP话机发送的停止指示,并根据所述停止指示停止采集音频数据。With reference to any one of the first to fourth possible implementations of the second aspect, in a fifth possible implementation, after the receiving the starting indication, the mobile terminal further comprises, by using the communication channel, The stop indication sent by the IP phone, and stopping collecting audio data according to the stop indication.
第三方面,提供了一种IP话机,所述IP话机包括手柄管理单元、连接建立单元和通信单元;In a third aspect, an IP phone is provided, where the IP phone includes a handle management unit, a connection establishing unit, and a communication unit;
所述手柄管理单元,用于在检测到用于指示将移动终端作为所述IP话机的手柄的指示信号时,指示所述连接建立单元建立与所述移动终端之间的基于短距离无线通信连接的通信通道,并通过所述通信通道向所述移动终端发送启动指示,所述启动指示用于指示所述移动终端播放通过所述通信通道接收的来自所述IP话机的音频数据;The handle management unit is configured to instruct the connection establishing unit to establish a short-range wireless communication connection with the mobile terminal when detecting an indication signal for indicating that the mobile terminal is used as a handle of the IP phone a communication channel, and sending, by the communication channel, a startup indication to the mobile terminal, the activation indication being used to instruct the mobile terminal to play audio data from the IP phone received through the communication channel;
所述通信单元,用于接收与所述IP话机进行通信的通信对端的音频数据,并将接收自所述通信对端的音频数据通过所述通信通道发送给所述移动终端。 The communication unit is configured to receive audio data of a communication peer end that communicates with the IP phone, and send audio data received from the communication peer end to the mobile terminal by using the communication channel.
在第三方面的第一种可能的实现方式中,所述启动指示还用于指示所述移动终端通过所述通信通道向所述IP话机发送所述移动终端采集的音频数据;In a first possible implementation manner of the third aspect, the starting indication is further used to indicate that the mobile terminal sends the audio data collected by the mobile terminal to the IP phone by using the communication channel;
所述通信单元,还用于通过所述通信通道接收来自所述移动终端的音频数据,并将所述音频媒体发送给所述通信对端。The communication unit is further configured to receive audio data from the mobile terminal through the communication channel, and send the audio media to the communication peer.
结合第三方面或第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述IP话机还包括控制单元,所述控制单元用于在通过所述通信通道接收到来自所述移动终端的控制指令时,根据所述控制指令控制所述IP话机与所述通信对端之间的通信过程。With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation manner, the IP phone further includes a control unit, where the control unit is configured to receive through the communication channel When a control command from the mobile terminal is received, a communication process between the IP phone and the communication peer is controlled according to the control command.
结合第三方面的第二种可能的实现方式,在第三种可能的实现方式中,所述控制指令具体为通信结束指令,所述控制单元具体用于根据所述通信结束指令向所述通信对端发送挂机信令以结束与所述通信对端之间的通信;或者,With the second possible implementation of the third aspect, in a third possible implementation, the control instruction is specifically a communication end instruction, and the control unit is specifically configured to send the communication according to the communication end instruction. The peer sends the on-hook signaling to end the communication with the communication peer; or
所述控制指令具体为静音指令或解除静音指令,所述控制单元具体用于,根据所述静音指令对所述语音通信进行静音操作,或根据所述解除静音指令对所述通信进行解除静音操作;或者,The control instruction is specifically a mute command or a mute command, and the control unit is specifically configured to perform a mute operation on the voice communication according to the mute command, or perform a mute operation on the communication according to the unmute command. ;or,
所述控制指令具体为拨号指令,所述拨号指令包括要拨打的DTMF信号,所述控制单元具体用于根据所述拨号指令向所述通信对端发送所述DTMF信号以进行二次拨号。The control command is specifically a dialing instruction, and the dialing instruction includes a DTMF signal to be dialed, and the control unit is specifically configured to send the DTMF signal to the communication peer according to the dialing instruction to perform secondary dialing.
结合第三方面或第三方面的第一种至第三种任一可能的实现方式,在第四种可能的实现方式中,所述手柄管理单元还用于获取所述IP话机与所述通信对端之间的通信的相关信息,并通过所述通信通道向所述移动终端发送所述IP话机与所述通信对端之间的通信的相关信息,所述通信的相关信息包括所述通信已进行的时长和/或所述通信对端的信息。With the third aspect or any one of the first to third possible implementation manners of the third aspect, in a fourth possible implementation, the handle management unit is further configured to acquire the IP phone and the communication Information related to communication between the peers, and transmitting, by the communication channel, related information of communication between the IP phone and the communication peer to the mobile terminal, the related information of the communication including the communication The length of time that has been made and/or the information of the communication peer.
结合第三方面或第三方面的第一种至第四种任一可能的实现方式,在第五种可能的实现方式中,所述通信单元接收自所述通信对端的音频数据是利用所述IP话机与所述通信对端协商的音频格式编码的;With reference to the third aspect, or any one of the first to fourth possible implementation manners of the third aspect, in a fifth possible implementation, the audio data received by the communication unit from the communication peer end is utilized by the The IP phone is encoded with the audio format negotiated by the communication peer;
所述手柄管理单元还用于判断所述移动终端是否支持所述音频格式; The handle management unit is further configured to determine whether the mobile terminal supports the audio format;
所述通信单元具体用于,在所述手柄管理单元判断出所述移动终端支持所述音频格式时,将接收自所述通信对端的利用所述音频格式编码的音频数据发送给所述移动终端;或者,在所述手柄管理单元判断出所述移动终端不支持所述音频格式时,对接收自所述通信对端的利用所述音频格式编码的音频数据进行解码,并将解码后的音频数据发送给所述移动终端。The communication unit is specifically configured to: when the handle management unit determines that the mobile terminal supports the audio format, send, by the mobile terminal, audio data encoded by using the audio format to the mobile terminal. Or, when the handle management unit determines that the mobile terminal does not support the audio format, decodes audio data encoded by the audio format received by the communication peer, and decodes the audio data. Send to the mobile terminal.
结合第三方面的第五种可能的实现方式,在第六种可能的实现方式中,所述手柄管理单元还用于在判断出所述移动终端支持所述音频格式时,在所述启动指示中携带所述音频格式,以指示所述移动终端利用所述音频格式编码要发送给所述IP话机的音频数据。With the fifth possible implementation of the third aspect, in a sixth possible implementation, the handle management unit is further configured to: when determining that the mobile terminal supports the audio format, in the startup indication The audio format is carried to indicate that the mobile terminal encodes audio data to be sent to the IP phone by using the audio format.
结合第三方面的第一种至第六种任一可能的实现方式,在第七种可能的实现方式中,所述手柄管理单元还用于,在接收到所述通信对端发送的挂机信令时,向所述移动终端发送停止指示,以指示所述移动终端停止采集音频数据。In conjunction with any one of the first to sixth possible implementations of the third aspect, in a seventh possible implementation, the handle management unit is further configured to: receive an on-hook message sent by the communication peer In response to the time, a stop indication is sent to the mobile terminal to instruct the mobile terminal to stop collecting audio data.
第四方面,提供了一种移动终端,包括:连接建立单元和通信单元;A fourth aspect provides a mobile terminal, including: a connection establishing unit and a communication unit;
所述连接建立单元,用于建立与IP话机之间的基于短距离无线通信连接的通信通道;The connection establishing unit is configured to establish a communication channel based on a short-range wireless communication connection between the IP phone and the IP phone;
所述通信单元,用于在通过所述连接建立单元建立的所述通信通道接收到来自所述IP话机的启动指示时,监听所述通信通道,并在收到来自所述IP话机的音频数据时播放所述音频数据。The communication unit is configured to listen to the communication channel when receiving the activation indication from the IP phone by the communication channel established by the connection establishment unit, and receive audio data from the IP phone The audio data is played.
在第四方面的第一种可能的实现方式中,所述通信单元还用于在接收到所述启动指示时,采集音频数据并通过所述通信通道将采集到的音频数据发送给所述IP话机。In a first possible implementation manner of the fourth aspect, the communication unit is further configured to: when receiving the startup indication, collect audio data, and send the collected audio data to the IP by using the communication channel. Phone.
结合第四方面或第四方面的第一种可能的实现方式,在第二种可能的实现方式中,所述移动终端还包括界面接口单元;With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the mobile terminal further includes an interface interface unit;
所述通信单元在接收到所述启动指示时通过所述界面接口单元在所述移动终端的界面上显示控制按钮,所述控制按钮用于控制所述IP话机与当前与 所述IP话机通信的通信对端之间的通信过程,并在所述界面接口单元检测到操作所述控制按钮所触发的指示信号时,根据所述指示信号生成控制指令,并通过所述通信通道向所述IP话机发送所述控制指令,以指示所述IP话机控制所述IP话机与所述通信对端之间的通信过程;The communication unit displays a control button on the interface of the mobile terminal through the interface interface unit when receiving the startup instruction, where the control button is used to control the IP phone and the current a communication process between the communication peers of the IP phone communication, and when the interface interface unit detects an indication signal triggered by the operation of the control button, generates a control instruction according to the indication signal, and passes the communication Transmitting, by the channel, the control instruction to the IP phone, to instruct the IP phone to control a communication process between the IP phone and the communication peer end;
所述界面接口单元,用于在所述移动终端的界面上显示所述控制按钮,并用于检测操作所述控制按钮所触发的指示信号。The interface interface unit is configured to display the control button on an interface of the mobile terminal, and is configured to detect an indication signal triggered by the operation of the control button.
结合第四方面的第二种可能的实现方式,在第三种可能的实现方式中,In conjunction with the second possible implementation of the fourth aspect, in a third possible implementation manner,
所述控制指令具体为通信结束指令,用于指示所述IP话机结束与所述通信对端之间的通信;或者,The control instruction is specifically a communication end instruction, and is used to indicate that the IP phone ends communication with the communication peer; or
所述控制指令具体为静音指令或解除静音指令,用于指示所述IP话机对所述语音通信进行静音操作或解除静音操作;或者,The control command is specifically a mute command or a mute command, and is used to instruct the IP phone to perform a mute operation or a mute operation on the voice communication; or
所述控制指令具体为包括DTMF信号的拨号指令,用于指示所述IP话机向所述通信对端发送所述DTMF信号以进行二次拨号。The control command is specifically a dialing instruction including a DTMF signal, and is used to instruct the IP phone to send the DTMF signal to the communication peer to perform secondary dialing.
结合第四方面的第二种或第三种可能的实现方式,在第四种可能的实现方式中,所述通信单元,还用于通过所述通信通道接收所述IP话机发送的所述IP话机与所述通信对端之间的通信的相关信息,并通过所述界面接口单元在所述移动终端的界面上显示所述通信的相关信息,所述通信的相关信息包括所述通信已进行的时长和/或所述所述通信对端的信息;With reference to the second or third possible implementation of the fourth aspect, in a fourth possible implementation, the communication unit is further configured to receive, by using the communication channel, the IP sent by the IP phone Information related to communication between the phone and the communication peer, and displaying related information of the communication on the interface of the mobile terminal through the interface interface unit, the related information of the communication includes that the communication has been performed Length of time and/or information of the communication peer;
所述界面接口单元,还用于在所述移动终端的界面上显示所述通信的相关信息。The interface interface unit is further configured to display related information of the communication on an interface of the mobile terminal.
结合第四方面的第一种至第四种任一可能的实现方式,在第五种可能的实现方式中,所述通信单元,还用于通过所述通信通道接收所述IP话机发送的停止指示,并根据所述停止指示停止采集音频数据。With reference to any one of the first to fourth possible implementations of the fourth aspect, in a fifth possible implementation, the communication unit is further configured to receive, by using the communication channel, the stop sent by the IP phone Instruct to stop collecting audio data according to the stop indication.
第五方面,提供了一种通信系统,包括:如第三方面或第三方面的第一种至第七种任一可能的实现方式所述的IP话机和如第四方面或第四方面的第一 种至第五种任一可能的实现方式所述的移动终端。The fifth aspect provides a communication system, comprising: the IP phone according to any one of the first to seventh aspects of the third aspect or the third aspect, and the fourth or fourth aspect the first A mobile terminal as described in any of the fifth possible implementation manners.
根据本发明实施例,可以将移动终端作为IP话机的手柄使用,不配置蓝牙耳机也可以满足利用IP话机进行通信时可以短距离离开的需求,从而解决了现有技术存在的硬件成本较高的问题。According to the embodiment of the present invention, the mobile terminal can be used as the handle of the IP phone, and the Bluetooth headset can be configured to meet the requirement of short-distance leaving when communicating by using the IP phone, thereby solving the hardware cost of the prior art. problem.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。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 networking of a communication system according to an embodiment of the present invention;
图2为本发明实施例1提供的方法流程示意图;2 is a schematic flowchart of a method according to Embodiment 1 of the present invention;
图3A-3B为本发明实施例1提供的界面示意图;3A-3B are schematic diagrams of interfaces provided by Embodiment 1 of the present invention;
图4A-4B是本发明实施例1提供的界面事件示意图;4A-4B are schematic diagrams of interface events provided by Embodiment 1 of the present invention;
图5A-5B是本发明实施例2提供的IP话机500的结构示意图;5A-5B are schematic structural diagrams of an IP phone 500 according to Embodiment 2 of the present invention;
图6A-6B是本发明实施例3提供的移动终端600的结构示意图;6A-6B are schematic structural diagrams of a mobile terminal 600 according to Embodiment 3 of the present invention;
图7是本发明实施例4提供的IP话机1000的结构示意图;FIG. 7 is a schematic structural diagram of an IP phone 1000 according to Embodiment 4 of the present invention;
图8是本发明实施例5提供的移动终端2000的结构示意图;FIG. 8 is a schematic structural diagram of a mobile terminal 2000 according to Embodiment 5 of the present invention;
图9是本发明实施例6提供的通信系统5000的结构示意图。FIG. 9 is a schematic structural diagram of a communication system 5000 according to Embodiment 6 of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
图1为本发明实施例1提供的通信系统100的一种结构示意图。通信系统100包括IP话机110、移动终端120和通信对端130。移动终端120为具备音频数据采集功能、音频数据播放功能和短距离无线通信功能(如蓝牙、wifi)的终端,具体可以是智能手机、平板电脑等。通信对端130为与所述IP话机110通信的设备,具体可以是另一IP话机、另一移动终端、会议服务器、呼 叫中心平台、IVR互动式语音应答(Interactive Voice Response,IVR)设备等。FIG. 1 is a schematic structural diagram of a communication system 100 according to Embodiment 1 of the present invention. The communication system 100 includes an IP phone 110, a mobile terminal 120, and a communication peer 130. The mobile terminal 120 is a terminal having an audio data collection function, an audio data playing function, and a short-range wireless communication function (such as Bluetooth, wifi), and specifically may be a smart phone, a tablet computer, or the like. The communication peer 130 is a device that communicates with the IP phone 110, and specifically may be another IP phone, another mobile terminal, a conference server, and a call. Called the central platform, IVR interactive voice response (IVR) equipment.
图2是本发明实施例1提供的方法流程示意图,本发明实施例1的方法可以应用于图1所示的通信系统。2 is a schematic flowchart of a method according to Embodiment 1 of the present invention. The method of Embodiment 1 of the present invention can be applied to the communication system shown in FIG. 1.
如图2所示,本发明实施例1提供的方法包括:As shown in FIG. 2, the method provided in Embodiment 1 of the present invention includes:
步骤S101:IP话机建立与通信对端之间的通信连接并进行通信。Step S101: The IP phone establishes a communication connection with the communication peer and performs communication.
具体可以是,IP话机与另一IP话机或移动终端进行音频通信或音视频通信。Specifically, the IP phone can perform audio communication or audio and video communication with another IP phone or mobile terminal.
步骤S102:所述IP话机检测到用于指示将移动终端作为所述IP话机的手柄的指示信号;Step S102: The IP phone detects an indication signal for indicating that the mobile terminal is used as a handle of the IP phone.
可以在IP话机上配置一个物理按键,或在IP话机的用户操作界面上设置一个按钮,如图3A所示的用户操作界面及该界面上的“Wireless Handle”按钮,用户通过操作该物理按键或点击该按钮触发所述指示信号。一般情况下,用户要短距离离开IP话机所在位置时会执行该操作。You can configure a physical button on the IP phone, or set a button on the user interface of the IP phone, such as the user interface shown in Figure 3A and the "Wireless Handle" button on the interface. The user can operate the physical button or Clicking this button triggers the indication signal. In general, the user will perform this operation when leaving the IP phone in a short distance.
步骤S103:所述IP话机建立与所述移动终端之间的基于短距离无线通信连接的通信通道。Step S103: The IP phone establishes a communication channel based on a short-range wireless communication connection with the mobile terminal.
所述短距离无线通信连接具体可以是蓝牙连接、wifi连接等,相应地,所述基于短距离无线通信连接的通信通道具体可以是基于蓝牙连接的socket(套接字)通道、基于wifi连接的socket通道等。The short-range wireless communication connection may be specifically a Bluetooth connection, a wifi connection, or the like. Accordingly, the communication channel based on the short-range wireless communication connection may specifically be a socket (socket) channel based on a Bluetooth connection, and a wifi connection based on the wifi connection. Socket channel, etc.
具体实现方式可以为,IP话机检测到所述指示信号时启动搜索附近的蓝牙设备,并在搜索到该移动终端时经用户确认与该移动终端建立基于蓝牙连接的socket通道。The specific implementation manner may be that when the IP phone detects the indication signal, it starts to search for a nearby Bluetooth device, and when the mobile terminal is searched, the user confirms to establish a socket channel based on the Bluetooth connection with the mobile terminal.
步骤S104:所述IP话机通过所述通信通道向所述移动终端发送启动指示,所述启动指示用于指示所述移动终端播放通过所述通信通道接收的来自所述IP话机的音频数据,还可以用于指示所述移动终端通过所述通信通道向所述IP话机发送所述移动终端采集的音频数据。Step S104: The IP phone sends an activation indication to the mobile terminal by using the communication channel, where the activation indication is used to instruct the mobile terminal to play audio data from the IP phone received through the communication channel, and And being used to instruct the mobile terminal to send the audio data collected by the mobile terminal to the IP phone through the communication channel.
建立所述通信通道后,可以通过如下实施方式来实现发送所述启动指示: After the communication channel is established, the sending indication may be implemented by using the following implementation manner:
一种实施方式:所述IP话机直接向所述移动终端发送所述启动指示。所述移动终端在收到所述启动指示时可以在界面上显示用于用户确认是否同意的按钮选项,并在检测到用户通过操作该按钮选项执行的确认操作后,向该IP话机发送表示同意的确认响应并执行后续步骤,该IP话机收到该确认响应后执行后续步骤;还可以在检测到用户通过操作该按钮选项执行的拒绝操作后向该IP话机发送表示不同意的拒绝响应并不执行后续步骤,该IP话机收到该拒绝响应后不执行后续步骤。An implementation manner: the IP phone directly sends the startup indication to the mobile terminal. When receiving the activation indication, the mobile terminal may display a button option for the user to confirm whether to agree on the interface, and send a consent to the IP phone after detecting the confirmation operation performed by the user by operating the button option. After confirming the response and performing the subsequent steps, the IP phone performs the subsequent steps after receiving the confirmation response; and may also send a rejection response indicating that the user does not agree to the IP phone after detecting the rejection operation performed by the user by operating the button option. After the subsequent steps are performed, the IP phone does not perform the subsequent steps after receiving the rejection response.
另一实施方式:所述IP话机向所述移动终端发送用于请求将所述移动终端作为所述IP话机的手柄的请求消息,所述移动终端在界面上显示用于用户确认是否同意将该移动终端作为该IP话机的手柄的按钮选项,并在检测到用户通过操作该按钮选项执行的确认操作后,向该IP话机发送表示同意的确认响应,IP话机收到该确认响应后发送所述启动指示,或者收到该确认响应并经用户确认后发送所述启动指示。另外,所述移动终端还可以在检测到用户通过操作该按钮选项执行的拒绝操作后向该IP话机发送表示不同意的拒绝响应并不执行后续步骤,所述IP话机收到该拒绝响应后不执行后续步骤。Another embodiment: the IP phone sends a request message to the mobile terminal for requesting the mobile terminal as a handle of the IP phone, and the mobile terminal displays on the interface for the user to confirm whether to agree to The mobile terminal serves as a button option of the handle of the IP phone, and after detecting the confirmation operation performed by the user by operating the button option, sends an acknowledgement response indicating the consent to the IP phone, and the IP phone sends the acknowledgement response after receiving the acknowledgement response. The activation indication is initiated, or the activation response is received and acknowledged by the user. In addition, the mobile terminal may further send a rejection response indicating that the user does not agree to the IP phone after detecting the rejection operation performed by the user by operating the button option, and the subsequent steps are not performed after the IP phone receives the rejection response. Perform the next steps.
所述移动终端收到所述启动指令后,开始监听所述IP话机通过所述通信通道发送的音频数据,还可以开始通过所述通信通道向所述IP话机发送采集的音频数据。所述IP话机向所述移动终端发送所述启动指令后,开始将接收自所述通信对端的音频数据通过所述通信通道发送给所述移动终端,还可以将通过所述通信通道接收的来自所述移动终端音频数据发送给所述通信对端。具体实现过程如下:After receiving the start command, the mobile terminal starts to listen to the audio data sent by the IP phone through the communication channel, and may also start sending the collected audio data to the IP phone through the communication channel. After the IP phone sends the start command to the mobile terminal, the audio data received from the communication peer end is sent to the mobile terminal through the communication channel, and the received data through the communication channel may also be received. The mobile terminal audio data is sent to the communication peer. The specific implementation process is as follows:
步骤S105:所述移动终端在接收到所述启动指令时采集音频数据并监听所述通信通道。Step S105: The mobile terminal collects audio data and listens to the communication channel when receiving the startup instruction.
步骤S106:所述移动终端通过所述通信通道将采集到的音频数据发送给所述IP话机。Step S106: The mobile terminal sends the collected audio data to the IP phone through the communication channel.
步骤S107:所述IP话机将通过所述通信通道接收的音频数据发送给所述通信对端。 Step S107: The IP phone sends the audio data received through the communication channel to the communication peer.
步骤S108:所述IP话机接收所述通信对端发送的音频数据。Step S108: The IP phone receives the audio data sent by the communication peer.
步骤S109:所述IP话机将接收自所述通信对端的音频数据通过所述通信通道发送给所述移动终端。Step S109: The IP phone sends the audio data received from the communication peer to the mobile terminal through the communication channel.
步骤S110:所述移动终端播放通过所述通信通道接收的来自所述IP话机的音频数据。Step S110: The mobile terminal plays audio data from the IP phone received through the communication channel.
在一种具体实施方式中:In a specific embodiment:
在步骤S101中,所述IP话机在与所述通信对端建立所述通信连接的过程中,与所述通信对端协商确定用于所述通信的音频格式。相应地,所述IP话机与所述通信对端之间通过所述通信连接相互发送的音频数据都是利用所述音频格式编码的,如,所述IP话机在步骤S107中向所述通信对端发送的音频数据,在步骤S108中接收的所述通信对端发送的音频数据。In step S101, the IP phone negotiates with the communication peer to determine an audio format for the communication in the process of establishing the communication connection with the communication peer. Correspondingly, the audio data sent by the IP phone and the communication peer to each other through the communication connection is encoded by using the audio format, for example, the IP phone sends the communication pair to the communication pair in step S107. The audio data transmitted by the terminal, the audio data transmitted by the communication peer received in step S108.
在步骤S104之前,所述IP话机可以判断所述移动终端是否支持所述协商确定的音频格式。具体地,可以是向所述移动终端获取所述移动终端所支持的音频格式,并判断所述移动终端所支持的音频格式是否包括所述协商确定的音频格式;也可以是,所述移动终端将所述协商确定的音频格式发送给所述移动终端,所述移动终端判断自身所支持的音频格式是否包括所述协商确定的音频格式,并向所述IP话机返回判断结果,所述IP话机据此可以判断所述移动终端是否支持所述协商确定的音频格式。Before step S104, the IP phone may determine whether the mobile terminal supports the audio format determined by the negotiation. Specifically, the audio format supported by the mobile terminal may be obtained from the mobile terminal, and it may be determined whether the audio format supported by the mobile terminal includes the audio format determined by the negotiation; or the mobile terminal may be Sending the negotiated determined audio format to the mobile terminal, the mobile terminal determining whether the audio format supported by the mobile terminal includes the negotiated determined audio format, and returning a determination result to the IP phone, the IP phone According to this, it can be determined whether the mobile terminal supports the audio format determined by the negotiation.
如果判断出所述移动终端支持所述协商确定的音频格式,步骤S109的具体实现为,所述IP话机直接将接收自所述通信对端的利用所述音频格式编码的音频数据转发给所述移动终端,相应地,步骤S110的具体实现为,所述移动终端对接收的利用所述协商确定的音频格式编码的音频数据进行解码后播放。If it is determined that the mobile terminal supports the audio format determined by the negotiation, the specific implementation of step S109 is that the IP phone directly forwards the audio data encoded by the audio end to be encoded by the communication peer to the mobile terminal. The terminal, correspondingly, the specific implementation of step S110 is that the mobile terminal decodes and receives the received audio data encoded by the audio format determined by the negotiation.
如果判断出所述移动终端不支持所述协商确定的音频格式,步骤S109的具体实现为,所述IP话机对接收自所述通信对端的利用所述协商确定的音频 格式编码的音频数据进行解码,并将解码后的音频数据发送给所述移动终端。If it is determined that the mobile terminal does not support the audio format determined by the negotiation, the specific implementation of step S109 is that the IP phone receives the audio determined by the negotiation from the communication peer. The format encoded audio data is decoded and the decoded audio data is transmitted to the mobile terminal.
所述IP话机在判断出所述移动终端支持所述音频格式时,还可以在步骤S104的启动指示中携带所述协商确定的音频格式,以指示所述移动终端利用所述协商确定的音频格式编码要发送给所述IP话机的音频数据,相应地,步骤S106的具体实现为,所述移动终端利用所述协商确定的音频格式对采集的音频数据进行编码,并将编码后的音频数据发送给所述IP话机,步骤S107的具体实现为,所述IP话机直接将接收的编码后的音频数据转发给所述通信对端。When the IP phone determines that the mobile terminal supports the audio format, the IP phone may further carry the negotiated determined audio format in the start indication of step S104 to instruct the mobile terminal to use the negotiated determined audio format. Encoding the audio data to be sent to the IP phone. Correspondingly, the specific implementation of step S106 is that the mobile terminal encodes the collected audio data by using the negotiated audio format, and sends the encoded audio data. For the IP phone, the specific implementation of step S107 is that the IP phone directly forwards the received encoded audio data to the communication peer.
另外,如果所述移动终端不支持所述协商确定的音频格式,则所述移动终端不对采集的音频数据进行编码,而是直接将采集的原始音频数据发送给所述IP话机,相应地,所述IP话机利用所述协商确定的音频格式对接收的所述原始音频数据进行编码后发送给所述通信对端。In addition, if the mobile terminal does not support the audio format determined by the negotiation, the mobile terminal does not encode the collected audio data, but directly sends the collected original audio data to the IP phone, and accordingly, The IP phone encodes the received original audio data by using the negotiated audio format and sends the original audio data to the communication peer.
所述IP话机还可以将与所述通信对端之间的通信的相关信息发送给所述移动终端。所述通信的相关信息包括所述通信已进行的时长和/或所述通信对端的信息,所述通信对端的信息可以包括所述通信对端的号码、所述通信对端的用户的信息(如用户的照片、名字、所在部门等)。优选地,所述IP话机在所述启动指令中携带所述通信的相关信息。The IP phone may further send information related to communication between the communication peer to the mobile terminal. The related information of the communication includes the duration of the communication and/or the information of the communication peer, and the information of the communication peer may include the number of the communication peer, and the information of the user of the communication peer (such as a user). Photo, name, department, etc.). Preferably, the IP phone carries related information of the communication in the startup instruction.
所述通信已进行的时长为开始所述通信的时刻和所述IP话机发送所述时长的时刻的差值,如,所述IP话机在所述通信开始后46秒向所述移动终端发送所述时长,则所述时长为46秒。The duration that the communication has been performed is the difference between the time when the communication is started and the time when the IP phone transmits the duration, for example, the IP phone sends the mobile terminal to the mobile terminal 46 seconds after the start of the communication. For the length of time, the duration is 46 seconds.
所述通信对端的用户的信息,可以是预先存储在所述IP话机的本地通信录中的,相应地,所述IP话机从本地通信录中获取所述通信对端的用户的信息发送给所述移动终端;也可以是存储在用于管理用户信息的管理服务器上的,相应地,所述IP话机利用所述通信对端的号码向所述管理服务器获取所述通信对端的用户的信息发送给所述移动终端。 The information of the user of the communication peer may be pre-stored in the local address book of the IP phone, and correspondingly, the IP phone obtains the information of the user of the communication peer from the local address book and sends the information to the a mobile terminal; or may be stored on a management server for managing user information, and correspondingly, the IP phone obtains, by using the number of the communication peer, the information of the user of the communication peer to the management server. The mobile terminal.
所述移动终端将所述通信的相关信息显示到界面上,如图3B所示。所述移动终端收到所述通信已进行的时长后可以接着所述时长继续计时并显示到所述界面上,则用户可以通过所述移动终端的界面时刻了解到所述通信当前已经进行的时长。The mobile terminal displays the related information of the communication to the interface, as shown in FIG. 3B. After the mobile terminal receives the length of time that the communication has been performed, the user can continue to count the duration and display the duration on the interface, and the user can know the duration of the communication currently being performed through the interface time of the mobile terminal. .
所述IP话机向所述移动终端发送的携带所述通信的相关信息的消息格式示例如下表所示:An example of a message format of the IP phone carrying the related information of the communication sent to the mobile terminal is as follows:
Figure PCTCN2015083415-appb-000001
Figure PCTCN2015083415-appb-000001
所述移动终端收到所述启动指令后还可以在界面上显示控制按钮,所述控制按钮用于控制所述IP话机与所述通信对端之间的通信过程。用户可以通过操作所述控制按钮控制所述IP话机和所述通信对端之间的通信过程。如图3B所示,用户可以通过点击挂断按钮以指示结束所述IP话机与所述通信对端之间的通信,通过点击静音按钮以指示对所述通信进行静音,通过点击所述拨号按钮以指示进行二次拨号。After receiving the startup command, the mobile terminal may further display a control button on the interface, where the control button is used to control a communication process between the IP phone and the communication peer. The user can control the communication process between the IP phone and the communication peer by operating the control button. As shown in FIG. 3B, the user can end the communication between the IP phone and the communication peer by clicking the hang up button, by clicking the mute button to indicate that the communication is muted, by clicking the dial button. Make a second dial with the instructions.
所述移动终端在检测到操作所述控制按钮所触发的指示信号时,通过所述通信通道向所述IP话机发送根据所述指示信号生成的控制指令,以指示所述IP话机控制所述IP话机与所述通信对端之间的通信过程。When detecting the indication signal triggered by the operation of the control button, the mobile terminal sends a control instruction generated according to the indication signal to the IP phone through the communication channel, to instruct the IP phone to control the IP The communication process between the phone and the communication peer.
所述控制指令,具体可以通过扩展动作(Attention,AT)指令来实现。AT指令包括表示消息类型的msgtype字段和表示指令功能的action字段,本发明扩展的AT指令的msgtype字段的值用于表示该AT指令的消息类型为通信控制,具体可以用字符串“callctrl”来表示,扩展action字段的值用于表示具体的通信控制功能,如结束通信、静音、拨号,具体分别可以用字符串 “endcall”、“mutecall”、“DTMF”来表示。The control instruction may be specifically implemented by an Attention (AT) instruction. The AT command includes an msgtype field indicating a message type and an action field indicating an instruction function. The value of the msgtype field of the extended AT command of the present invention is used to indicate that the message type of the AT command is communication control, and specifically, the string "callctrl" can be used. Indicates that the value of the extended action field is used to indicate a specific communication control function, such as ending communication, mute, dialing, and specifically using a string "endcall", "mutecall", "DTMF" are indicated.
所述控制指令具体可以为通信结束指令,相应地,所述移动终端将所述通信结束指令发送给所述IP话机,所述IP话机根据所述通信结束指令向所述通信对端发送挂机信令以结束与所述通信对端之间的通信。通过扩展AT指令实现的通信结束指令格式示例如下表所示:The control instruction may specifically be a communication end instruction, and correspondingly, the mobile terminal sends the communication end instruction to the IP phone, and the IP phone sends an on-hook message to the communication peer according to the communication end instruction. To end the communication with the communication peer. An example of the communication end instruction format implemented by extending the AT instruction is shown in the following table:
Figure PCTCN2015083415-appb-000002
Figure PCTCN2015083415-appb-000002
所述控制指令具体可以为静音指令或解除静音指令,相应地,所述移动终端将所述静音指令或解除静音指令发送给所述IP话机,所述IP话机根据所述静音指令对所述通信进行静音操作,即不向所述通信对端发送音频数据,或根据所述解除静音指令对所述通信进行解除静音操作,即向所述通信对端发送音频数据。通过扩展AT指令实现的静音指令格式示例如下表所示:The control command may specifically be a mute command or a mute command, and correspondingly, the mobile terminal sends the mute command or the mute command to the IP phone, and the IP phone performs the communication according to the mute command. Performing a mute operation, that is, not transmitting audio data to the communication peer, or unmute the communication according to the unmute command, that is, transmitting audio data to the communication peer. An example of a mute instruction format implemented by extending the AT instruction is shown in the following table:
Figure PCTCN2015083415-appb-000003
Figure PCTCN2015083415-appb-000003
所述控制指令具体还可以为包括DTMF信号的拨号指令,相应地,所述移动终端将所述拨号指令发送给所述IP话机,所述IP话机根据所述拨号指令向所述通信对端发送所述DTMF信号以进行二次拨号。如,所述通信对端为IVR设备,所述IVR设备提示用户输入数字和/或字符,如,“请输入分机号”、“拨1查询话费,拨2……”、“请输入账号”等,用户通过操作拨号按钮对应的输 入键盘输入对应的数字和/或字符,所述移动终端将DTMF信号形式的数字或字符携带在拨号指令中发送给所述IP话机,所述IP话机将所述DTMF信号形式的数字和/或字符发送给所述IVR设备以进行二次拨号。通过扩展AT指令实现的拨号指令格式示例如下表所示:The control instruction may further be a dialing instruction including a DTMF signal, and correspondingly, the mobile terminal sends the dialing instruction to the IP phone, and the IP phone sends the dialing instruction to the communication peer according to the dialing instruction. The DTMF signal is used for secondary dialing. For example, the communication peer is an IVR device, and the IVR device prompts the user to input numbers and/or characters, for example, “Please input the extension number”, “Dial 1 query phone bill, dial 2...”, “Please enter account number” Wait, the user responds by operating the dial button Entering a corresponding number and/or character into the keyboard, the mobile terminal carries a number or a character in the form of a DTMF signal in a dialing command, and sends the digital phone to the IP phone, and the IP phone uses the number and/or the digital signal in the form of the DTMF signal. Characters are sent to the IVR device for secondary dialing. An example of a dialing instruction format implemented by extending the AT command is shown in the following table:
Figure PCTCN2015083415-appb-000004
Figure PCTCN2015083415-appb-000004
通过上述实现方式,用户可以利用移动终端控制IP电话上正在进行的与所述通信对端之间的通信的过程,更加灵活方便。Through the above implementation manner, the user can use the mobile terminal to control the ongoing communication with the communication peer end on the IP phone, which is more flexible and convenient.
如果是通信对端挂断电话,所述IP话机还可以在接收到所述通信对端发送的挂机信令时,向所述移动终端发送停止指示,以指示所述移动终端停止采集音频数据。If the communication peer hangs up the phone, the IP phone may further send a stop indication to the mobile terminal when receiving the on-hook signaling sent by the communication peer to instruct the mobile terminal to stop collecting audio data.
如果所述IP话机和所述通信对端之间通过会话初始化协议(Session Initiation Protocol,SIP)交互,则上述向所述通信对端发送的挂机信令和接收到的所述通信对端发送的挂机信令具体可以是SIP BYE(再见)消息。If the IP phone and the communication peer interact with each other through a Session Initiation Protocol (SIP), the above-mentioned on-hook signaling sent to the communication peer and the received communication peer are sent. The on-hook signaling may specifically be a SIP BYE (goodbye) message.
在具体实现时,可以在移动终端上安装并运行实现手柄功能的应用(后续称为手柄应用)。当所述IP话机和所述移动终端建立通信通道后,所述IP话机将启动指令、音频数据等通过所述通信通道发送给所述移动终端,所述移动终端的应用在检测到与所述IP话机的通信通道建立成功后,会监听通信通道获取所述IP话机发给所述移动终端的数据,如上述启动指令、音频数据等,并利用获取的数据实现上述功能,如,在收到上述启动指示时,开始监听所述通信通道并调用播放器播放通过所述通信通道接收的音频数据,调用所述移动终端的操作系统提供的API(Application Programming Interface,应用程序接口)利用所述移动终端的麦克风采集音频数据并通过所述通信通道发送给 所述IP话机,在该手柄应用的界面上显示上述通信的相关信息和控制按钮,并进而在检测到操作所述控制按钮所触发的指示信号时通过所述通信通道向所述IP话机发送根据所述指示信号生成的控制指令等。In a specific implementation, an application that implements the handle function (hereinafter referred to as a handle application) can be installed and run on the mobile terminal. After the IP phone establishes a communication channel with the mobile terminal, the IP phone sends a startup command, audio data, and the like to the mobile terminal through the communication channel, where the application of the mobile terminal detects After the communication channel of the IP phone is successfully established, the communication channel is monitored to obtain data sent by the IP phone to the mobile terminal, such as the above-mentioned startup command, audio data, etc., and the acquired data is used to implement the above functions, for example, after receiving When the activation indication is started, the monitoring of the communication channel is started, and the player is called to play audio data received through the communication channel, and an API (Application Programming Interface) provided by an operating system of the mobile terminal is invoked to utilize the mobile The microphone of the terminal collects audio data and sends it to the communication channel through the communication channel The IP phone displays related information and control buttons of the communication on an interface of the controller application, and further sends the indication to the IP phone through the communication channel when detecting an indication signal triggered by the operation of the control button The control command generated by the indication signal or the like.
为了实现IP话机和移动终端的界面相关功能,如,在IP话机上点击Wireless Handle按钮以指示将该移动终端作为该IP话机的手柄,在移动终端的界面上点击“拨号按钮”进行二次拨号、在移动终端的界面上显示所述通信的相关信息等,可以在IP话机和移动终端的对应界面的程序中增加对应各按钮的交互式响应事件和用于显示所述相关信息的非交互式响应事件及各事件的程序代码。In order to implement the interface related functions of the IP phone and the mobile terminal, for example, click the Wireless Handle button on the IP phone to indicate that the mobile terminal is used as the handle of the IP phone, and click the “dial button” on the interface of the mobile terminal to perform the second dialing. Displaying related information of the communication and the like on the interface of the mobile terminal, and adding an interactive response event corresponding to each button and a non-interactive display for displaying the related information in a program of the corresponding interface of the IP phone and the mobile terminal The program code that responds to events and events.
如,如图4A所示,为用于实现指示将该移动终端作为该IP话机的手柄的按钮,在IP话机的对应界面的程序中增加交互式响应事件类型的“搜索可用设备事件”、“显示可用设备事件”和“启动手柄事件”,当用户点击该按钮时,调用“搜索可用设备事件”启动搜索附近的蓝牙设备,调用“显示可用设备事件”显示搜索到的蓝牙设备(包括该移动终端),并在经用户确认后与该移动终端建立通信通道,并调用“启动手柄事件”向所述移动终端发送所述启动指示。For example, as shown in FIG. 4A, in order to implement a button indicating that the mobile terminal is used as a handle of the IP phone, a "search for available device event" of the interactive response event type is added to the program of the corresponding interface of the IP phone, "Show available device events" and "Start handle events", when the user clicks the button, call "Search for available device events" to start searching for nearby Bluetooth devices, call "Show available devices events" to display the searched Bluetooth devices (including the mobile device) The terminal) establishes a communication channel with the mobile terminal after confirmation by the user, and invokes a “startup handle event” to send the activation indication to the mobile terminal.
又如,如图4B所示,为显示所述通信的相关信息,在移动终端的对应界面的程序中增加非交互式响应事件类型的“通信信息显示事件”,当接收到所述通信的相关信息时调用“通信信息显示事件”显示所述通信的相关信息;在移动终端的对应界面的程序中分别为“挂断按钮”、“静音/解除静音按钮”和“拨号按钮”分别增加交互式响应事件类型的“通信结束事件”、“静音/解除静音事件”和“二次拨号事件”,当检测到用户点击其中某个按钮所触发的指示信号时调用对应的事件向所述IP话机发送对应的控制指令。For another example, as shown in FIG. 4B, in order to display the related information of the communication, a "communication information display event" of a non-interactive response event type is added to a program of a corresponding interface of the mobile terminal, when the communication is received. When the information is called, the “communication information display event” is called to display the related information of the communication; in the program corresponding to the mobile terminal, the “hang up button”, the “mute/unmute button” and the “dial button” respectively add interactive Responding to the "communication end event", "mute/unmute event" and "secondary dialing event" of the event type, when the user detects the indication signal triggered by one of the buttons, the corresponding event is called and sent to the IP phone. Corresponding control commands.
根据本发明实施例1,本发明实施例2提出了一种IP话机500,如图5A所示,IP话机500包括:手柄管理单元501、连接建立单元502和通信单元503; According to Embodiment 1 of the present invention, Embodiment 2 of the present invention provides an IP phone 500. As shown in FIG. 5A, the IP phone 500 includes: a handle management unit 501, a connection establishing unit 502, and a communication unit 503;
手柄管理单元501,用于在检测到用于指示将移动终端作为所述IP话机的手柄的指示信号时,指示连接建立单元502建立与所述移动终端之间的基于短距离无线通信连接的通信通道,并通过所述通信通道向所述移动终端发送启动指示,所述启动指示用于指示所述移动终端播放通过所述通信通道接收的来自所述IP话机的音频数据;The handle management unit 501 is configured to, when detecting an indication signal for indicating that the mobile terminal is used as a handle of the IP phone, instruct the connection establishing unit 502 to establish a short-range wireless communication connection-based communication with the mobile terminal. And transmitting, by the communication channel, an activation indication to the mobile terminal, where the activation indication is used to instruct the mobile terminal to play audio data from the IP phone received through the communication channel;
通信单元503,用于接收与所述IP话机进行通信的通信对端的音频数据,并将接收自所述通信对端的音频数据通过所述通信通道发送给所述移动终端。The communication unit 503 is configured to receive audio data of a communication peer end that communicates with the IP phone, and send audio data received from the communication peer end to the mobile terminal by using the communication channel.
所述启动指示还可以用于指示所述移动终端通过所述通信通道向所述IP话机发送所述移动终端采集的音频数据;相应地,通信单元503,还可以用于通过所述通信通道接收来自所述移动终端的音频数据,并将所述音频媒体发送给所述通信对端。The activation indication may also be used to indicate that the mobile terminal sends the audio data collected by the mobile terminal to the IP phone through the communication channel; correspondingly, the communication unit 503 may further be configured to receive through the communication channel. Audio data from the mobile terminal and transmitting the audio medium to the communication peer.
如图5B所示,所述IP话机还可以包括控制单元504,控制单元504用于在通过所述通信通道接收到来自所述移动终端的控制指令时,根据所述控制指令控制所述IP话机与所述通信对端之间的通信过程。As shown in FIG. 5B, the IP phone may further include a control unit 504, configured to control the IP phone according to the control command when receiving a control instruction from the mobile terminal through the communication channel. A communication process with the communication peer.
所述控制指令具体可以为通信结束指令,控制单元504具体用于根据所述通信结束指令向所述通信对端发送挂机信令以结束与所述通信对端之间的通信。The control instruction may be specifically a communication end instruction, and the control unit 504 is specifically configured to send the on-hook signaling to the communication peer according to the communication end instruction to end communication with the communication peer.
所述控制指令具体还可以为静音指令或解除静音指令,控制单元504具体用于根据所述静音指令对所述语音通信进行静音操作,或根据所述解除静音指令对所述通信进行解除静音操作。The control instruction may specifically be a mute command or a mute command, and the control unit 504 is specifically configured to perform a mute operation on the voice communication according to the mute command, or perform a mute operation on the communication according to the unmute command. .
所述控制指令具体还可以为拨号指令,所述拨号指令包括要拨打的DTMF信号,控制单元504具体用于向所述通信对端发送所述DTMF信号以进行二次拨号。The control instruction may specifically be a dialing instruction, where the dialing instruction includes a DTMF signal to be dialed, and the control unit 504 is specifically configured to send the DTMF signal to the communication peer to perform secondary dialing.
手柄管理单元501还可以用于获取所述IP话机与所述通信对端之间的通信的相关信息,并通过所述通信通道向所述移动终端发送所述IP话机与所述通信对端之间的通信的相关信息,所述通信的相关信息包括所述通信已进行的 时长和/或所述所述通信对端的信息。The handle management unit 501 is further configured to acquire information about communication between the IP phone and the communication peer, and send the IP phone and the communication peer to the mobile terminal by using the communication channel. Information related to communication, the related information of the communication including that the communication has been performed Duration and/or information of the communication peer.
所述通信已进行的时长具体为开始所述通信的时刻和所述IP话机发送所述相关信息的时刻的差值。手柄管理单元501具体可以向通信单元503获取所述通信已进行的时长。。The duration in which the communication has been performed is specifically the difference between the time when the communication is started and the time when the IP phone transmits the related information. The handle management unit 501 can specifically acquire the length of time that the communication has been performed to the communication unit 503. .
所述通信对端的信息可以包括所述通信对端的号码、所述通信对端的用户的信息(如用户的照片、名字、所在部门等)。其中,手柄管理单元501可以向通信单元503获取所述通信对端的号码。所述通信对端的用户的信息可以是预先存储在所述IP话机的本地通信录中的,相应地,手柄管理单元501可以利用向通信单元503获取的所述通信对端的号码从本地通信录中获取所述通信对端的用户的信息。所述通信对端的信息也可以是存储在用于管理用户信息的管理服务器上的,相应地,手柄管理单元501可以利用向通信单元503获取的所述通信对端的号码向所述管理服务器获取所述通信对端的用户的信息。The information of the communication peer may include the number of the communication peer, the information of the user of the communication peer (such as the user's photo, name, department, etc.). The handle management unit 501 can acquire the number of the communication peer to the communication unit 503. The information of the user of the communication peer may be pre-stored in the local address book of the IP phone. Accordingly, the handle management unit 501 may use the number of the communication peer acquired from the communication unit 503 from the local address book. Obtaining information of the user of the communication peer. The information of the communication peer may also be stored on a management server for managing user information. Accordingly, the handle management unit 501 may acquire the management server by using the number of the communication peer acquired from the communication unit 503. The information of the user at the opposite end of the communication.
通信单元503接收自所述通信对端的音频数据是利用所述IP话机与所述通信对端协商的音频格式编码的。手柄管理单元501还可以用于判断所述移动终端是否支持所述音频格式;相应地,通信单元503具体用于,在手柄管理单元501判断出所述移动终端支持所述音频格式时,将接收自所述通信对端的利用所述音频格式编码的音频数据发送给所述移动终端;或者,在手柄管理单元501判断出所述移动终端不支持所述音频格式时,对接收自所述通信对端的利用所述音频格式编码的音频数据进行解码,并将解码后的音频数据发送给所述移动终端。进一步地,手柄管理单元501还可以用于在判断出所述移动终端支持所述音频格式时,在所述启动指示中携带所述音频格式,以指示所述移动终端利用所述音频格式编码要发送给所述IP话机的音频数据。The audio data received by the communication unit 503 from the communication peer is encoded in an audio format negotiated with the communication peer by the IP phone. The handle management unit 501 is further configured to determine whether the mobile terminal supports the audio format. Correspondingly, the communication unit 503 is specifically configured to: when the handle management unit 501 determines that the mobile terminal supports the audio format, Transmitting audio data encoded by the audio format from the communication peer to the mobile terminal; or, when the handle management unit 501 determines that the mobile terminal does not support the audio format, receiving from the communication pair And decoding the audio data encoded by the audio format, and transmitting the decoded audio data to the mobile terminal. Further, the handle management unit 501 is further configured to: when determining that the mobile terminal supports the audio format, carry the audio format in the startup indication, to indicate that the mobile terminal uses the audio format to encode Audio data sent to the IP phone.
另外,手柄管理单元501还可以用于,在接收到所述通信对端发送的挂机信令时,向所述移动终端发送停止指示,以指示所述移动终端停止采集音频数据。In addition, the handle management unit 501 is further configured to: when receiving the on-hook signaling sent by the communication peer, send a stop indication to the mobile terminal to instruct the mobile terminal to stop collecting audio data.
本发明实施例2中描述的IP话机500可以用来实施上述实施例1所述的 方法。The IP phone 500 described in Embodiment 2 of the present invention can be used to implement the foregoing Embodiment 1 method.
根据本发明实施例2提供的IP话机,可以将移动终端作为IP话机的手柄使用,不配置蓝牙耳机也可以满足利用IP话机进行通信时可以短距离离开的需求,从而解决了现有技术存在的硬件成本较高的问题。According to the IP phone provided in Embodiment 2 of the present invention, the mobile terminal can be used as the handle of the IP phone, and the Bluetooth headset can be configured to meet the requirement of short-distance leaving when communicating by using the IP phone, thereby solving the existing technology. The problem of higher hardware costs.
根据本发明实施例1,本发明实施例3提出了一种移动终端600,如图6A所示,移动终端600包括:连接建立单元601和通信单元602。According to Embodiment 1 of the present invention, Embodiment 3 of the present invention provides a mobile terminal 600. As shown in FIG. 6A, the mobile terminal 600 includes a connection establishing unit 601 and a communication unit 602.
连接建立单元601,用于建立与IP话机之间的基于短距离无线通信连接的通信通道。所述IP话机与通信对端已建立通信连接进行通信。The connection establishing unit 601 is configured to establish a communication channel based on the short-range wireless communication connection between the IP phone. The IP phone and the communication peer have established a communication connection for communication.
通信单元602,用于在通过连接建立单元601建立的所述通信通道接收到来自所述IP话机的启动指示时,监听所述通信通道,并在收到来自所述IP话机的音频数据时播放所述音频数据。The communication unit 602 is configured to listen to the communication channel when the activation indication from the IP phone is received by the communication channel established by the connection establishing unit 601, and play when receiving audio data from the IP phone The audio data.
进一步地,通信单元602,还可以用于在接收到所述启动指示时,采集音频数据并通过所述通信通道将采集到的音频数据发送给所述IP话机以便于所述IP话机将接收自所述移动终端的音频数据发送给所述通信对端。所述通信单元具体是通过调用所述移动终端的操作系统提供的API以利用所述移动终端的麦克风采集音频数据。Further, the communication unit 602 is further configured to: when receiving the startup indication, collect audio data, and send the collected audio data to the IP phone through the communication channel, so that the IP phone will receive the The audio data of the mobile terminal is sent to the communication peer. The communication unit specifically collects audio data by using a microphone provided by an operating system of the mobile terminal to utilize the microphone of the mobile terminal.
如图6B所示,所述移动终端还包括界面接口单元603。通信单元602还可以用于,在接收到所述启动指示时通过界面接口单元603在所述移动终端的界面上显示控制按钮,所述控制按钮用于控制所述IP话机与当前与所述IP话机通信的通信对端之间的通信过程,并在界面接口单元603检测到操作所述控制按钮所触发的指示信号时,根据所述指示信号生成控制指令,并通过所述通信通道向所述IP话机发送所述控制指令,以指示所述IP话机控制所述IP话机与所述通信对端之间的通信过程;界面接口单元603,用于在所述移动终端的界面上显示所述通信的控制按钮,并用于检测操作所述控制按钮所触发的指示信号。As shown in FIG. 6B, the mobile terminal further includes an interface interface unit 603. The communication unit 602 is further configured to display, by the interface interface unit 603, a control button on the interface of the mobile terminal when receiving the startup indication, where the control button is used to control the IP phone with the current and the IP a communication process between the communication peers of the telephone communication, and when the interface interface unit 603 detects the indication signal triggered by the operation of the control button, generates a control instruction according to the indication signal, and sends the control instruction to the The IP phone sends the control command to instruct the IP phone to control a communication process between the IP phone and the communication peer; the interface interface unit 603 is configured to display the communication on an interface of the mobile terminal. And a control button for detecting an indication signal triggered by the operation of the control button.
所述控制指令具体可以为通信结束指令,用于指示所述IP话机结束与所 述通信对端之间的通信。The control instruction may specifically be a communication end instruction, and is used to indicate that the IP phone ends and The communication between the opposite ends of the communication.
所述控制指令具体还可以为静音指令或解除静音指令,用于指示所述IP话机对所述通信进行静音操作或解除静音操作。The control command may specifically be a mute command or a mute command, and is used to instruct the IP phone to perform a mute operation or a mute operation on the communication.
所述控制指令具体还可以为包括DTMF信号的拨号指令,用于指示所述IP话机向所述通信对端发送所述DTMF信号以进行二次拨号。The control instruction may specifically be a dialing instruction including a DTMF signal, and is used to instruct the IP phone to send the DTMF signal to the communication peer to perform secondary dialing.
通信单元602还可以用于,通过所述通信通道接收所述IP话机发送的所述IP话机与所述通信对端之间的通信的相关信息,并通过界面接口单元603在所述移动终端的界面上显示所述通信的相关信息,所述通信的相关信息包括所述通信已进行的时长和/或所述所述通信对端的信息,所述通信已进行的时长为开始所述通信的时刻和所述IP话机发送所述相关信息的时刻的差值;界面接口单元603,还用于在所述移动终端的界面上显示所述通信的相关信息。The communication unit 602 is further configured to receive, by using the communication channel, information about communication between the IP phone and the communication peer end sent by the IP phone, and the interface interface unit 603 is at the mobile terminal by using the interface Information related to the communication is displayed on the interface, the related information of the communication includes a duration of the communication and/or information of the communication peer, and the duration of the communication is a time when the communication is started. The difference between the time when the IP phone sends the related information, and the interface interface unit 603 is further configured to display the related information of the communication on the interface of the mobile terminal.
另外,通信单元602,还可以用于通过所述通信通道接收所述IP话机发送的停止指示,并根据所述停止指示停止采集音频数据。In addition, the communication unit 602 is further configured to receive, by using the communication channel, a stop indication sent by the IP phone, and stop collecting audio data according to the stop indication.
本发明实施例3中描述的IP话机500可以用来实施上述实施例1所述的方法。The IP phone 500 described in Embodiment 3 of the present invention can be used to implement the method described in Embodiment 1 above.
根据本发明实施例2提供的移动终端,可以将该移动终端作为IP话机的手柄使用,不配置蓝牙耳机也可以满足利用IP话机进行通信时可以短距离离开的需求,从而解决了现有技术存在的硬件成本较高的问题。According to the mobile terminal provided by Embodiment 2 of the present invention, the mobile terminal can be used as a handle of an IP phone, and the Bluetooth headset can be configured to meet the requirement of short-distance leaving when communicating by using an IP phone, thereby solving the prior art. The problem of higher hardware costs.
根据本发明实施例1,本发明实施例4提供了一种IP话机1000,如图6所示,IP话机1000包括处理器(processor)1010和存储器(memory)1020,其中,处理器1010和存储器1020之间通过总线完成相互间的通信。According to Embodiment 1 of the present invention, Embodiment 4 of the present invention provides an IP phone 1000. As shown in FIG. 6, the IP phone 1000 includes a processor 1010 and a memory 1020, wherein the processor 1010 and the memory are provided. 1020 between the two through the bus to complete communication.
存储器1020,用于存放计算机操作指令。存储器1020可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 1020 is configured to store computer operation instructions. The memory 1020 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
处理器1010,用于执行存储器1020中存放的计算机操作指令。处理器1010具体可以是中央处理器(CPU,central processing unit),是计算机核心单 元。The processor 1010 is configured to execute computer operation instructions stored in the memory 1020. The processor 1010 may be a central processing unit (CPU), which is a computer core single. yuan.
其中,处理器1010执行所述计算机操作指令使得IP话机1000执行上述实施例1所述的方法中IP话机所执行的操作。The processor 1010 executes the computer operation instruction to cause the IP phone 1000 to perform the operations performed by the IP phone in the method described in Embodiment 1 above.
根据本发明实施例4提供的IP话机,可以将移动终端作为IP话机的手柄使用,不配置蓝牙耳机也可以满足利用IP话机进行通信时可以短距离离开的需求,从而解决了现有技术存在的硬件成本较高的问题。According to the IP phone provided in Embodiment 4 of the present invention, the mobile terminal can be used as the handle of the IP phone, and the Bluetooth headset can be configured to meet the requirement of short-distance leaving when communicating by using the IP phone, thereby solving the existing technology. The problem of higher hardware costs.
根据本发明实施例1,本发明实施例5提供了一种移动终端2000,如图7所示,移动终端2000包括处理器(processor)2010和存储器(memory)2020,其中,处理器2010和存储器2020之间通过总线完成相互间的通信。According to Embodiment 1 of the present invention, Embodiment 5 of the present invention provides a mobile terminal 2000. As shown in FIG. 7, the mobile terminal 2000 includes a processor 2010 and a memory 2020, wherein the processor 2010 and the memory Between 2020, communication between the two is completed through the bus.
存储器2020,用于存放计算机操作指令。存储器2020可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 2020 is configured to store computer operating instructions. The memory 2020 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
处理器2010,用于执行存储器2020中存放的计算机操作指令。处理器2010具体可以是中央处理器(CPU,central processing unit),是计算机核心单元。The processor 2010 is configured to execute computer operation instructions stored in the memory 2020. The processor 2010 may specifically be a central processing unit (CPU) and is a computer core unit.
其中,处理器2010执行所述计算机操作指令使得移动终端2000执行上述实施例1所述的方法中移动终端所执行的操作。The processor 2010 executes the computer operation instruction to cause the mobile terminal 2000 to perform the operations performed by the mobile terminal in the method described in Embodiment 1 above.
根据本发明实施例5提供的移动终端,可以将该移动终端作为IP话机的手柄使用,不配置蓝牙耳机也可以满足利用IP话机进行通信时可以短距离离开的需求,从而解决了现有技术存在的硬件成本较高的问题。According to the mobile terminal provided in Embodiment 5 of the present invention, the mobile terminal can be used as a handle of an IP phone, and the Bluetooth headset can be configured to meet the requirement of short-distance leaving when communicating by using an IP phone, thereby solving the prior art. The problem of higher hardware costs.
根据本发明实施例1,本发明实施例6提出了一种通信系统5000,如图8所示,通信系统5000包括IP话机5010和移动终端5020。According to Embodiment 1 of the present invention, Embodiment 6 of the present invention proposes a communication system 5000. As shown in FIG. 8, the communication system 5000 includes an IP phone 5010 and a mobile terminal 5020.
IP话机5010具体可以为实施例2提供的IP话机500或实施例4提供的IP话机1000,移动终端5020具体可以为实施例3提供的移动终端600或实施例3提供的移动终端2000。 The IP phone 5010 may specifically be the IP phone 500 provided in Embodiment 2 or the IP phone 1000 provided in Embodiment 4. The mobile terminal 5020 may specifically be the mobile terminal 600 provided in Embodiment 3 or the mobile terminal 2000 provided in Embodiment 3.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims (29)

  1. 一种实现将移动终端作为IP话机的手柄的方法,其特征在于,所述方法应用于与通信对端进行通信的IP话机,包括:A method for implementing a mobile terminal as a handle of an IP phone, wherein the method is applied to an IP phone that communicates with a communication peer, including:
    所述IP话机在检测到用于指示将移动终端作为所述IP话机的手柄的指示信号时,建立与所述移动终端之间的基于短距离无线通信连接的通信通道,并通过所述通信通道向所述移动终端发送启动指示,所述启动指示用于指示所述移动终端播放通过所述通信通道接收的来自所述IP话机的音频数据;When the IP phone detects an indication signal for indicating that the mobile terminal is used as a handle of the IP phone, establishing a communication channel based on a short-range wireless communication connection with the mobile terminal, and passing through the communication channel Sending, to the mobile terminal, a startup indication, where the startup indication is used to instruct the mobile terminal to play audio data from the IP phone received through the communication channel;
    所述IP话机接收所述通信对端的音频数据,并将接收自所述通信对端的音频数据通过所述通信通道发送给所述移动终端。The IP phone receives the audio data of the communication peer end, and sends the audio data received from the communication peer end to the mobile terminal through the communication channel.
  2. 根据权利要求1所述的方法,其特征在于,所述启动指示还用于指示所述移动终端通过所述通信通道向所述IP话机发送所述移动终端采集的音频数据;The method according to claim 1, wherein the activation indication is further configured to instruct the mobile terminal to send audio data collected by the mobile terminal to the IP phone through the communication channel;
    所述向所述移动终端发送启动指示之后还包括,所述IP话机通过所述通信通道接收来自所述移动终端的音频数据,并将所述音频数据发送给所述通信对端。After the sending the activation indication to the mobile terminal, the IP phone further receives audio data from the mobile terminal through the communication channel, and sends the audio data to the communication peer.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括,所述IP话机通过所述通信通道接收来自所述移动终端的控制指令,并根据所述控制指令控制所述IP话机与所述通信对端之间的通信过程。The method according to claim 1 or 2, wherein the method further comprises: the IP phone receiving a control command from the mobile terminal through the communication channel, and controlling the IP according to the control command The communication process between the phone and the communication peer.
  4. 根据权利要求3所述的方法,其特征在于,The method of claim 3 wherein:
    所述控制指令具体为通信结束指令;所述根据所述控制指令控制所述IP话机与所述通信对端之间的通信过程具体包括,根据所述通信结束指令向所述通信对端发送挂机信令以结束与所述通信对端之间的通信;或者,The control instruction is specifically a communication end instruction; the controlling the communication process between the IP phone and the communication peer according to the control instruction specifically includes: sending an on-hook to the communication peer according to the communication end instruction Signaling to end communication with the communication peer; or
    所述控制指令具体为静音指令或解除静音指令;所述根据所述控制指令控制所述IP话机与所述通信对端之间的通信过程具体包括,根据所述静音指令对所述通信进行静音操作,或根据所述解除静音指令对所述通信进行解除静音操作;或者, The control instruction is specifically a mute command or a mute command; the controlling the communication process between the IP phone and the communication peer according to the control instruction specifically includes: muteing the communication according to the mute command Operating, or unmuting the communication according to the unmute command; or
    所述控制指令具体为拨号指令,所述拨号指令包括要拨打的DTMF信号;所述根据所述控制指令控制所述IP话机与所述通信对端之间的通信过程具体包括,根据所述拨号指令向所述通信对端发送所述DTMF信号以进行二次拨号。The control instruction is specifically a dialing instruction, and the dialing instruction includes a DTMF signal to be dialed; and the controlling the communication process between the IP phone and the communication peer according to the control instruction specifically includes: according to the dialing The instruction sends the DTMF signal to the communication peer for secondary dialing.
  5. 根据权利要求1-4任一所述的方法,其特征在于,所述方法还包括,所述IP话机通过所述通信通道向所述移动终端发送所述IP话机与所述通信对端之间的通信的相关信息,所述通信的相关信息包括所述通信已进行的时长和/或所述通信对端的信息。The method according to any one of claims 1 to 4, wherein the method further comprises: the IP phone transmitting, between the IP phone and the communication peer, to the mobile terminal through the communication channel Information related to the communication, the related information of the communication including the duration of the communication that has been performed and/or the information of the communication peer.
  6. 根据权利要求1-5任一所述的方法,其特征在于,所述IP话机接收自所述通信对端的音频数据是利用所述IP话机与所述通信对端协商的音频格式编码的;The method according to any one of claims 1-5, wherein the audio data received by the IP phone from the communication peer is encoded by an audio format negotiated by the IP phone with the communication peer;
    所述向所述移动终端发送启动指示之前还包括:所述IP话机判断所述移动终端是否支持所述音频格式;Before the sending the startup indication to the mobile terminal, the method further includes: determining, by the IP phone, whether the mobile terminal supports the audio format;
    所述IP话机将接收自所述通信对端的音频数据通过所述通信通道发送给所述移动终端具体包括:所述IP话机在判断出所述移动终端支持所述音频格式时,将接收自所述通信对端的利用所述音频格式编码的音频数据发送给所述移动终端;或者,在判断出所述移动终端不支持所述音频格式时,对接收自所述通信对端的利用所述音频格式编码的音频数据进行解码,并将解码后的音频数据发送给所述移动终端。The IP phone sends the audio data received from the communication peer to the mobile terminal by using the communication channel, and specifically includes: when the IP phone determines that the mobile terminal supports the audio format, the IP phone receives the audio data. Transmitting, by the communication peer, audio data encoded by the audio format to the mobile terminal; or, when determining that the mobile terminal does not support the audio format, using the audio format received from the communication peer The encoded audio data is decoded and the decoded audio data is transmitted to the mobile terminal.
  7. 根据权利要求6所述的方法,其特征在于,所述IP话机在判断出所述移动终端支持所述音频格式时,在所述启动指示中携带所述音频格式,以指示所述移动终端利用所述音频格式编码要发送给所述IP话机的音频数据。The method according to claim 6, wherein the IP phone carries the audio format in the activation indication to indicate that the mobile terminal utilizes the mobile terminal when it is determined that the mobile terminal supports the audio format. The audio format encodes audio data to be sent to the IP phone.
  8. 根据权利要求2-7任一所述的方法,其特征在于,所述向所述移动终端发送启动指示之后还包括,所述IP话机在接收到所述通信对端发送的挂机信令时,停止向所述移动终端发送音频数据,并向所述移动终端发送停止指示,以指示所述移动终端停止采集音频数据。 The method according to any one of claims 2-7, wherein after the sending the activation indication to the mobile terminal, the method further comprises: when the IP phone receives the on-hook signaling sent by the communication peer, Stop transmitting audio data to the mobile terminal, and send a stop indication to the mobile terminal to instruct the mobile terminal to stop collecting audio data.
  9. 一种实现将移动终端作为IP话机的手柄的方法,其特征在于,包括:A method for implementing a mobile terminal as a handle of an IP phone, comprising:
    移动终端建立与IP话机之间的基于短距离无线通信连接的通信通道;The mobile terminal establishes a communication channel based on a short-range wireless communication connection with the IP phone;
    所述移动终端在通过所述通信通道接收到来自所述IP话机的启动指示时,监听所述IP话机与所述移动终端之间建立的通信通道,并在收到来自所述IP话机的音频数据时播放所述音频数据。Receiving, by the mobile terminal, an initiation indication from the IP phone, the mobile terminal intercepts a communication channel established between the IP phone and the mobile terminal, and receives audio from the IP phone. The audio data is played while the data is being played.
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括,所述移动终端在接收到所述启动指示时,采集音频数据并通过所述通信通道将采集到的音频数据发送给所述IP话机。The method according to claim 9, wherein the method further comprises: when receiving the activation indication, the mobile terminal acquires audio data and transmits the collected audio data to the office through the communication channel. Said IP phone.
  11. 根据权利要求9或10所述的方法,其特征在于,所述方法还包括,所述移动终端在接收到所述启动指示时在所述移动终端的界面上显示控制按钮,所述控制按钮用于控制所述IP话机与当前与所述IP话机通信的通信对端之间的通信过程,并在检测到操作所述控制按钮所触发的指示信号时,通过所述通信通道向所述IP话机发送根据所述指示信号生成的控制指令,以指示所述IP话机控制所述IP话机与所述通信对端之间的通信过程。The method according to claim 9 or 10, wherein the method further comprises: the mobile terminal displaying a control button on an interface of the mobile terminal when receiving the activation indication, the control button Controlling a communication process between the IP phone and a communication peer currently communicating with the IP phone, and when detecting an indication signal triggered by the operation of the control button, to the IP phone through the communication channel And sending a control instruction generated according to the indication signal to instruct the IP phone to control a communication process between the IP phone and the communication peer.
  12. 根据权利要求11所述的方法,其特征在于,The method of claim 11 wherein
    所述控制指令具体为通信结束指令,用于指示所述IP话机结束与所述通信对端之间的通信;或者,The control instruction is specifically a communication end instruction, and is used to indicate that the IP phone ends communication with the communication peer; or
    所述控制指令具体为静音指令或解除静音指令,用于指示所述IP话机对所述通信进行静音操作或解除静音操作;或者,The control command is specifically a mute command or a mute command, and is used to instruct the IP phone to perform a mute operation or a mute operation on the communication; or
    所述控制指令具体为包括DTMF信号的拨号指令,用于指示所述IP话机向所述通信对端发送所述DTMF信号以进行二次拨号。The control command is specifically a dialing instruction including a DTMF signal, and is used to instruct the IP phone to send the DTMF signal to the communication peer to perform secondary dialing.
  13. 根据权利要求11或12所述的方法,其特征在于,所述方法还包括,所述移动终端通过所述通信通道接收所述IP话机发送的所述IP话机与所述通信对端之间的通信的相关信息,并在所述移动终端的界面上显示所述通信的相关信息,所述通信的相关信息包括所述通信已进行的时长和/或所述所述通信对端的信息。 The method according to claim 11 or 12, wherein the method further comprises: the mobile terminal receiving, by the communication channel, between the IP phone sent by the IP phone and the communication peer And related information of the communication, and displaying related information of the communication on an interface of the mobile terminal, where the related information of the communication includes a duration of the communication and/or information of the communication peer.
  14. 根据权利要求10-13任一所述的方法,其特征在于,所述接收所述启动指示之后还包括,所述移动终端通过所述通信通道接收所述IP话机发送的停止指示,并根据所述停止指示停止采集音频数据。The method according to any one of claims 10-13, wherein after receiving the activation indication, the mobile terminal further receives, by the communication channel, a stop indication sent by the IP phone, and according to the The stop indication stops the acquisition of audio data.
  15. 一种IP话机,其特征在于,所述IP话机包括手柄管理单元、连接建立单元和通信单元;An IP phone, characterized in that the IP phone comprises a handle management unit, a connection establishing unit and a communication unit;
    所述手柄管理单元,用于在检测到用于指示将移动终端作为所述IP话机的手柄的指示信号时,指示所述连接建立单元建立与所述移动终端之间的基于短距离无线通信连接的通信通道,并通过所述通信通道向所述移动终端发送启动指示,所述启动指示用于指示所述移动终端播放通过所述通信通道接收的来自所述IP话机的音频数据;The handle management unit is configured to instruct the connection establishing unit to establish a short-range wireless communication connection with the mobile terminal when detecting an indication signal for indicating that the mobile terminal is used as a handle of the IP phone a communication channel, and sending, by the communication channel, a startup indication to the mobile terminal, the activation indication being used to instruct the mobile terminal to play audio data from the IP phone received through the communication channel;
    所述通信单元,用于接收与所述IP话机进行通信的通信对端的音频数据,并将接收自所述通信对端的音频数据通过所述通信通道发送给所述移动终端。The communication unit is configured to receive audio data of a communication peer end that communicates with the IP phone, and send audio data received from the communication peer end to the mobile terminal by using the communication channel.
  16. 根据权利要求15所述的IP话机,其特征在于,所述启动指示还用于指示所述移动终端通过所述通信通道向所述IP话机发送所述移动终端采集的音频数据;The IP phone according to claim 15, wherein the activation indication is further configured to instruct the mobile terminal to send the audio data collected by the mobile terminal to the IP phone through the communication channel;
    所述通信单元,还用于通过所述通信通道接收来自所述移动终端的音频数据,并将所述音频媒体发送给所述通信对端。The communication unit is further configured to receive audio data from the mobile terminal through the communication channel, and send the audio media to the communication peer.
  17. 根据权利要求15或16所述的IP话机,其特征在于,所述IP话机还包括控制单元,所述控制单元用于在通过所述通信通道接收到来自所述移动终端的控制指令时,根据所述控制指令控制所述IP话机与所述通信对端之间的通信过程。The IP telephone according to claim 15 or 16, wherein the IP telephone further comprises a control unit, and the control unit is configured to, when receiving a control instruction from the mobile terminal through the communication channel, according to The control instruction controls a communication process between the IP phone and the communication peer.
  18. 根据权利要求17所述的IP话机,其特征在于,The IP telephone according to claim 17, wherein
    所述控制指令具体为通信结束指令,所述控制单元具体用于根据所述通信结束指令向所述通信对端发送挂机信令以结束与所述通信对端之间的通信;或者, The control instruction is specifically a communication end instruction, and the control unit is specifically configured to send the on-hook signaling to the communication peer end according to the communication end instruction to end communication with the communication peer end; or
    所述控制指令具体为静音指令或解除静音指令,所述控制单元具体用于,根据所述静音指令对所述语音通信进行静音操作,或根据所述解除静音指令对所述通信进行解除静音操作;或者,The control instruction is specifically a mute command or a mute command, and the control unit is specifically configured to perform a mute operation on the voice communication according to the mute command, or perform a mute operation on the communication according to the unmute command. ;or,
    所述控制指令具体为拨号指令,所述拨号指令包括要拨打的DTMF信号,所述控制单元具体用于根据所述拨号指令向所述通信对端发送所述DTMF信号以进行二次拨号。The control command is specifically a dialing instruction, and the dialing instruction includes a DTMF signal to be dialed, and the control unit is specifically configured to send the DTMF signal to the communication peer according to the dialing instruction to perform secondary dialing.
  19. 根据权利要求15-18任一所述的IP话机,其特征在于,所述手柄管理单元还用于获取所述IP话机与所述通信对端之间的通信的相关信息,并通过所述通信通道向所述移动终端发送所述IP话机与所述通信对端之间的通信的相关信息,所述通信的相关信息包括所述通信已进行的时长和/或所述通信对端的信息。The IP phone according to any one of claims 15 to 18, wherein the handle management unit is further configured to acquire information about communication between the IP phone and the communication peer, and pass the communication The channel sends information about communication between the IP phone and the communication peer to the mobile terminal, and the related information of the communication includes duration of the communication and/or information of the communication peer.
  20. 根据权利要求15-19任一所述的IP话机,其特征在于,所述通信单元接收自所述通信对端的音频数据是利用所述IP话机与所述通信对端协商的音频格式编码的;The IP telephone according to any one of claims 15 to 19, wherein the audio data received by the communication unit from the communication peer is encoded by an audio format negotiated by the IP phone with the communication peer;
    所述手柄管理单元还用于判断所述移动终端是否支持所述音频格式;The handle management unit is further configured to determine whether the mobile terminal supports the audio format;
    所述通信单元具体用于,在所述手柄管理单元判断出所述移动终端支持所述音频格式时,将接收自所述通信对端的利用所述音频格式编码的音频数据发送给所述移动终端;或者,在所述手柄管理单元判断出所述移动终端不支持所述音频格式时,对接收自所述通信对端的利用所述音频格式编码的音频数据进行解码,并将解码后的音频数据发送给所述移动终端。The communication unit is specifically configured to: when the handle management unit determines that the mobile terminal supports the audio format, send, by the mobile terminal, audio data encoded by using the audio format to the mobile terminal. Or, when the handle management unit determines that the mobile terminal does not support the audio format, decodes audio data encoded by the audio format received by the communication peer, and decodes the audio data. Send to the mobile terminal.
  21. 根据权利要求20所述的IP话机,其特征在于,所述手柄管理单元还用于在判断出所述移动终端支持所述音频格式时,在所述启动指示中携带所述音频格式,以指示所述移动终端利用所述音频格式编码要发送给所述IP话机的音频数据。The IP phone according to claim 20, wherein the handle management unit is further configured to: when the mobile terminal supports the audio format, carry the audio format in the activation indication to indicate The mobile terminal encodes audio data to be transmitted to the IP phone using the audio format.
  22. 根据权利要求16-21任一所述的IP话机,其特征在于,所述手柄管理单元还用于,在接收到所述通信对端发送的挂机信令时,向所述移动终端发 送停止指示,以指示所述移动终端停止采集音频数据。The IP phone according to any one of claims 16 to 21, wherein the handle management unit is further configured to send to the mobile terminal when receiving the on-hook signaling sent by the communication peer A stop indication is sent to instruct the mobile terminal to stop collecting audio data.
  23. 一种移动终端,其特征在于,包括:连接建立单元和通信单元;A mobile terminal, comprising: a connection establishing unit and a communication unit;
    所述连接建立单元,用于建立与IP话机之间的基于短距离无线通信连接的通信通道;The connection establishing unit is configured to establish a communication channel based on a short-range wireless communication connection between the IP phone and the IP phone;
    所述通信单元,用于在通过所述连接建立单元建立的所述通信通道接收到来自所述IP话机的启动指示时,监听所述通信通道,并在收到来自所述IP话机的音频数据时播放所述音频数据。The communication unit is configured to listen to the communication channel when receiving the activation indication from the IP phone by the communication channel established by the connection establishment unit, and receive audio data from the IP phone The audio data is played.
  24. 根据权利要求23所述的移动终端,其特征在于,所述通信单元还用于在接收到所述启动指示时,采集音频数据并通过所述通信通道将采集到的音频数据发送给所述IP话机。The mobile terminal according to claim 23, wherein the communication unit is further configured to: when receiving the activation indication, acquire audio data and send the collected audio data to the IP through the communication channel. Phone.
  25. 根据权利要求23或24所述的移动终端,其特征在于,所述移动终端还包括界面接口单元;The mobile terminal according to claim 23 or 24, wherein the mobile terminal further comprises an interface interface unit;
    所述通信单元在接收到所述启动指示时通过所述界面接口单元在所述移动终端的界面上显示控制按钮,所述控制按钮用于控制所述IP话机与当前与所述IP话机通信的通信对端之间的通信过程,并在所述界面接口单元检测到操作所述控制按钮所触发的指示信号时,根据所述指示信号生成控制指令,并通过所述通信通道向所述IP话机发送所述控制指令,以指示所述IP话机控制所述IP话机与所述通信对端之间的通信过程;The communication unit displays a control button on the interface of the mobile terminal through the interface interface unit when receiving the startup indication, where the control button is used to control the IP phone to communicate with the IP phone currently. a communication process between the communication peers, and when the interface interface unit detects an indication signal triggered by the operation of the control button, generates a control instruction according to the indication signal, and sends the control message to the IP phone through the communication channel Sending the control instruction to instruct the IP phone to control a communication process between the IP phone and the communication peer end;
    所述界面接口单元,用于在所述移动终端的界面上显示所述控制按钮,并用于检测操作所述控制按钮所触发的指示信号。The interface interface unit is configured to display the control button on an interface of the mobile terminal, and is configured to detect an indication signal triggered by the operation of the control button.
  26. 根据权利要求25所述的移动终端,其特征在于,The mobile terminal of claim 25, wherein
    所述控制指令具体为通信结束指令,用于指示所述IP话机结束与所述通信对端之间的通信;或者,The control instruction is specifically a communication end instruction, and is used to indicate that the IP phone ends communication with the communication peer; or
    所述控制指令具体为静音指令或解除静音指令,用于指示所述IP话机对所述语音通信进行静音操作或解除静音操作;或者, The control command is specifically a mute command or a mute command, and is used to instruct the IP phone to perform a mute operation or a mute operation on the voice communication; or
    所述控制指令具体为包括DTMF信号的拨号指令,用于指示所述IP话机向所述通信对端发送所述DTMF信号以进行二次拨号。The control command is specifically a dialing instruction including a DTMF signal, and is used to instruct the IP phone to send the DTMF signal to the communication peer to perform secondary dialing.
  27. 根据权利要求25或26所述的移动终端,其特征在于,所述通信单元,还用于通过所述通信通道接收所述IP话机发送的所述IP话机与所述通信对端之间的通信的相关信息,并通过所述界面接口单元在所述移动终端的界面上显示所述通信的相关信息,所述通信的相关信息包括所述通信已进行的时长和/或所述所述通信对端的信息;The mobile terminal according to claim 25 or 26, wherein the communication unit is further configured to receive, by using the communication channel, communication between the IP phone and the communication peer end sent by the IP phone Related information, and displaying related information of the communication on the interface of the mobile terminal through the interface interface unit, the related information of the communication includes a duration of the communication has been performed and/or the communication pair Information of the end;
    所述界面接口单元,还用于在所述移动终端的界面上显示所述通信的相关信息。The interface interface unit is further configured to display related information of the communication on an interface of the mobile terminal.
  28. 根据权利要求24-27任一所述的移动终端,其特征在于,所述通信单元,还用于通过所述通信通道接收所述IP话机发送的停止指示,并根据所述停止指示停止采集音频数据。The mobile terminal according to any one of claims 24 to 27, wherein the communication unit is further configured to receive a stop indication sent by the IP phone through the communication channel, and stop collecting audio according to the stop indication. data.
  29. 一种通信系统,其特征在于,包括:如权利要求15-22任一所述的IP话机和如权利要求23-28任一所述的移动终端。 A communication system, comprising: the IP telephone according to any one of claims 15-22 and the mobile terminal according to any one of claims 23-28.
PCT/CN2015/083415 2015-07-06 2015-07-06 Method, apparatus and system for using mobile terminal as handset of ip telephone set WO2017004780A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/083415 WO2017004780A1 (en) 2015-07-06 2015-07-06 Method, apparatus and system for using mobile terminal as handset of ip telephone set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/083415 WO2017004780A1 (en) 2015-07-06 2015-07-06 Method, apparatus and system for using mobile terminal as handset of ip telephone set

Publications (1)

Publication Number Publication Date
WO2017004780A1 true WO2017004780A1 (en) 2017-01-12

Family

ID=57684642

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/083415 WO2017004780A1 (en) 2015-07-06 2015-07-06 Method, apparatus and system for using mobile terminal as handset of ip telephone set

Country Status (1)

Country Link
WO (1) WO2017004780A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127539A (en) * 2006-08-14 2008-02-20 台达电子工业股份有限公司 Bluetooth network phone and its wireless device
CN101399568A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Device for using mobile terminal as input output device of computer, system and method thereof
WO2013098263A1 (en) * 2011-12-30 2013-07-04 Gn Netcom A/S A wireless headset and a headset system for transferring call between two telecommunication devices
CN104602214A (en) * 2014-12-05 2015-05-06 南京中科创达软件科技有限公司 Expansion method of wireless voice and short message service of mobile phone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127539A (en) * 2006-08-14 2008-02-20 台达电子工业股份有限公司 Bluetooth network phone and its wireless device
CN101399568A (en) * 2007-09-29 2009-04-01 联想(北京)有限公司 Device for using mobile terminal as input output device of computer, system and method thereof
WO2013098263A1 (en) * 2011-12-30 2013-07-04 Gn Netcom A/S A wireless headset and a headset system for transferring call between two telecommunication devices
CN104602214A (en) * 2014-12-05 2015-05-06 南京中科创达软件科技有限公司 Expansion method of wireless voice and short message service of mobile phone

Similar Documents

Publication Publication Date Title
JP4950289B2 (en) System and method for multimedia networking using mobile phones and headsets
US10320980B2 (en) User device detection and integration for an IVR system
JP6456391B2 (en) Tunneling VOIP call control in cellular networks
WO2015188327A1 (en) Method and terminal for quickly starting application service
US8948691B2 (en) User application initiated telephony
KR20160043985A (en) Seamless call transitions with pre-escalation participation confirmation
US9049688B2 (en) Selective auto-accept of full duplex push to talk call
TW201540042A (en) Remote control device, telephone communication device, telephone communication system and telephone communication method
US20230138804A1 (en) Enhanced video call method and system, and electronic device
US20150119011A1 (en) Information processing method and device
US20090029694A1 (en) Control device, mobile communication system, and communication terminal
WO2015184924A1 (en) Method for implementing remote assistance between terminals, service assistance server and device
WO2012139515A1 (en) Method and system for network intercomming
WO2012163182A1 (en) Call transfer method and device
WO2016082694A1 (en) Operation prompting method and device
US20200186636A1 (en) Enabling call transfer using headset
US9432795B2 (en) Communication system, terminal, communication method and communication program for terminals while communicating with each other to identify the opposite party
WO2017004780A1 (en) Method, apparatus and system for using mobile terminal as handset of ip telephone set
WO2018058875A1 (en) Call switching method and system for terminal, terminal, and computer storage medium
CN113286281A (en) Emergency call method and related device
CN106657533B (en) Call handling method and device
CN104796488A (en) Information push method and device, terminal and server
WO2018153194A1 (en) Streaming data acquisition method, device, and system
WO2022247404A1 (en) Call control method and apparatus, call system, wearable device, and readable medium
CN111132104B (en) Method and device for searching mobile terminal

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: 15897436

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15897436

Country of ref document: EP

Kind code of ref document: A1