WO2017177526A1 - Voice communication device, and voice communication control method - Google Patents

Voice communication device, and voice communication control method Download PDF

Info

Publication number
WO2017177526A1
WO2017177526A1 PCT/CN2016/085038 CN2016085038W WO2017177526A1 WO 2017177526 A1 WO2017177526 A1 WO 2017177526A1 CN 2016085038 W CN2016085038 W CN 2016085038W WO 2017177526 A1 WO2017177526 A1 WO 2017177526A1
Authority
WO
WIPO (PCT)
Prior art keywords
call
incoming
information
voice
telephone
Prior art date
Application number
PCT/CN2016/085038
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 邦彦技术股份有限公司
Publication of WO2017177526A1 publication Critical patent/WO2017177526A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/012Comfort noise or silence coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M9/00Arrangements for interconnection not involving centralised switching
    • H04M9/08Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a voice call device and a voice call control method.
  • the main object of the present invention is to provide a voice call device and a voice call control method, which aim to solve the problem that the current different functions of the phones are separately connected to the respective telephone systems.
  • the present invention provides a voice call control method suitable for the voice call device, wherein the voice call device integrates different modes of telephone interfaces, and the phone interface includes a network telephone interface, a loop telephone interface, and / or fixed network telephone interface, the voice call control method comprises the following steps:
  • the call data packet is output using a telephone interface corresponding to the current telephone call mode.
  • the voice call control method of the voice call device further includes the following steps:
  • the multiple incoming call incoming information is queued to generate an incoming call information queue
  • Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
  • the step of acquiring the current call mode further includes:
  • the phone call mode corresponding to the selection operation is the current phone call mode.
  • the voice call control method of the voice call device further includes the following steps:
  • the multiple incoming call incoming information is queued to generate an incoming call information queue
  • Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
  • the step of acquiring the current call mode of the call further includes:
  • the voice call control method of the voice call device further includes the following steps:
  • the multiple incoming call incoming information is queued to generate an incoming call information queue
  • Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
  • the step of acquiring the call data packet by using a phone interface corresponding to the phone call mode includes:
  • the audio data input by the earpiece is collected, and the collected audio data is compressed to generate a first call data packet, and the call data packet is output through a telephone interface corresponding to the current call mode;
  • the received second call data packet is decompressed and output through the handset.
  • the voice call control method of the voice call device further includes the following steps:
  • the multiple incoming call incoming information is queued to generate an incoming call information queue
  • Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
  • the present invention further provides a voice call device, which is integrated with different modes of telephone interfaces, including a network telephone interface, a loop telephone interface, and/or a fixed network telephone interface.
  • the voice call device includes:
  • An obtaining module configured to acquire a current call mode when receiving an outgoing call instruction
  • a generating module configured to generate a call data packet according to an outgoing call number corresponding to the current call mode and a called number corresponding to the call instruction;
  • an output module configured to output the call data packet by using a telephone interface corresponding to the current telephone call mode.
  • the voice call device further includes:
  • a generating module configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue
  • the incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
  • the obtaining module comprises:
  • a determining unit configured to determine, when receiving the call instruction, whether the voice call device is in a power-on state
  • a display unit configured to display a selection interface for the user to select a call mode when the voice call device is in a power-on state
  • the first determining unit is configured to: when the selection operation triggered based on the selection interface is received, the phone call mode corresponding to the selection operation is the current phone call mode.
  • the voice call device further includes:
  • a generating module configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue
  • the incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
  • the acquiring module further includes:
  • the second determining unit is configured to determine, when the voice call device is in an unpowered state, the fixed call mode corresponding to the fixed network phone interface as the current call mode.
  • the voice call device further includes:
  • a generating module configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue
  • the incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
  • the output module comprises:
  • a first output unit configured to collect audio data input by the earpiece after the phone is turned on, and compress the collected audio data to generate a first call data packet, and the call data packet is corresponding to the current call mode Telephone interface output;
  • the second output unit is configured to: when the second call data packet is received by the telephone interface corresponding to the current call mode, the second call data packet is decompressed and output through the handset.
  • the voice call device further includes:
  • a generating module configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue
  • the incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
  • the invention acquires the current telephone call mode when receiving the telephone call out command, generates a call data packet according to the outgoing call number corresponding to the current telephone call mode and the called number corresponding to the call instruction, and adopts a call corresponding to the current telephone call mode.
  • the telephone interface outputs the call data packet, so that the voice call device is compatible with the call functions of the fixed line telephone call, the network telephone call, and the loop call, and the fixed telephone call function is retained, and the network telephone call can be selected based on the user's will.
  • the function or loop call function reduces the number of users' desktop voice call devices.
  • FIG. 1 is a schematic flowchart of a first embodiment of a voice call control method applicable to a voice call device according to the present invention
  • FIG. 2 is a schematic structural diagram of a voice call device according to the present invention.
  • step S10 is a schematic flowchart of a refinement step of step S10 in the first embodiment of the voice call control method of the present invention
  • step S30 is a schematic flowchart of a refinement step of step S30 in the first embodiment of the voice call control method of the present invention
  • FIG. 5 is a schematic flowchart of a second embodiment of a voice call control method applicable to a voice call device according to the present invention.
  • FIG. 6 is a schematic diagram of functional modules of a first embodiment of a voice call device according to the present invention.
  • FIG. 7 is a schematic diagram of functional modules of an acquisition module in a second embodiment of a voice call device according to the present invention.
  • FIG. 8 is a schematic diagram of functional modules of an output module in a third embodiment of a voice call device according to the present invention.
  • FIG. 9 is a schematic diagram of functional modules of a fourth embodiment of a voice communication device according to the present invention.
  • the present invention provides a voice call control method suitable for a voice call device.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a voice call control method applicable to a voice call device according to the present invention.
  • Step S110 Acquire a current call mode when receiving a call by the phone
  • FIG. 2 is a schematic structural diagram of a voice call device according to the present invention.
  • the voice call device is integrated with a phone interface of different modes, and the phone interface includes a network phone interface 60, a loop phone interface 70, and a fixed network phone interface 80.
  • the user inputs a phone number on the voice call device, and the phone module
  • the dialing unit 40 receives the telephone number input signal, and when the user dials in the predetermined time, the telephone module 40 triggers the telephone call out command, and sends the telephone call out command to the human-machine switching module 20 through the call control module 40, so that the The human-machine switching module 20 in the voice-talking device displays the call-out mode currently recorded by the voice-talking device based on the call-out command, and after the human-machine switch module 20 in the voice-talking device receives the call-out mode input by the user,
  • the call mode is sent to the call control module 10 for the call control module 10 to acquire the call mode and use the call mode as the current call mode.
  • Step S120 Generate a call data packet according to the outgoing call number corresponding to the current call mode and the called number corresponding to the call instruction.
  • the call control module 10 After the call control module 10 obtains the current call mode, the call control module 10 packs the call number dialed by the current call mode and the called number corresponding to the phone call command to generate a call data packet.
  • the user needs to pre-determine whether the currently dialed phone number is a phone number that can only be communicated through the IP network. The user correctly determines that the phone number is a call that can only be made through the IP network. After the number, the user selects the network telephone call out mode in the outgoing call selection window popped up by the human interaction module 10 to make a call.
  • Step S130 outputting a call data packet by using a telephone interface corresponding to the current telephone call mode.
  • the call control module 10 After the call control module 10 obtains the current call mode, the call control module 10 turns on the telephone interface corresponding to the current call mode, and outputs the call data packet by using a telephone interface corresponding to the current call mode.
  • the current call mode is obtained, and the call data packet is generated according to the call number corresponding to the current call mode and the called number corresponding to the call instruction, and corresponds to the current call mode.
  • the telephone interface outputs the call data packet, so that the voice call device is compatible with the call functions of the fixed line telephone call, the network telephone call and the loop call, and the fixed telephone call function is retained, and the network telephone can be selected based on the user's will.
  • the call function or loop call function reduces the number of users' desktop voice call equipment.
  • FIG. 3 is a schematic flowchart of the refinement step of step S110 in the first embodiment of the present invention.
  • the refinement step of step S110 includes:
  • Step S111 when receiving the call instruction of the telephone, determining whether the voice call device is in a power-on state
  • Step S112 when the voice call device is in the power-on state, displaying a selection interface for the user to select the phone call mode;
  • the call control module 10 determines whether the voice call device is in the power-on state, and if so, the call control module 10 receives the call command sent by the dialing unit. And sending the outgoing call instruction to the human-machine switching module 20 through the network switching module 30.
  • the human-machine switching module 20 displays a call-out selection window according to the outgoing call instruction, and the call is selected in the call window. Includes phone call mode for users to view.
  • the human-machine interaction module 20 pops up the call-out selection window including the call-out mode, the user selects the call-out mode according to his/her own intention, and the human-machine interaction module 20 calls the call after acquiring the call mode selected by the user.
  • the mode is fed back to the call control module 10 through the network switching module 30.
  • Step S113 when receiving the selection operation triggered by the selection interface, the phone call mode corresponding to the selection operation is the current phone call mode.
  • the voice-talking device When the human-machine switching module 20 receives the network telephone call-out mode selected by the user in the pop-up call-out selection window, the voice-talking device performs a telephone call out in the network telephone call-out mode, and the human-machine interaction module 20 calls the network telephone call.
  • the mode is sent to the telephone switching module 50 through the call control module 10, and the network telephone call mode is used as the current telephone call mode.
  • the voice-talking device When the human-machine interaction module 20 receives the loop telephone call-out mode selected by the user in the pop-up call-out selection window, the voice-talking device performs a telephone call-out in a loop-phone call-out mode, and the human-machine interaction module 20 and the ring
  • the telephone call mode is sent to the telephone switching module 50 through the call control module 10, and the loop telephone call mode is used as the current telephone call mode.
  • connection location of the loop telephone line on the current loop telephone interface 70 is collected by the telephone switching module 50 and stored in the configuration file of the voice call device storage space.
  • the current loop telephone interface 71 corresponds to the telecommunication service
  • the current loop telephone interface 72 corresponds to the Telecommunication service
  • the telephone switch module 50 will collect the connected position of the current loop telephone interface (the loop telephone interface 71 and the loop).
  • the phone interface 72) is stored in the configuration file.
  • the telephone switching module 50 acquires the configuration file, and detects the connection location of the loop telephone line on the current loop telephone interface 70 from the configuration file.
  • the connection location of the loop telephone line is sent to the human-machine switching module 20 through the network switching module for The human-machine switching module 20 displays the connection location of the loop telephone line.
  • the voice call device when the call instruction is received, it is determined whether the voice call device is in the power-on state.
  • the display selection interface is displayed for the user to select the call mode, and the trigger is triggered based on the selection interface.
  • the phone call mode corresponding to the operation is selected as the current call mode. Since the display phone call mode selection window in the human-computer interaction module provides one or more phone call-out modes, as long as the user selects one of the phone call-out modes, the phone exchange mode is controlled according to the phone call-out mode to select the phone call-out mode.
  • the phone interface calls out the phone number, eliminating the need for the user to use a different phone to call out the phone number.
  • the step S110 specifically includes: determining that the fixed-line call mode corresponding to the fixed-line telephone interface is the current call-out mode when the voice-talking device is in the unpowered state.
  • the phone module 40 After receiving the call instruction, determining whether the voice call device is in the power-on state, when the voice call device is in the unpowered state, the phone module 40 is connected to the fixed-line phone interface 80, and the phone module 40 is provided with The dialing unit, when the voice calling device is powered off, the human-machine interaction module 20, the network switching module 30, the call control module 10, and the telephone switching module 70 are all unavailable, and the telephone module 40 directly accesses the program-controlled switch through the fixed-line telephone interface 80. As a normal telephone, and determine the fixed-line call mode corresponding to the fixed-line telephone interface as the current call-out mode.
  • the fixed call mode corresponding to the fixed network phone interface is determined as the current call mode, so that the function of the voice call device to dial the ordinary call is not affected, and the voice is ensured.
  • the call device can still make calls in an emergency.
  • FIG. 4 is a schematic flowchart of the refinement step of step S130 in the first embodiment of the present invention.
  • the refinement step of step S130 includes:
  • Step S131 after the phone is connected, collecting the audio data input by the earpiece, and compressing the collected audio data to generate a first call data packet, and outputting the first call data packet through a telephone interface corresponding to the current call mode;
  • the first call data packet is the compressed voice information collected by the telephone module 40 when the voice call device is in a call, and the compressed outgoing voice information is sent to the telephone receiving end.
  • the call control module 10 receives the loop telephone call mode sent by the human-machine interaction module 20, the loop telephone call-out mode is sent to the telephone exchange module 50.
  • the telephone module 40 Collecting the outgoing voice information input by the user, and sending the outgoing voice information to the telephone switching module 50, for the telephone switching module 50 to compress the outgoing voice information, and the telephone switching module 50 exhales the compressed according to the loop telephone calling mode. Call out voice messages.
  • the telephone switching module 50 also samples, quantizes, encodes, and compresses the outgoing voice information, and performs echo cancellation, noise suppression, comfort noise generation, and voice enhancement on the outgoing voice information during the call.
  • the network call mode is sent to the phone exchange module 50.
  • the phone module 40 collects the user during the call.
  • the incoming outgoing voice information is sent to the telephone switching module 50.
  • the telephone switching module 50 compresses the received outgoing voice information. Since the current telephone outgoing mode received by the telephone switching module 50 is the network telephone outgoing mode, the telephone switching module 50 converts the compressed outgoing voice according to the network telephone calling mode.
  • the information is sent to the network switching module 30.
  • the network switching module 30 uses the user datagram protocol (User The Datagram Protocol (UDP) packs the compressed outgoing voice information, and sends the packaged outgoing voice information to the voice call peer.
  • UDP User Datagram Protocol
  • the telephone switching module 50 also samples, quantizes, encodes, and compresses the outgoing voice information, and performs echo cancellation, noise suppression, comfort noise generation, and voice enhancement on the outgoing voice information during the call.
  • Step S132 When receiving the second call data packet through the telephone interface corresponding to the current telephone call mode, the received second call data packet is decompressed and output through the handset.
  • the second call data packet is encapsulated incoming voice information sent by the telephone receiving end to the voice talking device.
  • the telephone exchange module 50 receives the incoming voice information, and the call control module 10 controls the telephone switching module 50 to decompress the received incoming voice information.
  • the telephone switching module 50 samples and quantizes the incoming voice information.
  • the call control module 10 will control the phone module 40 to send the decompressed incoming voice information to the phone module 40, so that the phone module 40 can play the decompressed incoming voice information.
  • the network switching module 30 When the incoming call information is incoming through the network telephone interface 60, the network switching module 30 receives the incoming voice information, and the call control module 10 controls the network switching module 30 to decode the received incoming voice information using the UDP protocol, and Controlling the network switching module 30 to send the decoded incoming voice information to the telephone switching module 50.
  • the call control module 10 controls the telephone switching module 50.
  • the decoded incoming voice information is decompressed, and the telephone switching module 50 is controlled to send the decompressed incoming voice information to the telephone module 40, so that the telephone module 40 plays the decompressed incoming voice information.
  • the audio data input by the earpiece is collected, and the collected audio data is compressed to generate a first call data packet, and the first call data packet is output through a telephone interface corresponding to the current call mode.
  • the second call data packet is received by the telephone interface corresponding to the current telephone call mode, the received second call data packet is decompressed and output through the handset, which simplifies the user's telephone call out operation.
  • FIG. 5 is a schematic flowchart of a second embodiment of a voice call control method applicable to a voice call device according to the present invention.
  • a voice call is used.
  • the voice call control method of the device further includes:
  • Step S210 When multiple incoming call information is received at the same time, multiple incoming call incoming information is queued to generate an incoming call information queue;
  • Step S220 Invoke each of the telephone incoming call information according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
  • the call control module 10 controls the telephone exchange module 50 to queue the plurality of telephone incoming call information, and sends a queuing tone to the incoming call of the telephone.
  • the call control module 10 controls the telephone exchange module to sequentially call the phone corresponding to the call incoming information according to the incoming call incoming information.
  • the voice call device receives multiple phone calls at the same time, including multiple phone calls when the phone call is not connected, and multiple phone calls when the phone call is turned on.
  • multiple incoming call information is queued to generate an incoming call queue, and each incoming call information is sequentially called according to the incoming information queue.
  • the incoming call is disconnected, the next incoming call information is forwarded according to the incoming information queue, thereby avoiding the occupation of resources in the telephone line when multiple incoming calls are made, so that the voice call is smoother and the call is guaranteed. quality.
  • the invention further provides a voice call device.
  • FIG. 6 is a schematic diagram of functional modules of a first embodiment of a voice call device according to the present invention.
  • the voice call device includes: an obtaining module 110, a generating module 120, and an output module 130.
  • the obtaining module 110 is configured to acquire a current call mode when receiving a call by the phone;
  • FIG. 2 is a schematic structural diagram of a voice call device according to the present invention.
  • the voice call device further includes: a telephone module 40, a network telephone interface 60, a loop telephone interface 70, a fixed network telephone interface 80, a human-machine interaction module 20, a network switching module 30, a telephone switching module 50, and a call control module 10; 20 is connected to the telephone exchange module 50 and the fixed line telephone interface 80 respectively; the telephone exchange module 50 is connected to the loop telephone interface 70, the fixed line telephone interface 80 and the network switching module 30; the network switching module 30 is connected to the network telephone interface 60 and the person respectively.
  • the machine interaction module 20 is connected; the call control module 10 is connected to the telephone exchange module 50, the network switching module 30, and the human-machine interaction module 20.
  • the call control module 10 is configured to receive a request instruction based on a user inputting a dial signal and receiving a call mode based on a user selected on a display screen of the human-machine interaction module 20, and control call queuing and service processing, for example, At the same time, there are multiple incoming calls, and the call control module 10 can control the call queue and send the queued tone information to the caller.
  • the network switching module 30 is configured to control other modules of the voice call device to work together to implement data exchange, and is used for sending out outgoing voice information and receiving incoming voice information, and using the UDP protocol to package outgoing voice information and incoming voice information.
  • the unpacking; the human-computer interaction module 20 is configured to display the received user-entered dialing information and external incoming telephone information, and is used to display a telephone outgoing mode, the telephone calling mode including a network telephone calling mode and a loop telephone calling out a mode, and the human-machine interaction module 20 is provided with a touch input unit for dialing, so that the human-machine interaction module can receive the touch input signal of the user; and the telephone exchange module 50 is configured to collect the outgoing voice information collected by the compressed telephone module 40. And decoding external incoming voice information, and is used for sampling, quantizing, encoding, and decoding voice information, and also providing access functions of loop telephone and fixed line telephone; and telephone module 40 is configured to collect outgoing voice information and play by user input.
  • network telephone interface 60 and network cable There may be multiple loop telephone interfaces 70, and each loop telephone interface 70 can respectively connect different services, for example, the loop telephone interface 71 is connected to the telecommunication service, the loop telephone interface 72 is connected to the Tietong service; and the fixed line telephone interface 80 is Connect to the fixed line telephone line.
  • the user inputs a phone number on the voice call device, and the dialing unit in the phone module 40 receives the phone number input signal.
  • the phone module 40 triggers the phone call instruction and calls the call by the call.
  • the control module 40 sends the human-machine switching module 20 to the human-machine switching module 20, so that the human-machine switching module 20 displays the telephone call-out mode currently recorded by the voice-talking device based on the telephone call-out command, and the human-machine switching module 20 receives the user in the voice-talking device.
  • the call mode is sent to the call control module 10 for the call control module 10 to acquire the call mode and use the call mode as the current call mode.
  • the generating module 120 is configured to generate a call data packet according to an outgoing call number corresponding to the current call mode and a called number corresponding to the call instruction of the phone;
  • the call control module 10 After the call control module 10 obtains the current call mode, the call control module 10 packs the call number dialed by the current call mode and the called number corresponding to the phone call command to generate a call data packet.
  • the user needs to pre-determine whether the currently dialed phone number is a phone number that can only be communicated through the IP network. The user correctly determines that the phone number is a call that can only be made through the IP network. After the number, the user selects the network telephone call out mode in the outgoing call selection window popped up by the human interaction module 10 to make a call.
  • the output module 130 is configured to output a call data packet by using a telephone interface corresponding to a current call mode.
  • the call control module 10 After the call control module 10 obtains the current call mode, the call control module 10 turns on the telephone interface corresponding to the current call mode, and outputs the call data packet by using a telephone interface corresponding to the current call mode.
  • the obtaining module 110 is further configured to determine, when the voice call device is in an unpowered state, the fixed call mode corresponding to the fixed network phone interface as the current call mode.
  • the phone module 40 After receiving the call instruction, determining whether the voice call device is in the power-on state, when the voice call device is in the unpowered state, the phone module 40 is connected to the fixed-line phone interface 80, and the phone module 40 is provided with The dialing unit, when the voice calling device is powered off, the human-machine interaction module 20, the network switching module 30, the call control module 10, and the telephone switching module 70 are all unavailable, and the telephone module 40 directly accesses the program-controlled switch through the fixed-line telephone interface 80. As a normal telephone, and determine the fixed-line call mode corresponding to the fixed-line telephone interface as the current call-out mode.
  • the acquiring module 110 acquires the current call mode
  • the generating module 120 generates a call data packet according to the call number corresponding to the current call mode and the called number corresponding to the call instruction
  • the output module. 130 uses the telephone interface corresponding to the current telephone call mode to output a call data packet, so that the voice call device is compatible with the call functions of the fixed line telephone call, the network telephone call, and the loop call, and retains the fixed line telephone call function, and
  • the VoIP call function or the loop call function can be selected based on the user's will, and the number of the user's desktop voice call device is reduced.
  • the acquiring module 110 includes a determining unit 111, a display unit 112, and a determining unit 113.
  • the determining unit 111 is configured to determine, when the phone call instruction is received, whether the voice call device is in a power-on state;
  • the display unit 112 is configured to display a selection interface for the user to select a call mode when the voice call device is in a power-on state;
  • the call control module 10 determines whether the voice call device is in the power-on state, and if so, the call control module 10 receives the call command sent by the dialing unit. And sending the outgoing call instruction to the human-machine switching module 20 through the network switching module 30.
  • the human-machine switching module 20 displays a call-out selection window according to the outgoing call instruction, and the call is selected in the call window. Includes phone call mode for users to view.
  • the human-machine interaction module 20 pops up the call-out selection window including the call-out mode, the user selects the call-out mode according to his/her own intention, and the human-machine interaction module 20 calls the call after acquiring the call mode selected by the user.
  • the mode is fed back to the call control module 10 through the network switching module 30.
  • the determining unit 113 is configured to, when receiving the selection operation triggered by the selection interface, set the phone call mode corresponding to the selection operation to the current phone call mode.
  • the voice-talking device When the human-machine switching module 20 receives the network telephone call-out mode selected by the user in the pop-up call-out selection window, the voice-talking device performs a telephone call out in the network telephone call-out mode, and the human-machine interaction module 20 calls the network telephone call.
  • the mode is sent to the telephone switching module 50 through the call control module 10, and the network telephone call mode is used as the current telephone call mode.
  • the voice-talking device When the human-machine interaction module 20 receives the loop telephone call-out mode selected by the user in the pop-up call-out selection window, the voice-talking device performs a telephone call-out in a loop-phone call-out mode, and the human-machine interaction module 20 and the ring
  • the telephone call mode is sent to the telephone switching module 50 through the call control module 10, and the loop telephone call mode is used as the current telephone call mode.
  • connection location of the loop telephone line on the current loop telephone interface 70 is collected by the telephone switching module 50 and stored in the configuration file of the voice call device storage space.
  • the current loop telephone interface 71 corresponds to the telecommunication service
  • the current loop telephone interface 72 corresponds to the Telecommunication service
  • the telephone switch module 50 will collect the connected position of the current loop telephone interface (the loop telephone interface 71 and the loop).
  • the phone interface 72) is stored in the configuration file.
  • the telephone switching module 50 acquires the configuration file, and detects the connection location of the loop telephone line on the current loop telephone interface 70 from the configuration file.
  • the connection location of the loop telephone line is sent to the human-machine switching module 20 through the network switching module for The human-machine switching module 20 displays the connection location of the loop telephone line.
  • the voice call device when the call instruction is received, it is determined whether the voice call device is in the power-on state.
  • the display selection interface is displayed for the user to select the call mode, and the trigger is triggered based on the selection interface.
  • the phone call mode corresponding to the operation is selected as the current call mode. Since the display phone call mode selection window in the human-computer interaction module provides one or more phone call-out modes, as long as the user selects one of the phone call-out modes, the phone exchange mode is controlled according to the phone call-out mode to select the phone call-out mode.
  • the phone interface calls out the phone number, eliminating the need for the user to use a different phone to call out the phone number.
  • the output module 130 includes a first output unit 131 and a second output unit 132.
  • the first output unit 131 is configured to collect audio data input by the earpiece after the phone is turned on, and compress the collected audio data to generate a first call data packet, and call the first call data packet through the current call. Mode corresponding to the phone interface output;
  • the first call data packet is the compressed voice information collected by the telephone module 40 when the voice call device is in a call, and the compressed outgoing voice information is sent to the telephone receiving end.
  • the call control module 10 receives the loop telephone call mode sent by the human-machine interaction module 20, the loop telephone call-out mode is sent to the telephone exchange module 50.
  • the telephone module 40 Collecting the outgoing voice information input by the user, and sending the outgoing voice information to the telephone switching module 50, for the telephone switching module 50 to compress the outgoing voice information, and the telephone switching module 50 exhales the compressed according to the loop telephone calling mode. Call out voice messages.
  • the telephone switching module 50 also samples, quantizes, encodes, and compresses the outgoing voice information, and performs echo cancellation, noise suppression, comfort noise generation, and voice enhancement on the outgoing voice information during the call.
  • the network call mode is sent to the phone exchange module 50.
  • the phone module 40 collects the user during the call.
  • the incoming outgoing voice information is sent to the telephone switching module 50.
  • the telephone switching module 50 compresses the received outgoing voice information. Since the current telephone outgoing mode received by the telephone switching module 50 is the network telephone outgoing mode, the telephone switching module 50 converts the compressed outgoing voice according to the network telephone calling mode.
  • the information is sent to the network switching module 30.
  • the network switching module 30 uses the user datagram protocol (User The Datagram Protocol (UDP) packs the compressed outgoing voice information, and sends the packaged outgoing voice information to the voice call peer.
  • UDP User Datagram Protocol
  • the telephone switching module 50 also samples, quantizes, encodes, and compresses the outgoing voice information, and performs echo cancellation, noise suppression, comfort noise generation, and voice enhancement on the outgoing voice information during the call.
  • the second output unit 132 is configured to: after receiving the second call data packet through the phone interface corresponding to the current call mode, decompress the received second call data packet and output the output through the handset.
  • the second call data packet is encapsulated incoming voice information sent by the telephone receiving end to the voice talking device.
  • the telephone exchange module 50 receives the incoming voice information, and the call control module 10 controls the telephone switching module 50 to decompress the received incoming voice information.
  • the telephone switching module 50 samples and quantizes the incoming voice information.
  • the call control module 10 will control the phone module 40 to send the decompressed incoming voice information to the phone module 40, so that the phone module 40 can play the decompressed incoming voice information.
  • the network switching module 30 When the incoming call information is incoming through the network telephone interface 60, the network switching module 30 receives the incoming voice information, and the call control module 10 controls the network switching module 30 to decode the received incoming voice information using the UDP protocol, and Controlling the network switching module 30 to send the decoded incoming voice information to the telephone switching module 50.
  • the call control module 10 controls the telephone switching module 50.
  • the decoded incoming voice information is decompressed, and the telephone switching module 50 is controlled to send the decompressed incoming voice information to the telephone module 40, so that the telephone module 40 plays the decompressed incoming voice information.
  • the audio data input by the earpiece is collected, and the collected audio data is compressed to generate a first call data packet, and the first call data packet is output through a telephone interface corresponding to the current call mode.
  • the second call data packet is received by the telephone interface corresponding to the current telephone call mode, the received second call data packet is decompressed and output through the handset, and the user's telephone call out operation is simplified.
  • the voice call device further includes: a generating module 210 and an incoming module 220.
  • the generating module 210 when receiving a plurality of telephone incoming call information at the same time, queuing a plurality of telephone incoming call information to generate an incoming call information queue;
  • the incoming call module 220 sequentially calls each of the incoming call information according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
  • the call control module 10 controls the telephone exchange module 50 to queue the plurality of telephone incoming call information, and sends a queuing tone to the incoming call of the telephone.
  • the call control module 10 controls the telephone exchange module to sequentially call the phone corresponding to the call incoming information according to the incoming call incoming information.
  • the voice call device receives multiple phone calls at the same time, including multiple phone calls when the phone call is not connected, and multiple phone calls when the phone call is turned on.
  • multiple incoming call information is queued to generate an incoming call queue, and each incoming call information is sequentially called according to the incoming information queue.
  • the incoming call is disconnected, the next incoming call information is forwarded according to the incoming information queue, thereby avoiding the occupation of resources in the telephone line when multiple incoming calls are made, so that the voice call is smoother and the call is guaranteed. quality.

Abstract

Disclosed is a voice communication control method applicable to a voice communication device. The voice communication device is integrated with different modes of telephone interfaces, the telephone interfaces comprising a network telephone interface, a loop telephone interface, and/or a fixed-line telephone interface. The method comprises the following steps: acquiring a current telephone call-out mode when a telephone call-out instruction is received; generating a calling data packet according to a call-out number corresponding to the current telephone call-out mode and a called number corresponding to a telephone calling instruction; and outputting the calling data packet by adopting a telephone interface corresponding to the current telephone call-out mode. Also disclosed is a voice communication device. According to the present invention, a voice communication device is compatible with communication functions such as fixed-line telephone communication, network telephone communication, and loop telephone communication.

Description

语音通话设备及语音通话控制方法  Voice call device and voice call control method
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种语音通话设备及语音通话控制方法。The present invention relates to the field of communications technologies, and in particular, to a voice call device and a voice call control method.
背景技术Background technique
随着用户对办公设备自动化的要求,隶属办公设备的IP接入电话、环路接入电话、固网电话已经成为办公的必须品。这三类不同功能的电话只能分开接入各自的电话系统,造成资源浪费,同时,由于用户在同一时间只能使用一个电话处理业务,当用户的办公桌上配备了多个这三类不同功能的电话,且该多个这三类不同功能的电话同时来电时,使得用户难以选择要接听的电话,给用户的日常操作带来不便。因此,当前将不同功能的电话分开接入各自的电话系统具有局限性。With the user's requirements for automation of office equipment, IP access telephones, loop access telephones, and fixed-line telephones belonging to office equipment have become a must for office. These three types of phones with different functions can only be separately connected to their respective telephone systems, resulting in wasted resources. At the same time, because users can only use one phone to process services at the same time, when the user's desk is equipped with multiple of these three different types The function of the phone, and the plurality of these three types of different functions of the phone call at the same time, making it difficult for the user to select the phone to be answered, which brings inconvenience to the user's daily operation. Therefore, the current separation of phones with different functions into their respective telephone systems has limitations.
发明内容Summary of the invention
本发明的主要目的在于提供一种语音通话设备及语音通话控制方法,旨在解决当前将不同功能的电话分开接入各自的电话系统具有局限性的问题。The main object of the present invention is to provide a voice call device and a voice call control method, which aim to solve the problem that the current different functions of the phones are separately connected to the respective telephone systems.
为实现上述目的,本发明提供一种适用于所述语音通话设备的语音通话控制方法,所述语音通话设备集成有不同模式的电话接口,所述电话接口包括网络电话接口、环路电话接口及/或固网电话接口,所述语音通话控制方法包括以下步骤:To achieve the above object, the present invention provides a voice call control method suitable for the voice call device, wherein the voice call device integrates different modes of telephone interfaces, and the phone interface includes a network telephone interface, a loop telephone interface, and / or fixed network telephone interface, the voice call control method comprises the following steps:
在接收到电话呼出指令时,获取当前的电话呼出模式;Obtaining the current call mode when receiving a call by phone;
根据当前的电话呼出模式对应的呼出号码以及所述呼叫指令对应的被叫号码生成呼叫数据包;Generating a call data packet according to an outgoing call number corresponding to the current call mode and a called number corresponding to the call instruction;
采用与所述当前的电话呼出模式对应的电话接口输出所述呼叫数据包。The call data packet is output using a telephone interface corresponding to the current telephone call mode.
优选的,所述语音通话设备的语音通话控制方法还包括以下步骤:Preferably, the voice call control method of the voice call device further includes the following steps:
在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;When receiving multiple incoming call information at the same time, the multiple incoming call incoming information is queued to generate an incoming call information queue;
根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
优选的,在接收到电话呼出指令时,获取当前的电话呼出模式的步骤还包括:Preferably, when receiving the call instruction, the step of acquiring the current call mode further includes:
在接收到电话呼出指令时,判断所述语音通话设备是否处于上电状态;When receiving the call instruction, determining whether the voice call device is in a power-on state;
在所述语音通话设备处于上电状态时,显示选择界面以供用户选择电话呼出模式;When the voice call device is in a power-on state, displaying a selection interface for the user to select a phone call mode;
在接收到基于所述选择界面触发的选择操作时,将所述选择操作对应的电话呼出模式为当前的所述电话呼出模式。Upon receiving the selection operation triggered based on the selection interface, the phone call mode corresponding to the selection operation is the current phone call mode.
优选的,所述语音通话设备的语音通话控制方法还包括以下步骤:Preferably, the voice call control method of the voice call device further includes the following steps:
在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;When receiving multiple incoming call information at the same time, the multiple incoming call incoming information is queued to generate an incoming call information queue;
根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
优选的,判断所述语音通话设备是否处于上电状态的步骤之后,所述获取当前的电话呼出模式的步骤还包括:Preferably, after the step of determining whether the voice call device is in a power-on state, the step of acquiring the current call mode of the call further includes:
在所述语音通话设备处于未上电状态时,确定所述固网电话接口对应的固话呼出模式作为为当前的所述电话呼出模式。And determining, when the voice call device is in an unpowered state, the fixed call mode corresponding to the fixed network phone interface as the current call mode.
优选的,所述语音通话设备的语音通话控制方法还包括以下步骤:Preferably, the voice call control method of the voice call device further includes the following steps:
在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;When receiving multiple incoming call information at the same time, the multiple incoming call incoming information is queued to generate an incoming call information queue;
根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
优选的,所述获取所述采用与所述电话呼出模式对应的电话接口输出所述呼叫数据包的步骤包括:Preferably, the step of acquiring the call data packet by using a phone interface corresponding to the phone call mode includes:
在电话接通后,采集听筒输入的音频数据,并对采集的音频数据进行压缩后生成第一通话数据包,将所述通话数据包经当前的电话呼出模式对应的电话接口输出;After the phone is connected, the audio data input by the earpiece is collected, and the collected audio data is compressed to generate a first call data packet, and the call data packet is output through a telephone interface corresponding to the current call mode;
在经当前的电话呼出模式对应的电话接口接收到第二通话数据包时,对接收到的所述第二通话数据包进行解压缩后经所述听筒输出。When the second call data packet is received by the telephone interface corresponding to the current telephone call mode, the received second call data packet is decompressed and output through the handset.
优选的,所述语音通话设备的语音通话控制方法还包括以下步骤:Preferably, the voice call control method of the voice call device further includes the following steps:
在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;When receiving multiple incoming call information at the same time, the multiple incoming call incoming information is queued to generate an incoming call information queue;
根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
此外,为实现上述目的,本发明还提供一种语音通话设备,所述语音通话设备集成有不同模式的电话接口,所述电话接口包括网络电话接口、环路电话接口及/或固网电话接口,所述语音通话设备包括:In addition, in order to achieve the above object, the present invention further provides a voice call device, which is integrated with different modes of telephone interfaces, including a network telephone interface, a loop telephone interface, and/or a fixed network telephone interface. The voice call device includes:
获取模块,用于在接收到电话呼出指令时,获取当前的电话呼出模式;An obtaining module, configured to acquire a current call mode when receiving an outgoing call instruction;
生成模块,用于根据当前的电话呼出模式对应的呼出号码以及所述呼叫指令对应的被叫号码生成呼叫数据包;a generating module, configured to generate a call data packet according to an outgoing call number corresponding to the current call mode and a called number corresponding to the call instruction;
输出模块,用于采用与所述当前的电话呼出模式对应的电话接口输出所述呼叫数据包。And an output module, configured to output the call data packet by using a telephone interface corresponding to the current telephone call mode.
优选的,所述语音通话设备还包括:Preferably, the voice call device further includes:
生成模块,用于在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;a generating module, configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue;
呼入模块,用于根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。The incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
优选的,所述获取模块包括:Preferably, the obtaining module comprises:
判定单元,用于在接收到电话呼出指令时,判断所述语音通话设备是否处于上电状态;a determining unit, configured to determine, when receiving the call instruction, whether the voice call device is in a power-on state;
显示单元,用于在所述语音通话设备处于上电状态时,显示选择界面以供用户选择电话呼出模式;a display unit, configured to display a selection interface for the user to select a call mode when the voice call device is in a power-on state;
第一确定单元,用于在接收到基于所述选择界面触发的选择操作时,将所述选择操作对应的电话呼出模式为当前的所述电话呼出模式。The first determining unit is configured to: when the selection operation triggered based on the selection interface is received, the phone call mode corresponding to the selection operation is the current phone call mode.
优选的,所述语音通话设备还包括:Preferably, the voice call device further includes:
生成模块,用于在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;a generating module, configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue;
呼入模块,用于根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。The incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
优选的,在调用所述判定单元之后,所述获取模块还包括:Preferably, after the determining unit is invoked, the acquiring module further includes:
第二确定单元,用于在所述语音通话设备处于未上电状态时,确定所述固网电话接口对应的固话呼出模式作为为当前的所述电话呼出模式。The second determining unit is configured to determine, when the voice call device is in an unpowered state, the fixed call mode corresponding to the fixed network phone interface as the current call mode.
优选的,所述语音通话设备还包括:Preferably, the voice call device further includes:
生成模块,用于在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;a generating module, configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue;
呼入模块,用于根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。The incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
优选的,所述输出模块包括:Preferably, the output module comprises:
第一输出单元,用于在电话接通后,采集听筒输入的音频数据,并对采集的音频数据进行压缩后生成第一通话数据包,将所述通话数据包经当前的电话呼出模式对应的电话接口输出;a first output unit, configured to collect audio data input by the earpiece after the phone is turned on, and compress the collected audio data to generate a first call data packet, and the call data packet is corresponding to the current call mode Telephone interface output;
第二输出单元,用于在经当前的电话呼出模式对应的电话接口接收到第二通话数据包时,对接收到的所述第二通话数据包进行解压缩后经所述听筒输出。The second output unit is configured to: when the second call data packet is received by the telephone interface corresponding to the current call mode, the second call data packet is decompressed and output through the handset.
优选的,所述语音通话设备还包括:Preferably, the voice call device further includes:
生成模块,用于在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;a generating module, configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue;
呼入模块,用于根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。The incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
本发明通过在接收到电话呼出指令时,获取当前的电话呼出模式,根据当前的电话呼出模式对应的呼出号码以及呼叫指令对应的被叫号码生成呼叫数据包,采用与当前的电话呼出模式对应的电话接口输出呼叫数据包,使得语音通话设备兼容固网电话通话、网络电话通话和环路通话这三者的通话功能,既保留固网电话通话功能,又可以基于用户的意愿来选择网络电话通话功能或环路通话功能,减少了用户桌面语音通话设备的配备数量。The invention acquires the current telephone call mode when receiving the telephone call out command, generates a call data packet according to the outgoing call number corresponding to the current telephone call mode and the called number corresponding to the call instruction, and adopts a call corresponding to the current telephone call mode. The telephone interface outputs the call data packet, so that the voice call device is compatible with the call functions of the fixed line telephone call, the network telephone call, and the loop call, and the fixed telephone call function is retained, and the network telephone call can be selected based on the user's will. The function or loop call function reduces the number of users' desktop voice call devices.
附图说明DRAWINGS
图1为本发明适用于语音通话设备的语音通话控制方法的第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a voice call control method applicable to a voice call device according to the present invention;
图2为本发明语音通话设备的结构示意图;2 is a schematic structural diagram of a voice call device according to the present invention;
图3为本发明适用于语音通话设备的语音通话控制方法的第一实施例中步骤S10的细化步骤的流程示意图;3 is a schematic flowchart of a refinement step of step S10 in the first embodiment of the voice call control method of the present invention;
图4为本发明适用于语音通话设备的语音通话控制方法的第一实施例中步骤S30的细化步骤的流程示意图;4 is a schematic flowchart of a refinement step of step S30 in the first embodiment of the voice call control method of the present invention;
图5为本发明适用于语音通话设备的语音通话控制方法的第二实施例的流程示意图;5 is a schematic flowchart of a second embodiment of a voice call control method applicable to a voice call device according to the present invention;
图6为本发明语音通话设备的第一实施例的功能模块示意图;6 is a schematic diagram of functional modules of a first embodiment of a voice call device according to the present invention;
图7为本发明语音通话设备的第二实施例中获取模块的功能模块示意图;7 is a schematic diagram of functional modules of an acquisition module in a second embodiment of a voice call device according to the present invention;
图8为本发明语音通话设备的第三实施例中输出模块的功能模块示意图;8 is a schematic diagram of functional modules of an output module in a third embodiment of a voice call device according to the present invention;
图9为本发明语音通话设备的第四实施例的功能模块示意图。FIG. 9 is a schematic diagram of functional modules of a fourth embodiment of a voice communication device according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
基于上述问题,本发明提供一种适用于语音通话设备的语音通话控制方法。Based on the above problems, the present invention provides a voice call control method suitable for a voice call device.
参照图1,图1为本发明适用于语音通话设备的语音通话控制方法的第一实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of a voice call control method applicable to a voice call device according to the present invention.
步骤S110,在接收到电话呼出指令时,获取当前的电话呼出模式;Step S110: Acquire a current call mode when receiving a call by the phone;
参照图2,图2为本发明语音通话设备的结构示意图。在本实施例中,语音通话设备集成有不同模式的电话接口,该电话接口包括网络电话接口60、环路电话接口70及固网电话接口80,用户在语音通话设备上输入电话号码,电话模块40中拨号单元接收电话号码输入信号,当用户在预定时间内拨号完成时,该电话模块40触发电话呼出指令,并将该电话呼出指令通过通话控制模块40发送给人机交换模块20,使得该语音通话设备中的人机交换模块20基于该电话呼出指令显示该语音通话设备当前记录的电话呼出模式,在该语音通话设备中的人机交换模块20接收到用户输入的电话呼出模式后,将该电话呼出模式发送给通话控制模块10,以供该通话控制模块10获取该电话呼出模式,并将该电话呼出模式作为当前的电话呼出模式。Referring to FIG. 2, FIG. 2 is a schematic structural diagram of a voice call device according to the present invention. In this embodiment, the voice call device is integrated with a phone interface of different modes, and the phone interface includes a network phone interface 60, a loop phone interface 70, and a fixed network phone interface 80. The user inputs a phone number on the voice call device, and the phone module The dialing unit 40 receives the telephone number input signal, and when the user dials in the predetermined time, the telephone module 40 triggers the telephone call out command, and sends the telephone call out command to the human-machine switching module 20 through the call control module 40, so that the The human-machine switching module 20 in the voice-talking device displays the call-out mode currently recorded by the voice-talking device based on the call-out command, and after the human-machine switch module 20 in the voice-talking device receives the call-out mode input by the user, The call mode is sent to the call control module 10 for the call control module 10 to acquire the call mode and use the call mode as the current call mode.
步骤S120,根据当前的电话呼出模式对应的呼出号码以及电话呼叫指令对应的被叫号码生成呼叫数据包;Step S120: Generate a call data packet according to the outgoing call number corresponding to the current call mode and the called number corresponding to the call instruction.
在通话控制模块10获取到当前电话呼出模式后,该通话控制模块10将通过当前电话呼出模式拨出的呼出号码以及该电话呼叫指令对应的被叫号码打包后生成呼叫数据包。After the call control module 10 obtains the current call mode, the call control module 10 packs the call number dialed by the current call mode and the called number corresponding to the phone call command to generate a call data packet.
需要说明的是,用户在选择电话呼出模式之前,需要预先判断当前拨出的电话号码是否是只能通过IP网络通话的电话号码,在用户正确判断该电话号码是只能通过IP网络通话的电话号码后,用户选择人机交互模块10弹出的呼出选择窗口中的网络电话呼出模式才能进行通话。It should be noted that before selecting the call mode, the user needs to pre-determine whether the currently dialed phone number is a phone number that can only be communicated through the IP network. The user correctly determines that the phone number is a call that can only be made through the IP network. After the number, the user selects the network telephone call out mode in the outgoing call selection window popped up by the human interaction module 10 to make a call.
步骤S130,采用与当前的电话呼出模式对应的电话接口输出呼叫数据包。Step S130, outputting a call data packet by using a telephone interface corresponding to the current telephone call mode.
在通话控制模块10获取到当前电话呼出模式后,该通话控制模块10将与该当前电话呼出模式对应的电话接口接通,并采用与该当前电话呼出模式对应的电话接口输出该呼叫数据包。After the call control module 10 obtains the current call mode, the call control module 10 turns on the telephone interface corresponding to the current call mode, and outputs the call data packet by using a telephone interface corresponding to the current call mode.
本实施例通过在接收到电话呼出指令时,获取当前的电话呼出模式,根据当前的电话呼出模式对应的呼出号码以及呼叫指令对应的被叫号码生成呼叫数据包,采用与当前的电话呼出模式对应的电话接口输出呼叫数据包,使得语音通话设备兼容固网电话通话、网络电话通话和环路通话这三者的通话功能,既保留固网电话通话功能,又可以基于用户的意愿来选择网络电话通话功能或环路通话功能,减少了用户桌面语音通话设备的配备数量。In this embodiment, when the call release command is received, the current call mode is obtained, and the call data packet is generated according to the call number corresponding to the current call mode and the called number corresponding to the call instruction, and corresponds to the current call mode. The telephone interface outputs the call data packet, so that the voice call device is compatible with the call functions of the fixed line telephone call, the network telephone call and the loop call, and the fixed telephone call function is retained, and the network telephone can be selected based on the user's will. The call function or loop call function reduces the number of users' desktop voice call equipment.
进一步的,基于所述第一实施例,请参照图3,为本发明的第一实施例中步骤S110的细化步骤的流程示意图,该步骤S110的细化步骤包括:Further, based on the first embodiment, please refer to FIG. 3, which is a schematic flowchart of the refinement step of step S110 in the first embodiment of the present invention. The refinement step of step S110 includes:
步骤S111,在接收到电话呼出指令时,判断语音通话设备是否处于上电状态;Step S111, when receiving the call instruction of the telephone, determining whether the voice call device is in a power-on state;
步骤S112,在语音通话设备处于上电状态时,显示选择界面以供用户选择电话呼出模式;Step S112, when the voice call device is in the power-on state, displaying a selection interface for the user to select the phone call mode;
在本实施例中,在通话控制模块10接收到电话呼出指令时,该通话控制模块10判断语音通话设备是否处于上电状态,若是,则该通话控制模块10接收到拨号单元发送的电话呼出指令,并将该电话呼出指令通过网络交换模块30发送给人机交换模块20,该人机交换模块20接收到该电话呼出指令时,根据电话呼出指令显示电话呼出选择窗口,该电话呼出选择窗口中包含电话呼出模式,以供用户查看。当该人机交互模块20弹出包含有电话呼出模式的电话呼出选择窗口后,用户根据自己的意愿选择电话呼出模式,人机交互模块20在获取到用户选择的电话呼出模式后,将该电话呼出模式通过该网络交换模块30反馈给通话控制模块10。In this embodiment, when the call control module 10 receives the call instruction, the call control module 10 determines whether the voice call device is in the power-on state, and if so, the call control module 10 receives the call command sent by the dialing unit. And sending the outgoing call instruction to the human-machine switching module 20 through the network switching module 30. When receiving the outgoing call instruction, the human-machine switching module 20 displays a call-out selection window according to the outgoing call instruction, and the call is selected in the call window. Includes phone call mode for users to view. After the human-machine interaction module 20 pops up the call-out selection window including the call-out mode, the user selects the call-out mode according to his/her own intention, and the human-machine interaction module 20 calls the call after acquiring the call mode selected by the user. The mode is fed back to the call control module 10 through the network switching module 30.
步骤S113,在接收到基于选择界面触发的选择操作时,将选择操作对应的电话呼出模式为当前的电话呼出模式。Step S113, when receiving the selection operation triggered by the selection interface, the phone call mode corresponding to the selection operation is the current phone call mode.
当人机交换模块20接收到用户在弹出的电话呼出选择窗口中选择的网络电话呼出模式时,该语音通话设备以网络电话呼出模式进行电话呼出,该人机交互模块20并将该网络电话呼出模式通过通话控制模块10发送给电话交换模块50,并将该网络电话呼出模式作为当前电话呼出模式。When the human-machine switching module 20 receives the network telephone call-out mode selected by the user in the pop-up call-out selection window, the voice-talking device performs a telephone call out in the network telephone call-out mode, and the human-machine interaction module 20 calls the network telephone call. The mode is sent to the telephone switching module 50 through the call control module 10, and the network telephone call mode is used as the current telephone call mode.
当人机交互模块20接收到用户在弹出的电话呼出选择窗口中选择的环路电话呼出模式时,该语音通话设备以环路电话呼出模式进行电话呼出,该人机交互模块20并将该环路电话呼出模式通过通话控制模块10发送给电话交换模块50,并将该环路电话呼出模式作为当前的电话呼出模式。When the human-machine interaction module 20 receives the loop telephone call-out mode selected by the user in the pop-up call-out selection window, the voice-talking device performs a telephone call-out in a loop-phone call-out mode, and the human-machine interaction module 20 and the ring The telephone call mode is sent to the telephone switching module 50 through the call control module 10, and the loop telephone call mode is used as the current telephone call mode.
需要说明的是,当前环路电话接口70上的环路电话线的连接位置都会被电话交换模块50采集,并存储在语音通话设备存储空间的配置文件中。例如,当前环路电话接口71上对应电信业务,当前环路电话接口72上对应铁通业务,那么电话交换模块50将采集到的当前环路电话接口的连接位置(环路电话接口71和环路电话接口72)存储在配置文件中。当该语音通话设备在使用过程中,电话交换模块50获取该配置文件,从该配置文件中检测当前环路电话接口70上环路电话线的连接位置。当电话交换模块50从配置文件中检测到当前环路电话接口70上环路电话线的连接位置后,将该环路电话线的连接位置通过网络交换模块发送给人机交换模块20,以供该人机交换模块20显示该环路电话线的连接位置。It should be noted that the connection location of the loop telephone line on the current loop telephone interface 70 is collected by the telephone switching module 50 and stored in the configuration file of the voice call device storage space. For example, the current loop telephone interface 71 corresponds to the telecommunication service, and the current loop telephone interface 72 corresponds to the Telecommunication service, and then the telephone switch module 50 will collect the connected position of the current loop telephone interface (the loop telephone interface 71 and the loop). The phone interface 72) is stored in the configuration file. When the voice calling device is in use, the telephone switching module 50 acquires the configuration file, and detects the connection location of the loop telephone line on the current loop telephone interface 70 from the configuration file. After the telephone switching module 50 detects the connection location of the loop telephone line on the current loop telephone interface 70 from the configuration file, the connection location of the loop telephone line is sent to the human-machine switching module 20 through the network switching module for The human-machine switching module 20 displays the connection location of the loop telephone line.
本实施例通过在接收到电话呼出指令时,判断语音通话设备是否处于上电状态,在语音通话设备处于上电状态时,显示选择界面以供用户选择电话呼出模式,在接收到基于选择界面触发的选择操作时,将选择操作对应的电话呼出模式为当前的电话呼出模式。由于该人机交互模块中显示电话呼出模式选择窗口提供了一个或者多个电话呼出模式,只要用户选择了其中一个电话呼出模式,就会根据电话呼出模式控制电话交换模块选择与电话呼出模式对应的电话接口呼出电话号码,无需用户使用不同的话机来呼出电话号码。In this embodiment, when the call instruction is received, it is determined whether the voice call device is in the power-on state. When the voice call device is in the power-on state, the display selection interface is displayed for the user to select the call mode, and the trigger is triggered based on the selection interface. When the selection operation is performed, the phone call mode corresponding to the operation is selected as the current call mode. Since the display phone call mode selection window in the human-computer interaction module provides one or more phone call-out modes, as long as the user selects one of the phone call-out modes, the phone exchange mode is controlled according to the phone call-out mode to select the phone call-out mode. The phone interface calls out the phone number, eliminating the need for the user to use a different phone to call out the phone number.
进一步的,基于步骤S110,该步骤S110具体还包括:在语音通话设备处于未上电状态时,确定固网电话接口对应的固话呼出模式作为为当前的电话呼出模式。Further, based on step S110, the step S110 specifically includes: determining that the fixed-line call mode corresponding to the fixed-line telephone interface is the current call-out mode when the voice-talking device is in the unpowered state.
在接收到电话呼出指令时,判断语音通话设备是否处于上电状态之后,在该语音通话设备处于未上电状态时,电话模块40与固网电话接口80连接,且该电话模块40上设置有拨号单元,当语音通话设备断电时,人机交互模块20、网络交换模块30、通话控制模块10、电话交换模块70均无法使用,电话模块40直接通过固网电话接口80接入到程控交换机,作为普通电话机使用,并确定固网电话接口对应的固话呼出模式作为为当前的电话呼出模式。After receiving the call instruction, determining whether the voice call device is in the power-on state, when the voice call device is in the unpowered state, the phone module 40 is connected to the fixed-line phone interface 80, and the phone module 40 is provided with The dialing unit, when the voice calling device is powered off, the human-machine interaction module 20, the network switching module 30, the call control module 10, and the telephone switching module 70 are all unavailable, and the telephone module 40 directly accesses the program-controlled switch through the fixed-line telephone interface 80. As a normal telephone, and determine the fixed-line call mode corresponding to the fixed-line telephone interface as the current call-out mode.
本实施例通过在语音通话设备处于未上电状态时,确定固网电话接口对应的固话呼出模式作为为当前的电话呼出模式,使得语音通话设备拨打普通电话的功能不受影响,确保了语音通话设备在紧急情况下仍能进行呼叫。In this embodiment, when the voice call device is in an unpowered state, the fixed call mode corresponding to the fixed network phone interface is determined as the current call mode, so that the function of the voice call device to dial the ordinary call is not affected, and the voice is ensured. The call device can still make calls in an emergency.
进一步的,基于所述第一实施例,请参照图4,为本发明的第一实施例中步骤S130的细化步骤的流程示意图,该步骤S130的细化步骤包括:Further, based on the first embodiment, please refer to FIG. 4, which is a schematic flowchart of the refinement step of step S130 in the first embodiment of the present invention. The refinement step of step S130 includes:
步骤S131,在电话接通后,采集听筒输入的音频数据,并对采集的音频数据进行压缩后生成第一通话数据包,将第一通话数据包经当前的电话呼出模式对应的电话接口输出;Step S131, after the phone is connected, collecting the audio data input by the earpiece, and compressing the collected audio data to generate a first call data packet, and outputting the first call data packet through a telephone interface corresponding to the current call mode;
在本实施例中,该第一通话数据包为该语音通话设备通话时电话模块40采集的并压缩后的呼出语音信息,该压缩后的呼出语音信息发送给电话接收端。在通话控制模块10接收到人机交互模块20发送的环路电话呼出模式时,将该环路电话呼出模式发送给电话交换模块50,当电话拨通后,在用户通话过程中,电话模块40采集用户输入的呼出语音信息,并将该呼出语音信息发送给电话交换模块50,以供该电话交换模块50压缩该呼出语音信息,该电话交换模块50根据该环路电话呼出模式呼出压缩后的呼出语音信息。其中,该电话交换模块50还对该呼出语音信息进行采样、量化、编码、压缩处理,并对通话过程中的呼出语音信息进行回声消除、噪声抑制、舒适噪声产生及语音增强。In this embodiment, the first call data packet is the compressed voice information collected by the telephone module 40 when the voice call device is in a call, and the compressed outgoing voice information is sent to the telephone receiving end. When the call control module 10 receives the loop telephone call mode sent by the human-machine interaction module 20, the loop telephone call-out mode is sent to the telephone exchange module 50. After the call is dialed, during the call of the user, the telephone module 40 Collecting the outgoing voice information input by the user, and sending the outgoing voice information to the telephone switching module 50, for the telephone switching module 50 to compress the outgoing voice information, and the telephone switching module 50 exhales the compressed according to the loop telephone calling mode. Call out voice messages. The telephone switching module 50 also samples, quantizes, encodes, and compresses the outgoing voice information, and performs echo cancellation, noise suppression, comfort noise generation, and voice enhancement on the outgoing voice information during the call.
在通话控制模块10接收到人机交互模块20发送的网络电话呼出模式后,将该网络电话呼出模式发送给电话交换模块50,当电话拨通后,在用户通话过程中,电话模块40采集用户输入的呼出语音信息,并将该呼出语音信息发送给电话交换模块50。该电话交换模块50将接收到呼出语音信息进行压缩,由于电话交换模块50接收到的当前电话呼出模式为网络电话呼出模式,因此该电话交换模块50根据网络电话呼出模式将该压缩后的呼出语音信息发送给网络交换模块30。该网络交换模块30接收到压缩后的呼出语音信息后,使用用户数据报协议(User Datagram Protocol ,UDP )对压缩后的呼出语音信息进行打包, 将打包后的呼出语音信息发送给语音通话对端。After the call control module 10 receives the network call mode sent by the human-machine interaction module 20, the network call mode is sent to the phone exchange module 50. After the call is made, the phone module 40 collects the user during the call. The incoming outgoing voice information is sent to the telephone switching module 50. The telephone switching module 50 compresses the received outgoing voice information. Since the current telephone outgoing mode received by the telephone switching module 50 is the network telephone outgoing mode, the telephone switching module 50 converts the compressed outgoing voice according to the network telephone calling mode. The information is sent to the network switching module 30. After receiving the compressed outgoing voice information, the network switching module 30 uses the user datagram protocol (User The Datagram Protocol (UDP) packs the compressed outgoing voice information, and sends the packaged outgoing voice information to the voice call peer.
需要说明的是,该电话交换模块50还对该呼出语音信息进行采样、量化、编码、压缩处理,并对通话过程中的呼出语音信息进行回声消除、噪声抑制、舒适噪声产生及语音增强。It should be noted that the telephone switching module 50 also samples, quantizes, encodes, and compresses the outgoing voice information, and performs echo cancellation, noise suppression, comfort noise generation, and voice enhancement on the outgoing voice information during the call.
步骤S132,在经当前的电话呼出模式对应的电话接口接收到第二通话数据包时,对接收到的所述第二通话数据包进行解压缩后经听筒输出。Step S132: When receiving the second call data packet through the telephone interface corresponding to the current telephone call mode, the received second call data packet is decompressed and output through the handset.
该第二通话数据包为电话接收端向该语音通话设备发送的封装的呼入语音信息。当电话呼入信息是通过环路电话接口70呼入时,电话交换模块50接收该呼入语音信息,该通话控制模块10控制该电话交换模块50将接收到的呼入语音信息进行解压,该电话交换模块50并对该呼入语音信息进行采样、量化。该通话控制模块10将控制该电话模块40将解压后的呼入语音信息发送给电话模块40,以供该电话模块40播放该解压后的呼入语音信息。The second call data packet is encapsulated incoming voice information sent by the telephone receiving end to the voice talking device. When the incoming call information is incoming through the loop telephone interface 70, the telephone exchange module 50 receives the incoming voice information, and the call control module 10 controls the telephone switching module 50 to decompress the received incoming voice information. The telephone switching module 50 samples and quantizes the incoming voice information. The call control module 10 will control the phone module 40 to send the decompressed incoming voice information to the phone module 40, so that the phone module 40 can play the decompressed incoming voice information.
当电话呼入信息是通过网络电话接口60呼入时,网络交换模块30接收呼入语音信息,通话控制模块10控制该网络交换模块30使用UDP协议将接收到的呼入语音信息进行解码,并控制该网络交换模块30将解码后的呼入语音信息发送给电话交换模块50,当电话交换模块50在接收到该解码后的呼入语音信息时,该通话控制模块10控制该电话交换模块50对该解码后的呼入语音信息进行解压,并控制该电话交换模块50将解压后的呼入语音信息发送给电话模块40,以供该电话模块40播放该解压后的呼入语音信息。When the incoming call information is incoming through the network telephone interface 60, the network switching module 30 receives the incoming voice information, and the call control module 10 controls the network switching module 30 to decode the received incoming voice information using the UDP protocol, and Controlling the network switching module 30 to send the decoded incoming voice information to the telephone switching module 50. When the telephone switching module 50 receives the decoded incoming voice information, the call control module 10 controls the telephone switching module 50. The decoded incoming voice information is decompressed, and the telephone switching module 50 is controlled to send the decompressed incoming voice information to the telephone module 40, so that the telephone module 40 plays the decompressed incoming voice information.
本实施例通过在电话接通后,采集听筒输入的音频数据,并对采集的音频数据进行压缩后生成第一通话数据包,将第一通话数据包经当前的电话呼出模式对应的电话接口输出,在经当前的电话呼出模式对应的电话接口接收到第二通话数据包时,对接收到的所述第二通话数据包进行解压缩后经听筒输出,简化了用户的电话呼出操作。In this embodiment, after the phone is connected, the audio data input by the earpiece is collected, and the collected audio data is compressed to generate a first call data packet, and the first call data packet is output through a telephone interface corresponding to the current call mode. When the second call data packet is received by the telephone interface corresponding to the current telephone call mode, the received second call data packet is decompressed and output through the handset, which simplifies the user's telephone call out operation.
进一步的,基于所述任一实施例,请参照图5,为本发明提出的适用于语音通话设备的语音通话控制方法的第二实施例的流程示意图,在该第二实施例中,语音通话设备的语音通话控制方法还包括:Further, based on any of the foregoing embodiments, please refer to FIG. 5, which is a schematic flowchart of a second embodiment of a voice call control method applicable to a voice call device according to the present invention. In the second embodiment, a voice call is used. The voice call control method of the device further includes:
步骤S210,在同时接收到多个电话呼入信息时,将多个电话呼入信息进行排队,生成呼入信息队列;Step S210: When multiple incoming call information is received at the same time, multiple incoming call incoming information is queued to generate an incoming call information queue;
步骤S220,根据呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照呼入信息队列呼入下一电话呼入信息。Step S220: Invoke each of the telephone incoming call information according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
在本实施例中,通话控制模块10在电话交换模块50同时接收到多个电话呼入时,控制该电话交换模块50对该多个电话呼入信息进行排队,并给电话呼入发送排队音,通话控制模块10根据排队后的电话呼入信息控制电话交换模块依次将电话呼入信息对应的电话呼入。其中,语音通话设备同时接收到多个电话呼入包括在电话呼入未接通时有多个电话呼入和在电话呼入接通时有多个电话呼入。In this embodiment, when the telephone exchange module 50 receives a plurality of telephone incoming calls at the same time, the call control module 10 controls the telephone exchange module 50 to queue the plurality of telephone incoming call information, and sends a queuing tone to the incoming call of the telephone. The call control module 10 controls the telephone exchange module to sequentially call the phone corresponding to the call incoming information according to the incoming call incoming information. Wherein, the voice call device receives multiple phone calls at the same time, including multiple phone calls when the phone call is not connected, and multiple phone calls when the phone call is turned on.
本实施例通过在同时接收到多个电话呼入信息时,将多个电话呼入信息进行排队,生成呼入信息队列,根据呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照呼入信息队列呼入下一电话呼入信息,避免了多个电话呼入时对电话线路中资源的占用,使得语音通话更加顺畅,保障了通话的质量。In this embodiment, when multiple incoming call information is received at the same time, multiple incoming call information is queued to generate an incoming call queue, and each incoming call information is sequentially called according to the incoming information queue. When the incoming call is disconnected, the next incoming call information is forwarded according to the incoming information queue, thereby avoiding the occupation of resources in the telephone line when multiple incoming calls are made, so that the voice call is smoother and the call is guaranteed. quality.
本发明进一步提供一种语音通话设备。The invention further provides a voice call device.
参照图6,图6为本发明语音通话设备的第一实施例的功能模块示意图。Referring to FIG. 6, FIG. 6 is a schematic diagram of functional modules of a first embodiment of a voice call device according to the present invention.
在本实施例中,所述语音通话设备包括:获取模块110、生成模块120及输出模块130。In this embodiment, the voice call device includes: an obtaining module 110, a generating module 120, and an output module 130.
所述获取模块110,用于在接收到电话呼出指令时,获取当前的电话呼出模式;The obtaining module 110 is configured to acquire a current call mode when receiving a call by the phone;
参照图2,图2为本发明语音通话设备的结构示意图。语音通话设备还包括:电话模块40、网络电话接口60、环路电话接口70、固网电话接口80、人机交互模块20、网络交换模块30、电话交换模块50及通话控制模块10;电话模块20与电话交换模块50和固网电话接口80分别连接;电话交换模块50与环路电话接口70、固网电话接口80及网络交换模块30连接;网络交换模块30分别与网络电话接口60和人机交互模块20连接;通话控制模块10与电话交换模块50、网络交换模块30及人机交互模块20连接。Referring to FIG. 2, FIG. 2 is a schematic structural diagram of a voice call device according to the present invention. The voice call device further includes: a telephone module 40, a network telephone interface 60, a loop telephone interface 70, a fixed network telephone interface 80, a human-machine interaction module 20, a network switching module 30, a telephone switching module 50, and a call control module 10; 20 is connected to the telephone exchange module 50 and the fixed line telephone interface 80 respectively; the telephone exchange module 50 is connected to the loop telephone interface 70, the fixed line telephone interface 80 and the network switching module 30; the network switching module 30 is connected to the network telephone interface 60 and the person respectively. The machine interaction module 20 is connected; the call control module 10 is connected to the telephone exchange module 50, the network switching module 30, and the human-machine interaction module 20.
在本实施例中,通话控制模块10用于接收基于用户输入拨号信号和接收基于用户在人机交互模块20的显示屏上选择的电话呼出模式的请求指令,并控制呼叫排队和业务处理,例如,在同一时间有多个电话呼入,该通话控制模块10可控制呼叫排队,并给该电话呼入端发送排队音信息。网络交换模块30用于控制语音通话设备的其它模块协同工作,实现数据交换,并用于呼出语音信息的发送和呼入语音信息的接收,使用UDP协议对呼出语音信息进行打包和对呼入语音信息的解包;人机交互模块20用于显示接收到的基于用户输入的拨号信息和外部呼入的电话信息,并用于显示电话呼出模式,该电话呼出模式包括网络电话呼出模式和环路电话呼出模式,且该人机交互模块20设置有用于拨号的触控输入单元,使得人机交互模块可接收用户的触控输入信号;电话交换模块50用于将压缩电话模块40采集到的呼出语音信息和解码外部呼入语音信息,并用于对语音信息进行采样、量化、编码和解码,还提供环路电话和固网电话的接入功能;电话模块40用于采集用户输入的呼出语音信息和播放外部呼入语音信息,并提供免提功能;网络电话接口60与网线连接;环路电话接口70可以有多个,每个环路电话接口70可分别对接不同业务,例如,环路电话接口71对接电信业务,环路电话接口72对接铁通业务;固网电话接口80上连接固网电话线。In this embodiment, the call control module 10 is configured to receive a request instruction based on a user inputting a dial signal and receiving a call mode based on a user selected on a display screen of the human-machine interaction module 20, and control call queuing and service processing, for example, At the same time, there are multiple incoming calls, and the call control module 10 can control the call queue and send the queued tone information to the caller. The network switching module 30 is configured to control other modules of the voice call device to work together to implement data exchange, and is used for sending out outgoing voice information and receiving incoming voice information, and using the UDP protocol to package outgoing voice information and incoming voice information. The unpacking; the human-computer interaction module 20 is configured to display the received user-entered dialing information and external incoming telephone information, and is used to display a telephone outgoing mode, the telephone calling mode including a network telephone calling mode and a loop telephone calling out a mode, and the human-machine interaction module 20 is provided with a touch input unit for dialing, so that the human-machine interaction module can receive the touch input signal of the user; and the telephone exchange module 50 is configured to collect the outgoing voice information collected by the compressed telephone module 40. And decoding external incoming voice information, and is used for sampling, quantizing, encoding, and decoding voice information, and also providing access functions of loop telephone and fixed line telephone; and telephone module 40 is configured to collect outgoing voice information and play by user input. External incoming voice information and hands-free function; network telephone interface 60 and network cable There may be multiple loop telephone interfaces 70, and each loop telephone interface 70 can respectively connect different services, for example, the loop telephone interface 71 is connected to the telecommunication service, the loop telephone interface 72 is connected to the Tietong service; and the fixed line telephone interface 80 is Connect to the fixed line telephone line.
用户在语音通话设备上输入电话号码,该电话模块40中拨号单元接收电话号码输入信号,当用户在预定时间内拨号完成时,该电话模块40触发电话呼出指令,并将该电话呼出指令通过通话控制模块40发送给人机交换模块20,使得该人机交换模块20基于该电话呼出指令显示该语音通话设备当前记录的电话呼出模式,在该语音通话设备中的人机交换模块20接收到用户输入的电话呼出模式后,将该电话呼出模式发送给通话控制模块10,以供该通话控制模块10获取该电话呼出模式,并将该电话呼出模式作为当前的电话呼出模式。The user inputs a phone number on the voice call device, and the dialing unit in the phone module 40 receives the phone number input signal. When the user dials in a predetermined time, the phone module 40 triggers the phone call instruction and calls the call by the call. The control module 40 sends the human-machine switching module 20 to the human-machine switching module 20, so that the human-machine switching module 20 displays the telephone call-out mode currently recorded by the voice-talking device based on the telephone call-out command, and the human-machine switching module 20 receives the user in the voice-talking device. After the incoming call mode, the call mode is sent to the call control module 10 for the call control module 10 to acquire the call mode and use the call mode as the current call mode.
所述生成模块120,用于根据当前的电话呼出模式对应的呼出号码以及电话呼叫指令对应的被叫号码生成呼叫数据包;The generating module 120 is configured to generate a call data packet according to an outgoing call number corresponding to the current call mode and a called number corresponding to the call instruction of the phone;
在通话控制模块10获取到当前电话呼出模式后,该通话控制模块10将通过当前电话呼出模式拨出的呼出号码以及该电话呼叫指令对应的被叫号码打包后生成呼叫数据包。After the call control module 10 obtains the current call mode, the call control module 10 packs the call number dialed by the current call mode and the called number corresponding to the phone call command to generate a call data packet.
需要说明的是,用户在选择电话呼出模式之前,需要预先判断当前拨出的电话号码是否是只能通过IP网络通话的电话号码,在用户正确判断该电话号码是只能通过IP网络通话的电话号码后,用户选择人机交互模块10弹出的呼出选择窗口中的网络电话呼出模式才能进行通话。It should be noted that before selecting the call mode, the user needs to pre-determine whether the currently dialed phone number is a phone number that can only be communicated through the IP network. The user correctly determines that the phone number is a call that can only be made through the IP network. After the number, the user selects the network telephone call out mode in the outgoing call selection window popped up by the human interaction module 10 to make a call.
所述输出模块130,用于采用与当前的电话呼出模式对应的电话接口输出呼叫数据包。The output module 130 is configured to output a call data packet by using a telephone interface corresponding to a current call mode.
在通话控制模块10获取到当前电话呼出模式后,该通话控制模块10将与该当前电话呼出模式对应的电话接口接通,并采用与该当前电话呼出模式对应的电话接口输出该呼叫数据包。After the call control module 10 obtains the current call mode, the call control module 10 turns on the telephone interface corresponding to the current call mode, and outputs the call data packet by using a telephone interface corresponding to the current call mode.
所述获取模块110,还用于在语音通话设备处于未上电状态时,确定固网电话接口对应的固话呼出模式作为为当前的电话呼出模式。The obtaining module 110 is further configured to determine, when the voice call device is in an unpowered state, the fixed call mode corresponding to the fixed network phone interface as the current call mode.
在接收到电话呼出指令时,判断语音通话设备是否处于上电状态之后,在该语音通话设备处于未上电状态时,电话模块40与固网电话接口80连接,且该电话模块40上设置有拨号单元,当语音通话设备断电时,人机交互模块20、网络交换模块30、通话控制模块10、电话交换模块70均无法使用,电话模块40直接通过固网电话接口80接入到程控交换机,作为普通电话机使用,并确定固网电话接口对应的固话呼出模式作为为当前的电话呼出模式。After receiving the call instruction, determining whether the voice call device is in the power-on state, when the voice call device is in the unpowered state, the phone module 40 is connected to the fixed-line phone interface 80, and the phone module 40 is provided with The dialing unit, when the voice calling device is powered off, the human-machine interaction module 20, the network switching module 30, the call control module 10, and the telephone switching module 70 are all unavailable, and the telephone module 40 directly accesses the program-controlled switch through the fixed-line telephone interface 80. As a normal telephone, and determine the fixed-line call mode corresponding to the fixed-line telephone interface as the current call-out mode.
本实施例通过在接收到电话呼出指令时,获取模块110获取当前的电话呼出模式,生成模块120根据当前的电话呼出模式对应的呼出号码以及呼叫指令对应的被叫号码生成呼叫数据包,输出模块130采用与当前的电话呼出模式对应的电话接口输出呼叫数据包,使得语音通话设备兼容固网电话通话、网络电话通话和环路通话这三者的通话功能,既保留固网电话通话功能,又可以基于用户的意愿来选择网络电话通话功能或环路通话功能,减少了用户桌面语音通话设备的配备数量。In this embodiment, when the call module receives the call instruction, the acquiring module 110 acquires the current call mode, and the generating module 120 generates a call data packet according to the call number corresponding to the current call mode and the called number corresponding to the call instruction, and the output module. 130 uses the telephone interface corresponding to the current telephone call mode to output a call data packet, so that the voice call device is compatible with the call functions of the fixed line telephone call, the network telephone call, and the loop call, and retains the fixed line telephone call function, and The VoIP call function or the loop call function can be selected based on the user's will, and the number of the user's desktop voice call device is reduced.
进一步的,基于上述第一实施例,提出本发明语音通话设备的第二实施例,在本实施例中,参照图7,所述获取模块110包括判定单元111、显示单元112、确定单元113。Further, based on the foregoing first embodiment, a second embodiment of the voice call device of the present invention is proposed. In this embodiment, referring to FIG. 7, the acquiring module 110 includes a determining unit 111, a display unit 112, and a determining unit 113.
所述判定单元111,用于在接收到电话呼出指令时,判断语音通话设备是否处于上电状态;The determining unit 111 is configured to determine, when the phone call instruction is received, whether the voice call device is in a power-on state;
所述显示单元112,用于在语音通话设备处于上电状态时,显示选择界面以供用户选择电话呼出模式;The display unit 112 is configured to display a selection interface for the user to select a call mode when the voice call device is in a power-on state;
在本实施例中,在通话控制模块10接收到电话呼出指令时,该通话控制模块10判断语音通话设备是否处于上电状态,若是,则该通话控制模块10接收到拨号单元发送的电话呼出指令,并将该电话呼出指令通过网络交换模块30发送给人机交换模块20,该人机交换模块20接收到该电话呼出指令时,根据电话呼出指令显示电话呼出选择窗口,该电话呼出选择窗口中包含电话呼出模式,以供用户查看。当该人机交互模块20弹出包含有电话呼出模式的电话呼出选择窗口后,用户根据自己的意愿选择电话呼出模式,人机交互模块20在获取到用户选择的电话呼出模式后,将该电话呼出模式通过该网络交换模块30反馈给通话控制模块10。In this embodiment, when the call control module 10 receives the call instruction, the call control module 10 determines whether the voice call device is in the power-on state, and if so, the call control module 10 receives the call command sent by the dialing unit. And sending the outgoing call instruction to the human-machine switching module 20 through the network switching module 30. When receiving the outgoing call instruction, the human-machine switching module 20 displays a call-out selection window according to the outgoing call instruction, and the call is selected in the call window. Includes phone call mode for users to view. After the human-machine interaction module 20 pops up the call-out selection window including the call-out mode, the user selects the call-out mode according to his/her own intention, and the human-machine interaction module 20 calls the call after acquiring the call mode selected by the user. The mode is fed back to the call control module 10 through the network switching module 30.
所述确定单元113,用于在接收到基于选择界面触发的选择操作时,将选择操作对应的电话呼出模式为当前的电话呼出模式。The determining unit 113 is configured to, when receiving the selection operation triggered by the selection interface, set the phone call mode corresponding to the selection operation to the current phone call mode.
当人机交换模块20接收到用户在弹出的电话呼出选择窗口中选择的网络电话呼出模式时,该语音通话设备以网络电话呼出模式进行电话呼出,该人机交互模块20并将该网络电话呼出模式通过通话控制模块10发送给电话交换模块50,并将该网络电话呼出模式作为当前电话呼出模式。When the human-machine switching module 20 receives the network telephone call-out mode selected by the user in the pop-up call-out selection window, the voice-talking device performs a telephone call out in the network telephone call-out mode, and the human-machine interaction module 20 calls the network telephone call. The mode is sent to the telephone switching module 50 through the call control module 10, and the network telephone call mode is used as the current telephone call mode.
当人机交互模块20接收到用户在弹出的电话呼出选择窗口中选择的环路电话呼出模式时,该语音通话设备以环路电话呼出模式进行电话呼出,该人机交互模块20并将该环路电话呼出模式通过通话控制模块10发送给电话交换模块50,并将该环路电话呼出模式作为当前的电话呼出模式。When the human-machine interaction module 20 receives the loop telephone call-out mode selected by the user in the pop-up call-out selection window, the voice-talking device performs a telephone call-out in a loop-phone call-out mode, and the human-machine interaction module 20 and the ring The telephone call mode is sent to the telephone switching module 50 through the call control module 10, and the loop telephone call mode is used as the current telephone call mode.
需要说明的是,当前环路电话接口70上的环路电话线的连接位置都会被电话交换模块50采集,并存储在语音通话设备存储空间的配置文件中。例如,当前环路电话接口71上对应电信业务,当前环路电话接口72上对应铁通业务,那么电话交换模块50将采集到的当前环路电话接口的连接位置(环路电话接口71和环路电话接口72)存储在配置文件中。当该语音通话设备在使用过程中,电话交换模块50获取该配置文件,从该配置文件中检测当前环路电话接口70上环路电话线的连接位置。当电话交换模块50从配置文件中检测到当前环路电话接口70上环路电话线的连接位置后,将该环路电话线的连接位置通过网络交换模块发送给人机交换模块20,以供该人机交换模块20显示该环路电话线的连接位置。It should be noted that the connection location of the loop telephone line on the current loop telephone interface 70 is collected by the telephone switching module 50 and stored in the configuration file of the voice call device storage space. For example, the current loop telephone interface 71 corresponds to the telecommunication service, and the current loop telephone interface 72 corresponds to the Telecommunication service, and then the telephone switch module 50 will collect the connected position of the current loop telephone interface (the loop telephone interface 71 and the loop). The phone interface 72) is stored in the configuration file. When the voice calling device is in use, the telephone switching module 50 acquires the configuration file, and detects the connection location of the loop telephone line on the current loop telephone interface 70 from the configuration file. After the telephone switching module 50 detects the connection location of the loop telephone line on the current loop telephone interface 70 from the configuration file, the connection location of the loop telephone line is sent to the human-machine switching module 20 through the network switching module for The human-machine switching module 20 displays the connection location of the loop telephone line.
本实施例通过在接收到电话呼出指令时,判断语音通话设备是否处于上电状态,在语音通话设备处于上电状态时,显示选择界面以供用户选择电话呼出模式,在接收到基于选择界面触发的选择操作时,将选择操作对应的电话呼出模式为当前的电话呼出模式。由于该人机交互模块中显示电话呼出模式选择窗口提供了一个或者多个电话呼出模式,只要用户选择了其中一个电话呼出模式,就会根据电话呼出模式控制电话交换模块选择与电话呼出模式对应的电话接口呼出电话号码,无需用户使用不同的话机来呼出电话号码。In this embodiment, when the call instruction is received, it is determined whether the voice call device is in the power-on state. When the voice call device is in the power-on state, the display selection interface is displayed for the user to select the call mode, and the trigger is triggered based on the selection interface. When the selection operation is performed, the phone call mode corresponding to the operation is selected as the current call mode. Since the display phone call mode selection window in the human-computer interaction module provides one or more phone call-out modes, as long as the user selects one of the phone call-out modes, the phone exchange mode is controlled according to the phone call-out mode to select the phone call-out mode. The phone interface calls out the phone number, eliminating the need for the user to use a different phone to call out the phone number.
进一步的,基于上述第一实施例,提出本发明语音通话设备的第三实施例,在本实施例中,参照图8,所述输出模块130包括第一输出单元131、第二输出单元132。Further, based on the above-mentioned first embodiment, a third embodiment of the voice communication device of the present invention is proposed. In this embodiment, referring to FIG. 8, the output module 130 includes a first output unit 131 and a second output unit 132.
所述第一输出单元131,用于在电话接通后,采集听筒输入的音频数据,并对采集的音频数据进行压缩后生成第一通话数据包,将第一通话数据包经当前的电话呼出模式对应的电话接口输出;The first output unit 131 is configured to collect audio data input by the earpiece after the phone is turned on, and compress the collected audio data to generate a first call data packet, and call the first call data packet through the current call. Mode corresponding to the phone interface output;
在本实施例中,该第一通话数据包为该语音通话设备通话时电话模块40采集的并压缩后的呼出语音信息,该压缩后的呼出语音信息发送给电话接收端。在通话控制模块10接收到人机交互模块20发送的环路电话呼出模式时,将该环路电话呼出模式发送给电话交换模块50,当电话拨通后,在用户通话过程中,电话模块40采集用户输入的呼出语音信息,并将该呼出语音信息发送给电话交换模块50,以供该电话交换模块50压缩该呼出语音信息,该电话交换模块50根据该环路电话呼出模式呼出压缩后的呼出语音信息。其中,该电话交换模块50还对该呼出语音信息进行采样、量化、编码、压缩处理,并对通话过程中的呼出语音信息进行回声消除、噪声抑制、舒适噪声产生及语音增强。In this embodiment, the first call data packet is the compressed voice information collected by the telephone module 40 when the voice call device is in a call, and the compressed outgoing voice information is sent to the telephone receiving end. When the call control module 10 receives the loop telephone call mode sent by the human-machine interaction module 20, the loop telephone call-out mode is sent to the telephone exchange module 50. After the call is dialed, during the call of the user, the telephone module 40 Collecting the outgoing voice information input by the user, and sending the outgoing voice information to the telephone switching module 50, for the telephone switching module 50 to compress the outgoing voice information, and the telephone switching module 50 exhales the compressed according to the loop telephone calling mode. Call out voice messages. The telephone switching module 50 also samples, quantizes, encodes, and compresses the outgoing voice information, and performs echo cancellation, noise suppression, comfort noise generation, and voice enhancement on the outgoing voice information during the call.
在通话控制模块10接收到人机交互模块20发送的网络电话呼出模式后,将该网络电话呼出模式发送给电话交换模块50,当电话拨通后,在用户通话过程中,电话模块40采集用户输入的呼出语音信息,并将该呼出语音信息发送给电话交换模块50。该电话交换模块50将接收到呼出语音信息进行压缩,由于电话交换模块50接收到的当前电话呼出模式为网络电话呼出模式,因此该电话交换模块50根据网络电话呼出模式将该压缩后的呼出语音信息发送给网络交换模块30。该网络交换模块30接收到压缩后的呼出语音信息后,使用用户数据报协议(User Datagram Protocol ,UDP )对压缩后的呼出语音信息进行打包, 将打包后的呼出语音信息发送给语音通话对端。After the call control module 10 receives the network call mode sent by the human-machine interaction module 20, the network call mode is sent to the phone exchange module 50. After the call is made, the phone module 40 collects the user during the call. The incoming outgoing voice information is sent to the telephone switching module 50. The telephone switching module 50 compresses the received outgoing voice information. Since the current telephone outgoing mode received by the telephone switching module 50 is the network telephone outgoing mode, the telephone switching module 50 converts the compressed outgoing voice according to the network telephone calling mode. The information is sent to the network switching module 30. After receiving the compressed outgoing voice information, the network switching module 30 uses the user datagram protocol (User The Datagram Protocol (UDP) packs the compressed outgoing voice information, and sends the packaged outgoing voice information to the voice call peer.
需要说明的是,该电话交换模块50还对该呼出语音信息进行采样、量化、编码、压缩处理,并对通话过程中的呼出语音信息进行回声消除、噪声抑制、舒适噪声产生及语音增强。It should be noted that the telephone switching module 50 also samples, quantizes, encodes, and compresses the outgoing voice information, and performs echo cancellation, noise suppression, comfort noise generation, and voice enhancement on the outgoing voice information during the call.
所述第二输出单元132,用于在经当前的电话呼出模式对应的电话接口接收到第二通话数据包时,对接收到的所述第二通话数据包进行解压缩后经听筒输出。The second output unit 132 is configured to: after receiving the second call data packet through the phone interface corresponding to the current call mode, decompress the received second call data packet and output the output through the handset.
该第二通话数据包为电话接收端向该语音通话设备发送的封装的呼入语音信息。当电话呼入信息是通过环路电话接口70呼入时,电话交换模块50接收该呼入语音信息,该通话控制模块10控制该电话交换模块50将接收到的呼入语音信息进行解压,该电话交换模块50并对该呼入语音信息进行采样、量化。该通话控制模块10将控制该电话模块40将解压后的呼入语音信息发送给电话模块40,以供该电话模块40播放该解压后的呼入语音信息。The second call data packet is encapsulated incoming voice information sent by the telephone receiving end to the voice talking device. When the incoming call information is incoming through the loop telephone interface 70, the telephone exchange module 50 receives the incoming voice information, and the call control module 10 controls the telephone switching module 50 to decompress the received incoming voice information. The telephone switching module 50 samples and quantizes the incoming voice information. The call control module 10 will control the phone module 40 to send the decompressed incoming voice information to the phone module 40, so that the phone module 40 can play the decompressed incoming voice information.
当电话呼入信息是通过网络电话接口60呼入时,网络交换模块30接收呼入语音信息,通话控制模块10控制该网络交换模块30使用UDP协议将接收到的呼入语音信息进行解码,并控制该网络交换模块30将解码后的呼入语音信息发送给电话交换模块50,当电话交换模块50在接收到该解码后的呼入语音信息时,该通话控制模块10控制该电话交换模块50对该解码后的呼入语音信息进行解压,并控制该电话交换模块50将解压后的呼入语音信息发送给电话模块40,以供该电话模块40播放该解压后的呼入语音信息。When the incoming call information is incoming through the network telephone interface 60, the network switching module 30 receives the incoming voice information, and the call control module 10 controls the network switching module 30 to decode the received incoming voice information using the UDP protocol, and Controlling the network switching module 30 to send the decoded incoming voice information to the telephone switching module 50. When the telephone switching module 50 receives the decoded incoming voice information, the call control module 10 controls the telephone switching module 50. The decoded incoming voice information is decompressed, and the telephone switching module 50 is controlled to send the decompressed incoming voice information to the telephone module 40, so that the telephone module 40 plays the decompressed incoming voice information.
本实施例通过在电话接通后,采集听筒输入的音频数据,并对采集的音频数据进行压缩后生成第一通话数据包,将第一通话数据包经当前的电话呼出模式对应的电话接口输出,在经当前的电话呼出模式对应的电话接口接收到第二通话数据包时,对接收到的所述第二通话数据包进行解压缩后经听筒输出,并简化了用户的电话呼出操作。In this embodiment, after the phone is connected, the audio data input by the earpiece is collected, and the collected audio data is compressed to generate a first call data packet, and the first call data packet is output through a telephone interface corresponding to the current call mode. When the second call data packet is received by the telephone interface corresponding to the current telephone call mode, the received second call data packet is decompressed and output through the handset, and the user's telephone call out operation is simplified.
进一步的,基于上述任一实施例,提出本发明语音通话设备的第四实施例,在本实施例中,参照图9,所述语音通话设备还包括:生成模块210、呼入模块220。Further, based on any of the foregoing embodiments, a fourth embodiment of the voice call device of the present invention is provided. In this embodiment, referring to FIG. 9, the voice call device further includes: a generating module 210 and an incoming module 220.
所述生成模块210,在同时接收到多个电话呼入信息时,将多个电话呼入信息进行排队,生成呼入信息队列;The generating module 210, when receiving a plurality of telephone incoming call information at the same time, queuing a plurality of telephone incoming call information to generate an incoming call information queue;
所述呼入模块220,根据呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照呼入信息队列呼入下一电话呼入信息。The incoming call module 220 sequentially calls each of the incoming call information according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
在本实施例中,通话控制模块10在电话交换模块50同时接收到多个电话呼入时,控制该电话交换模块50对该多个电话呼入信息进行排队,并给电话呼入发送排队音,通话控制模块10根据排队后的电话呼入信息控制电话交换模块依次将电话呼入信息对应的电话呼入。其中,语音通话设备同时接收到多个电话呼入包括在电话呼入未接通时有多个电话呼入和在电话呼入接通时有多个电话呼入。In this embodiment, when the telephone exchange module 50 receives a plurality of telephone incoming calls at the same time, the call control module 10 controls the telephone exchange module 50 to queue the plurality of telephone incoming call information, and sends a queuing tone to the incoming call of the telephone. The call control module 10 controls the telephone exchange module to sequentially call the phone corresponding to the call incoming information according to the incoming call incoming information. Wherein, the voice call device receives multiple phone calls at the same time, including multiple phone calls when the phone call is not connected, and multiple phone calls when the phone call is turned on.
本实施例通过在同时接收到多个电话呼入信息时,将多个电话呼入信息进行排队,生成呼入信息队列,根据呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照呼入信息队列呼入下一电话呼入信息,避免了多个电话呼入时对电话线路中资源的占用,使得语音通话更加顺畅,保障了通话的质量。In this embodiment, when multiple incoming call information is received at the same time, multiple incoming call information is queued to generate an incoming call queue, and each incoming call information is sequentially called according to the incoming information queue. When the incoming call is disconnected, the next incoming call information is forwarded according to the incoming information queue, thereby avoiding the occupation of resources in the telephone line when multiple incoming calls are made, so that the voice call is smoother and the call is guaranteed. quality.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种适用于语音通话设备的语音通话控制方法,其特征在于,所述语音通话设备集成有不同模式的电话接口,所述电话接口包括网络电话接口、环路电话接口及/或固网电话接口,所述方法包括以下步骤: A voice call control method suitable for a voice call device, characterized in that the voice call device is integrated with different modes of telephone interfaces, and the telephone interface comprises a network telephone interface, a loop telephone interface and/or a fixed network telephone interface. The method includes the following steps:
    在接收到电话呼出指令时,获取当前的电话呼出模式;Obtaining the current call mode when receiving a call by phone;
    根据所述当前的电话呼出模式对应的呼出号码以及所述电话呼叫指令对应的被叫号码生成呼叫数据包;Generating a call data packet according to the outgoing call number corresponding to the current call mode and the called number corresponding to the call instruction;
    采用与所述当前的电话呼出模式对应的电话接口输出所述呼叫数据包。The call data packet is output using a telephone interface corresponding to the current telephone call mode.
  2. 如权利要求1所述的语音通话设备的语音通话控制方法,其特征在于,所述语音通话设备的语音通话控制方法还包括以下步骤:The voice call control method of the voice call device according to claim 1, wherein the voice call control method of the voice call device further comprises the following steps:
    在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;When receiving multiple incoming call information at the same time, the multiple incoming call incoming information is queued to generate an incoming call information queue;
    根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
  3. 如权利要求1所述的语音通话设备的语音通话控制方法,其特征在于,在接收到电话呼出指令时,获取当前的电话呼出模式的步骤包括:The voice call control method of a voice call device according to claim 1, wherein the step of acquiring the current call mode of the call when receiving the call instruction of the call comprises:
    在接收到电话呼出指令时,判断所述语音通话设备是否处于上电状态;When receiving the call instruction, determining whether the voice call device is in a power-on state;
    在所述语音通话设备处于上电状态时,显示选择界面以供用户选择电话呼出模式;When the voice call device is in a power-on state, displaying a selection interface for the user to select a phone call mode;
    在接收到基于所述选择界面触发的选择操作时,将所述选择操作对应的电话呼出模式为当前的所述电话呼出模式。Upon receiving the selection operation triggered based on the selection interface, the phone call mode corresponding to the selection operation is the current phone call mode.
  4. 如权利要求3所述的语音通话设备的语音通话控制方法,其特征在于,所述语音通话设备的语音通话控制方法还包括以下步骤:The voice call control method of the voice call device of claim 3, wherein the voice call control method of the voice call device further comprises the following steps:
    在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;When receiving multiple incoming call information at the same time, the multiple incoming call incoming information is queued to generate an incoming call information queue;
    根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
  5. 如权利要求1所述的语音通话设备的语音通话控制方法,其特征在于,判断所述语音通话设备是否处于上电状态的步骤之后,所述获取当前的电话呼出模式的步骤还包括:The voice call control method of the voice call device according to claim 1, wherein after the step of determining whether the voice call device is in a power-on state, the step of acquiring the current call mode of the call further comprises:
    在所述语音通话设备处于未上电状态时,确定所述固网电话接口对应的固话呼出模式作为为当前的所述电话呼出模式。And determining, when the voice call device is in an unpowered state, the fixed call mode corresponding to the fixed network phone interface as the current call mode.
  6. 如权利要求5所述的语音通话设备的语音通话控制方法,其特征在于,所述语音通话设备的语音通话控制方法还包括以下步骤:The voice call control method of the voice call device of claim 5, wherein the voice call control method of the voice call device further comprises the following steps:
    在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;When receiving multiple incoming call information at the same time, the multiple incoming call incoming information is queued to generate an incoming call information queue;
    根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
  7. 如权利要求1所述的语音通话设备的语音通话控制方法,其特征在于,所述采用与所述当前的电话呼出模式对应的电话接口输出所述呼叫数据包的步骤包括:The voice call control method for a voice call device according to claim 1, wherein the step of outputting the call data packet by using a telephone interface corresponding to the current telephone call mode comprises:
    在电话接通后,采集听筒输入的音频数据,并对采集的音频数据进行压缩后生成第一通话数据包,将所述第一通话数据包经当前的电话呼出模式对应的电话接口输出;After the phone is connected, the audio data input by the earpiece is collected, and the collected audio data is compressed to generate a first call data packet, and the first call data packet is output through a telephone interface corresponding to the current call mode;
    在经当前的电话呼出模式对应的电话接口接收到第二通话数据包时,对接收到的所述第二通话数据包进行解压缩后经所述听筒输出。When the second call data packet is received by the telephone interface corresponding to the current telephone call mode, the received second call data packet is decompressed and output through the handset.
  8. 如权利要求7所述的语音通话设备的语音通话控制方法,其特征在于,所述语音通话设备的语音通话控制方法还包括以下步骤:The voice call control method of the voice call device of claim 7, wherein the voice call control method of the voice call device further comprises the following steps:
    在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;When receiving multiple incoming call information at the same time, the multiple incoming call incoming information is queued to generate an incoming call information queue;
    根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。Each of the incoming call information is sequentially called according to the incoming call information queue, wherein when the incoming call is disconnected, the next incoming call information is called according to the incoming information queue.
  9. 一种语音通话设备,其特征在于,所述语音通话设备集成有不同模式的电话接口,所述电话接口包括网络电话接口、环路电话接口及/或固网电话接口,所述语音通话设备包括:A voice call device, characterized in that the voice call device is integrated with different modes of telephone interfaces, the telephone interface comprises a network telephone interface, a loop telephone interface and/or a fixed network telephone interface, and the voice call device comprises :
    获取模块,用于在接收到电话呼出指令时,获取当前的电话呼出模式;An obtaining module, configured to acquire a current call mode when receiving an outgoing call instruction;
    生成模块,用于根据所述当前的电话呼出模式对应的呼出号码以及所述呼叫指令对应的被叫号码生成呼叫数据包;a generating module, configured to generate a call data packet according to the outgoing call number corresponding to the current call mode and the called number corresponding to the call instruction;
    输出模块,用于采用与所述当前的电话呼出模式对应的电话接口输出所述呼叫数据包。And an output module, configured to output the call data packet by using a telephone interface corresponding to the current telephone call mode.
  10. 如权利要求9所述的语音通话设备,其特征在于,所述语音通话设备还包括:The voice call device of claim 9, wherein the voice call device further comprises:
    生成模块,用于在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;a generating module, configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue;
    呼入模块,用于根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。The incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
  11. 如权利要求9所述的语音通话设备,其特征在于,所述获取模块包括:The voice call device of claim 9, wherein the obtaining module comprises:
    判定单元,用于在接收到电话呼出指令时,判断所述语音通话设备是否处于上电状态;a determining unit, configured to determine, when receiving the call instruction, whether the voice call device is in a power-on state;
    显示单元,用于在所述语音通话设备处于上电状态时,显示选择界面以供用户选择电话呼出模式;a display unit, configured to display a selection interface for the user to select a call mode when the voice call device is in a power-on state;
    确定单元,用于在接收到基于所述选择界面触发的选择操作时,将所述选择操作对应的电话呼出模式为当前的所述电话呼出模式。And a determining unit, configured to: when the selection operation triggered based on the selection interface is received, the phone call mode corresponding to the selection operation is the current phone call mode.
  12. 如权利要求11所述的语音通话设备,其特征在于,所述语音通话设备还包括:The voice call device of claim 11, wherein the voice call device further comprises:
    生成模块,用于在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;a generating module, configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue;
    呼入模块,用于根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。The incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
  13. 如权利要求9所述的语音通话设备,其特征在于,在调用所述判定单元之后,所述获取模块还用于:The voice call device according to claim 9, wherein after the invoking the determining unit, the acquiring module is further configured to:
    在所述语音通话设备处于未上电状态时,确定所述固网电话接口对应的固话呼出模式作为为当前的所述电话呼出模式。And determining, when the voice call device is in an unpowered state, the fixed call mode corresponding to the fixed network phone interface as the current call mode.
  14. 如权利要求13所述的语音通话设备,其特征在于,所述语音通话设备还包括:The voice call device of claim 13, wherein the voice call device further comprises:
    生成模块,用于在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;a generating module, configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue;
    呼入模块,用于根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。The incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
  15. 如权利要求9所述的语音通话设备,其特征在于,所述输出模块包括:The voice call device of claim 9, wherein the output module comprises:
    第一输出单元,用于在电话接通后,采集听筒输入的音频数据,并对采集的音频数据进行压缩后生成第一通话数据包,将所述通话数据包经当前的电话呼出模式对应的电话接口输出;a first output unit, configured to collect audio data input by the earpiece after the phone is turned on, and compress the collected audio data to generate a first call data packet, and the call data packet is corresponding to the current call mode Telephone interface output;
    第二输出单元,用于在经当前的电话呼出模式对应的电话接口接收到第二通话数据包时,对接收到的所述第二通话数据包进行解压缩后经所述听筒输出。The second output unit is configured to: when the second call data packet is received by the telephone interface corresponding to the current call mode, the second call data packet is decompressed and output through the handset.
  16. 如权利要求15所述的语音通话设备,其特征在于,所述语音通话设备还包括:The voice call device of claim 15, wherein the voice call device further comprises:
    生成模块,用于在同时接收到多个电话呼入信息时,将所述多个电话呼入信息进行排队,生成呼入信息队列;a generating module, configured to queue the multiple incoming call information when the multiple incoming call information is received at the same time, to generate an incoming call queue;
    呼入模块,用于根据所述呼入信息队列依次呼入各个所述电话呼入信息,其中,在有呼入的电话挂断时,按照所述呼入信息队列呼入下一电话呼入信息。The incoming call module is configured to sequentially input the respective incoming call information according to the incoming call information queue, wherein, when the incoming call is disconnected, the next incoming call is invoked according to the incoming information queue. information.
PCT/CN2016/085038 2016-04-13 2016-06-07 Voice communication device, and voice communication control method WO2017177526A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610227761.X 2016-04-13
CN201610227761.XA CN105979061A (en) 2016-04-13 2016-04-13 Voice communication equipment and voice communication control method

Publications (1)

Publication Number Publication Date
WO2017177526A1 true WO2017177526A1 (en) 2017-10-19

Family

ID=56989316

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085038 WO2017177526A1 (en) 2016-04-13 2016-06-07 Voice communication device, and voice communication control method

Country Status (2)

Country Link
CN (1) CN105979061A (en)
WO (1) WO2017177526A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487717A (en) * 2002-07-24 2004-04-07 Lg������ʽ���� Double-IP telephone and method for tlelcomunicating with the same telephone
CN1852526A (en) * 2006-02-15 2006-10-25 华为技术有限公司 Fusion terminal
CN101651753A (en) * 2009-09-14 2010-02-17 中兴通讯股份有限公司 Calling control device and method for supporting circuit domain telephone and voice over IP
CN102387243A (en) * 2010-09-06 2012-03-21 中兴通讯股份有限公司 Mobile terminal
CN202617224U (en) * 2012-03-26 2012-12-19 北京国微集成技术有限公司 Integrated telephone set

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6233315B1 (en) * 1998-05-21 2001-05-15 Bell Atlantic Network Services, Inc. Methods and apparatus for increasing the utility and interoperability of peripheral devices in communications systems
CN201994956U (en) * 2011-03-28 2011-09-28 深圳市共进电子有限公司 Integrated access device compatible with public telephone network and based on VOIP

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487717A (en) * 2002-07-24 2004-04-07 Lg������ʽ���� Double-IP telephone and method for tlelcomunicating with the same telephone
CN1852526A (en) * 2006-02-15 2006-10-25 华为技术有限公司 Fusion terminal
CN101651753A (en) * 2009-09-14 2010-02-17 中兴通讯股份有限公司 Calling control device and method for supporting circuit domain telephone and voice over IP
CN102387243A (en) * 2010-09-06 2012-03-21 中兴通讯股份有限公司 Mobile terminal
CN202617224U (en) * 2012-03-26 2012-12-19 北京国微集成技术有限公司 Integrated telephone set

Also Published As

Publication number Publication date
CN105979061A (en) 2016-09-28

Similar Documents

Publication Publication Date Title
WO2013147384A1 (en) Wired and wireless earset using ear-insertion-type microphone
WO2019045474A1 (en) Method and device for processing audio signal using audio filter having non-linear characteristics
WO2019019374A1 (en) Method, apparatus, and system for controlling household appliance with intelligent voice device
EP1898621B1 (en) Ip voice processing peripheral device
WO2018028135A1 (en) Downlink data information feedback method and relevant device
WO2014098441A1 (en) System and method of controlling surrounding devices, based on topology
WO2013127233A1 (en) Cellphone-based key unlocking method and cellphone
WO2020231202A1 (en) Electronic device comprising plurality of speakers and control method therefor
WO2017181508A1 (en) Multimedia meeting control method and server
US5841856A (en) Hands-free telephone set
WO2018139884A1 (en) Method for processing vr audio and corresponding equipment
WO2018227768A1 (en) Method, apparatus and device for managing ivr incoming line and computer readable storage medium
WO2020032649A1 (en) Electronic device and communication relaying method thereof
WO2018233221A1 (en) Multi-window sound output method, television, and computer-readable storage medium
WO2014166042A1 (en) Terminal device, interactive voice response device, missing call reminding system and method
WO2017185480A1 (en) Multi-screen interaction connection method, device and system
WO2017080403A1 (en) Projection equipment control method, projection equipment and smart terminal
WO2018048098A1 (en) Portable camera and controlling method therefor
WO2019066343A1 (en) Method and device for communication between electronic devices
WO2013187719A1 (en) A method and system to notify users activity during an ongoing communication session
WO2019091128A1 (en) Signal preview method for new access source and television set
WO2018133346A1 (en) Method and system for simultaneously answering sounds of multiple parties during call
WO2017152527A1 (en) Method for controlling slave device application of smart television, and smart television
WO2017177526A1 (en) Voice communication device, and voice communication control method
WO2019218440A1 (en) Information exchange method, apparatus and device and readable storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16898341

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16898341

Country of ref document: EP

Kind code of ref document: A1