CN111131595B - Method, apparatus and storage medium for controlling telephone speaker - Google Patents

Method, apparatus and storage medium for controlling telephone speaker Download PDF

Info

Publication number
CN111131595B
CN111131595B CN201811287776.0A CN201811287776A CN111131595B CN 111131595 B CN111131595 B CN 111131595B CN 201811287776 A CN201811287776 A CN 201811287776A CN 111131595 B CN111131595 B CN 111131595B
Authority
CN
China
Prior art keywords
telephone
sound box
input instruction
voice
telephone sound
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811287776.0A
Other languages
Chinese (zh)
Other versions
CN111131595A (en
Inventor
董伟杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201811287776.0A priority Critical patent/CN111131595B/en
Publication of CN111131595A publication Critical patent/CN111131595A/en
Application granted granted Critical
Publication of CN111131595B publication Critical patent/CN111131595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/06Arrangements for interconnection between switching centres using auxiliary connections for control or supervision, e.g. where the auxiliary connection is a signalling system number 7 link
    • H04M7/066Arrangements for interconnection between switching centres using auxiliary connections for control or supervision, e.g. where the auxiliary connection is a signalling system number 7 link where the auxiliary connection is via an Internet Protocol network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R27/00Public address systems
    • H04R27/04Electric megaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2227/00Details of public address [PA] systems covered by H04R27/00 but not provided for in any of its subgroups
    • H04R2227/003Digital PA systems using, e.g. LAN or internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Telephone Function (AREA)

Abstract

A method, equipment and storage medium for controlling a telephone loudspeaker relate to the field of communication and aim to reduce the cost of the telephone loudspeaker. The method comprises the following steps: the method comprises the steps that target equipment obtains an input instruction, wherein the target equipment has an IP voice bearing function; and the target equipment controls the telephone sound box to make sound according to the input instruction and completes the operation corresponding to the input instruction. The application is used for providing playback services.

Description

Method, apparatus and storage medium for controlling telephone speaker
Technical Field
The present application relates to the field of communications, and in particular, to a method, device, and storage medium for controlling a telephone speaker.
Background
With the development of technology, more and more users choose to use smart speakers to provide sound reproduction (e.g., music reproduction, etc.) functions. After the smart sound box obtains the playing instruction of the user, the playing instruction is processed, and then corresponding playing operation is completed.
However, such a smart speaker often has a plurality of components such as a CPU built therein, and thus is expensive.
Disclosure of Invention
The embodiment of the application provides a method, equipment and a storage medium for controlling a telephone sound box so as to reduce the cost of the telephone sound box.
In a first aspect, a method for controlling a speaker of a telephone is provided, comprising:
the method comprises the steps that target equipment obtains an input instruction, wherein the target equipment has an IP voice bearing function;
and the target equipment controls the telephone sound box to make sound according to the input instruction and completes the operation corresponding to the input instruction.
In a second aspect, a method for controlling a speaker of a telephone is provided, comprising:
receiving a control instruction transmitted by target equipment by a telephone sound box, wherein the target equipment is equipment with an IP voice bearing function and is connected with the telephone sound box (for example, through a telephone line or a network cable);
and the telephone loudspeaker box emits sound based on the control instruction.
In a third aspect, an apparatus with voice over IP functionality is provided, comprising a receiving module and a processing module,
the receiving module is used for acquiring an input instruction;
and the processing module is used for controlling the telephone sound box to make sound according to the input instruction and finishing the operation corresponding to the input instruction.
In a fourth aspect, there is provided a telephone speaker comprising:
the receiving module is used for receiving a control instruction transmitted by target equipment, wherein the target equipment is equipment with an IP voice bearing function and is connected with the telephone sound box;
and the sound playing module is used for sending out sound based on the control instruction.
In a fifth aspect, there is provided a target device comprising a memory and a processor, the memory having stored thereon a computer program that, when executed by the processor, performs the following: the method comprises the steps that target equipment obtains an input instruction, wherein the target equipment has an IP voice bearing function; and the target equipment controls the telephone sound box to make sound according to the input instruction and completes the operation corresponding to the input instruction.
In a sixth aspect, a telephone loudspeaker is provided, the telephone loudspeaker comprising a memory and a processor, the memory having stored thereon a computer program that, when executed by the processor, performs the following: the method comprises the steps that a telephone sound box receives a control instruction transmitted by target equipment, wherein the target equipment is equipment with an IP voice bearing function and is connected with the telephone sound box; and the telephone loudspeaker box emits sound based on the control instruction.
In a seventh aspect, a non-transitory computer readable storage medium is provided, on which a computer program is stored, which when executed, performs the following: the method comprises the steps that target equipment obtains an input instruction, wherein the target equipment has an IP voice bearing function; and the target equipment controls the telephone sound box to make sound according to the input instruction and completes the operation corresponding to the input instruction.
In an eighth aspect, there is provided a non-transitory computer readable storage medium having stored thereon a computer program that when executed performs the operations of: the method comprises the steps that a telephone sound box receives a control instruction transmitted by target equipment, wherein the target equipment has an IP voice bearing function and is connected with the telephone sound box; and the telephone loudspeaker box emits sound based on the control instruction.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
in the embodiment of the application, the target equipment with the IP voice bearing function acquires an input instruction, controls the telephone sound box to make a sound based on the input instruction, and completes the operation corresponding to the input instruction. Therefore, the processing of the input instruction is finished by the target equipment with the IP voice bearing function, and the telephone sound box is not required to carry out complex processing on the obtained input instruction, so that the number of parts in the telephone sound box can be reduced, and the cost of the telephone sound box is reduced.
Drawings
Fig. 1 is a flowchart of a method for controlling a telephone speaker according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for controlling a speaker phone according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for controlling a speaker phone according to an embodiment of the present application;
fig. 4 is a block diagram of a device with a voice over IP function according to an embodiment of the present application;
fig. 5 is a block diagram of a telephone speaker according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a target device provided by an embodiment of the invention;
fig. 7 is a schematic diagram of a telephone speaker provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Before introducing the technical solutions, some concepts that may be involved in the present application will be briefly described.
In the embodiment of the present application, the telephone speaker may refer to a speaker having both a normal speaker function (e.g., sound amplification) and a function of making and/or receiving a call. Here, the function of making and/or receiving a call may mean that the speaker performs the function of making and/or receiving a call by the target device, and may mean that the speaker performs the function of making and/or receiving a call. The telephone sound box is provided with a loudspeaker for playing sound, and can also be internally provided with a microphone for receiving voice input by a user. The telephone speaker may not have a handset, and may or may not have a dial pad as desired. The telephone speaker can support analog voice, receive voice input and output sound, support the functions of the traditional analog telephone and expand the related functions of the speaker, and the telephone speaker can support no digital communication protocol and does not need to digitize the voice.
The target device may be a device having a Voice Over IP (VOIP) function. Examples of target devices may be gateways and cats (such as optical cats, Digital Subscriber Line (DSL) cats, or cable cats), etc. The target device may include a Subscriber Line Interface Circuit (SLIC), a CODEC (CODEC or software for audio Compression (CO) and Decompression (DEC)), and a Digital Signal Processor (DSP). The target device can support the traditional telephone access function, can perform analog-to-digital (A/D) conversion when receiving analog voice from the sound box, and can simultaneously perform voice intelligent analysis directly or pack digital voice into IP message to be uploaded to a cloud voice Artificial Intelligence (AI) system for identification. The gateway device can generate voice or receive digital voice from a voice AI system, perform digital-to-analog (D/A) conversion and send the converted voice to a telephone sound box for playing.
The telephone speaker can have three states: playback state, calling state and called state. In both the calling state and the called state, the telephone speaker can still play sound, but in both the calling state and the called state, the telephone speaker can pause playing original sound content (if the original sound exists), and only play sound related to the telephone (for example, conversation content, call prompt tone or call termination prompt tone, etc.), and when the calling state or the called state is exited, continue playing original sound content. The playback state is a state in which the telephone function is not involved. That is, once the phone speaker is in the play state, it indicates that the phone speaker is exiting the phone function (e.g., not making or receiving a call). For example, the state of the telephone speaker playing music is a playback state; when the telephone is actively called, the telephone sound box is controlled to be in a calling state; under the condition of passively receiving an incoming call, the telephone loudspeaker box is controlled to be in a called state.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for controlling a telephone speaker according to an embodiment of the present invention. Referring to fig. 1, the method for controlling a telephone speaker according to the embodiment of the present invention may be applied to a target device, where the target device may be a device having a Voice Over Internet Protocol (VOIP) function, and may include:
in step 110, the target device obtains an input command.
In the embodiment of the present application, examples of the target device may be a gateway and a cat (such as an optical cat, a Digital Subscriber Line (DSL) cat, or a cable (cable) cat). The target device may be connected to the telephone speaker, for example, the target device may be connected to the telephone speaker via a telephone line or a network cable, so that power may be provided to the telephone speaker.
In the embodiment of the present application, the input instruction may be from a telephone speaker or from a network. When the input command comes from the telephone speaker, the input command may be a voice input command, for example, a voice input command related to dialing, a general voice control command unrelated to dialing, and the like. The voice input instruction associated with dialing may be a voice dialing input instruction. The input command can also be a non-voice command, for example, a dialing input command generated by keys from the telephone speaker.
In this embodiment, before step 110, the target device may detect whether it is connected to the phone speaker; and when the target equipment is connected with the telephone sound box, starting the voice input function of the telephone sound box and controlling the telephone sound box to be in a playback state. In this way, the telephone sound box can be controlled by the target device only when the target device is connected with the telephone sound box, and the telephone sound box can not start the voice input function and can not be in a sound reproduction state when the target device is not connected with the telephone sound box, so that unauthorized use of the telephone sound box by other people can be avoided.
In the embodiment of the application, a telephone interface may be provided on the target device, and the telephone speaker may be connected to the telephone interface through a telephone line or a network cable to implement a wired connection with the target device. In the process of detecting whether the target device is connected with the telephone sound box, the target device can determine whether a device connected with the telephone interface is the telephone sound box by determining the size of a characteristic value such as characteristic impedance of the device. For example, if the characteristic impedance is greater than a threshold, it may be determined to be a telephone speaker; conversely, if the characteristic impedance is not greater than the threshold, then it is not a telephone speaker.
And step 120, the target device controls the telephone sound box to make a sound according to the input instruction, and completes the operation corresponding to the input instruction.
After the target device acquires the input instruction, it may send a control instruction to the telephone speaker, for example, to control the telephone speaker to make a sound, and complete an operation corresponding to the input instruction.
In the embodiment of the application, the target equipment with the IP voice bearing function acquires an input instruction, controls the telephone sound box to make a sound based on the input instruction, and completes the operation corresponding to the input instruction. Therefore, the processing of the input instruction is finished by the target equipment with the IP voice bearing function, and the telephone sound box is not required to carry out complex processing on the obtained input instruction, so that the number of parts in the telephone sound box can be reduced, and the cost of the telephone sound box is reduced.
It should be understood that, in the embodiment of the present application, when the input instruction is an input instruction in the form of voice from the telephone speaker, since the voice of the user received by the telephone speaker is analog voice, the target device may perform analog-to-digital conversion, that is, convert the analog voice into digital voice. Furthermore, the input instruction acquired by the target device may be a digital voice input instruction after analog-to-digital conversion.
In an embodiment of the present application, if the input instruction obtained by the target device is a voice input instruction from a telephone speaker, the step 120 of controlling, by the target device, the telephone speaker to make a sound according to the input instruction, and performing an operation corresponding to the input instruction may include: the target device carries out voice recognition on the voice input instruction to obtain a voice recognition result; and the target equipment controls the telephone sound box to make sound according to the voice recognition result and completes the operation corresponding to the voice recognition result.
And performing voice recognition on the voice input instruction at the target equipment to acquire a voice recognition result, wherein the target equipment can upload the acquired input instruction to the cloud end, perform voice recognition by the cloud end, and acquire the voice recognition result by receiving the feedback of the cloud end. Of course, if the target device has a voice recognition function, the target device can directly perform voice recognition on the voice input command, and then obtain a voice recognition result.
In the process of controlling the telephone sound box, the target equipment can conveniently control the telephone sound box by utilizing voice recognition, so that the control operation on the telephone sound box is simplified, and the time of manual operation is saved.
In the embodiment of the present invention, the input instruction obtained by the target device may be an input instruction from a telephone speaker (for example, in the case of actively dialing by using the telephone speaker), or an input instruction from a network side (in the case of a passive incoming call).
In another embodiment of the present application, optionally, in the case of active dialing by using a telephone sound box, the input instruction acquired by the target device may be a voice dialing input instruction from the telephone sound box or a dialing input instruction generated by keys from the telephone sound box. It should be understood that the telephone speaker in the present application may be provided with a microphone to have a function of receiving voice, and may also be provided with one or more keys as needed, where the keys may be keys on a dial pad, or may be individually-provided dialing shortcut keys, or other keys for triggering dialing.
Correspondingly, in step 120, the controlling, by the target device, the telephone speaker to make a sound according to the input instruction, and completing the operation corresponding to the input instruction may include: and the target equipment controls the telephone sound box to be in a calling state and call a called party according to the input instruction, controls the telephone sound box to play a dialing prompt tone, controls the telephone sound box to play a call when the dialing is connected, controls the telephone sound box to play a call ending prompt tone when the call is ended, and switches the telephone sound box from the calling state to a playing state.
Here, the input command may carry information of the callee, for example, a telephone number of the callee. The dialing prompt tone can be a sound which is sent by a telephone sound box and used for broadcasting the numbers in the telephone number, and can also be a telephone ring which is sent by the telephone sound box after the telephone is dialed. The end alert tone may be a sound or a voice alert such as "end of call".
The embodiment not only can realize the active call function of the telephone by using the target equipment, but also can realize the playing of the call by using the telephone loudspeaker box after the telephone is dialed through by controlling the telephone loudspeaker box by using the target equipment. Therefore, the traditional telephone function can be realized, and the sound box playing function can also be realized.
In another embodiment of the present application, optionally, in the case of a passive incoming call, the input instruction obtained by the target device may be an incoming call instruction from the network, for example, an incoming call instruction sent by another phone speaker or a general phone in the network. Correspondingly, in step 120, the controlling, by the target device according to the input instruction, the telephone speaker to make a sound and performing an operation corresponding to the input instruction may include: and the target equipment controls the telephone sound box to be in a called state according to the incoming call instruction, controls the telephone sound box to play a called prompt tone, controls the telephone sound box to play a call when the incoming call is connected, controls the telephone sound box to play a call ending prompt tone when the call is ended, and switches the telephone sound box from the calling state to the sound playing state.
Here, the incoming call instruction may carry information of the target device, such as a phone number of the target device. The called alert tone may be, for example, a called ring tone or the like. The end alert tone may be a sound or a voice alert such as "end of call".
The embodiment not only can realize the function of calling by using the target equipment, but also can realize the function of playing the call by using the telephone loudspeaker box after the call is connected by controlling the telephone loudspeaker box by using the target equipment. Therefore, the traditional telephone function can be realized, and the sound box sound reproduction function can also be realized.
Fig. 2 is a flowchart of a method for controlling a telephone speaker according to an embodiment of the present invention. Referring to fig. 2, the method for controlling a telephone speaker according to an embodiment of the present invention may be applied to a telephone speaker, and may include:
step 210, a telephone sound box receives a control instruction transmitted by a target device, wherein the target device is a device with an IP voice bearing function and is connected with the telephone sound box.
In the embodiment of the invention, the target device can be connected with the telephone sound box through a telephone line or a network cable, and can supply power to the telephone sound box through the connecting line, so that power supply elements such as a battery and the like do not need to be arranged in the telephone sound box. Of course, the battery inside the telephone speaker may also be powered by the built-in battery, and in the case of the built-in battery inside the telephone speaker, if the telephone speaker is connected to the target device through a telephone line or a network cable, the battery inside the telephone speaker may be charged through the telephone line or the network cable. In this case, the battery in the phone speaker can provide more power when the phone speaker is in operation, so as to improve the ability of the phone speaker to play sound or receive signals.
In addition, in the embodiment of the invention, the telephone sound box can be powered by an additional external power supply, and the telephone sound box is not only powered by a telephone line or a network wire. When the telephone sound box is powered by an external power supply, the telephone sound box may have a power supply matching device (e.g., a power supply converter) inside, and the power supply matching device may be matched with the external power supply to perform power transmission. In this way, enhanced power may also be provided to the telephone speaker. Of course, in the embodiment of the present invention, the telephone speaker may also be powered by various combinations of the above power supply modes as needed.
In the embodiment of the present invention, the control instruction transmitted by the target device to the telephone speaker may be from a network, or may be generated according to an input instruction from the telephone speaker. The control instructions transmitted between the target device and the telephone speaker may be in the form of signals.
And step 220, the telephone sound box makes a sound based on the control instruction.
In an embodiment of the present invention, the target device may issue one or more control instructions to the phone speaker. For example, when music needs to be played, the target device may send a control instruction to the telephone speaker; when an active telephone call needs to be initiated, the target device can send another control instruction to the telephone sound box; when the incoming call needs to be answered, the target device can also send another control instruction to the telephone loudspeaker box. The telephone speaker can play various different sounds according to various control instructions from the target device.
In the embodiment of the application, the target device with the IP voice bearing function sends a control instruction to the telephone sound box, so that the telephone sound box is controlled to make sound. Therefore, the telephone sound box only needs to perform corresponding operation according to the control instruction of the target equipment without performing additional processing operation, so that the number of parts in the telephone sound box can be reduced, and the cost of the telephone sound box is reduced.
In an embodiment of the present application, in a case that the control instruction transmitted by the target device to the telephone sound box is generated according to an input instruction from the telephone sound box, before the telephone sound box receives the control instruction transmitted by the target device in step 210, the method for controlling the telephone sound box according to an embodiment of the present invention may further include: the method comprises the steps that a telephone sound box obtains an input instruction, wherein the input instruction is a voice input instruction or an input instruction generated through a key; and the telephone sound box transmits the input instruction to the target equipment. Accordingly, the step 210 of receiving, by the telephone speaker, the control instruction transmitted by the target device may include: and the telephone sound box receives a control instruction fed back by the target equipment according to the input instruction.
The telephone sound box in the embodiment can realize the on-demand control of the sound production of the telephone sound box by acquiring the input instruction, thereby better meeting the user requirements and improving the user experience.
Fig. 3 is a flowchart of a method for controlling a telephone speaker according to an embodiment of the present invention. Referring to fig. 3, taking a target device as an example of a gateway, a method for controlling a telephone speaker provided in an embodiment of the present invention may include:
step 310, the gateway detects whether the gateway is connected with the telephone loudspeaker box, wherein the gateway has a VOIP function.
Wherein step 310 may be performed after the gateway is powered up. The gateway detection of whether a telephone speaker is connected may be accomplished using the previously described means of determining a characteristic value, such as a characteristic impedance, of the connected device.
And 320, when the target equipment is connected with the telephone sound box, the gateway starts the voice input function of the telephone sound box and controls the telephone sound box to be in a sound reproduction state.
In the embodiment of the application, the telephone sound box in the sound reproduction state can start the voice playing function.
The process may terminate when the target device is not connected to the telephone speaker.
In step 330, the gateway obtains the input command and performs different operations based on the type of the input command.
Specifically, when the input instruction is a voice input instruction from a non-telephone function of the telephone speaker, step 3301 is executed; when the input instruction is a voice dialing input instruction from the telephone sound box or a dialing input instruction generated by keys from the telephone sound box, executing a step 3302; when the input command is an incoming call command from the network, step 3303 is executed.
3301, when the input instruction is a voice input instruction from a telephone speaker that is not a telephone function, the gateway performs voice recognition on the voice input instruction to obtain a voice recognition result; and controlling the telephone sound box to make a sound according to the voice recognition result, and completing the operation corresponding to the voice recognition result.
The voice input command of the non-telephone function may be, for example, playing music, turning on a WiFi switch, querying weather from a network, broadcasting weather conditions, and the like.
For example, the user sends a voice input command of "please play a song at random" through the phone speaker, and the gateway can send a control command through, for example, a phone line to control the phone speaker to play a song at random.
And 3302, when the input instruction is a voice dialing input instruction from the telephone speaker or a dialing input instruction generated by a key of the telephone speaker, the gateway may control the telephone speaker to be in a calling state and call a callee, control the telephone speaker to play a call when dialing is connected, and switch the telephone speaker from the calling state to the playing state when the call is ended.
For example, when the user sends an active dialing instruction to dial 152xxxx1234 by voice or by pressing a button, the gateway may call the user with the phone number 152xxxx1234, and play the sound of the call content after the call is connected. In the process, the sound box can also play an outgoing call ring.
Here, it should be understood that when the input command is a voice dialing input command from the phone speaker, a voice recognition process may be performed, and the gateway in step 3302 may be executed after the voice recognition to control the phone speaker to be in a calling state and call a callee.
Meanwhile, it is also needed to be understood that when the user sends an active dialing instruction of "dial zhang san phone" through voice, the gateway can acquire zhang san phone number from the cloud, and then dial zhang san phone number. Here, the cloud may store the user's address book (including the telephone number of zhang san). In the embodiment of the application, the address book of the user stored in the cloud may be actively stored by the user through voice or manual input, or may be generated by importing the address book on the mobile terminal (e.g., a mobile phone) of the user after the user logs in the gateway device through a web page.
And 3303, when the input instruction is an incoming call instruction from a network, the gateway may control the telephone speaker to be in a called state according to the incoming call instruction, control the telephone speaker to play a call when an incoming call is connected, and switch the telephone speaker from the called state to the sound reproduction state when the call is over.
For example, when the gateway receives an incoming call from 152xxxx1234 in the network, the gateway can control the telephone speaker to play the voice "incoming call received 152xxxx 1234" and make an incoming call ringtone. After the user sends an order of answering, the gateway can control the answering of the incoming call and control the sound of the telephone sound box to play the conversation content when the incoming call is connected.
In the embodiment of the invention, the processing of the input instruction is finished by the gateway with the IP voice bearing function, and the telephone sound box is not required to carry out complex processing on the obtained input instruction, so that the number of parts in the telephone sound box can be reduced, and the cost of the telephone sound box is reduced. Meanwhile, the telephone sound box can realize the traditional telephone function and the sound box playing function under the control of the gateway.
Fig. 4 is a block diagram of a device with a voice over IP function according to an embodiment of the present invention. Referring to fig. 4, an apparatus 400 with a voice over IP function according to an embodiment of the present invention may include: an acquisition module 410 and a processing module 420. Wherein:
the obtaining module 410 is configured to obtain an input instruction;
the processing module 420 is configured to control the telephone sound box to make a sound according to the input instruction obtained by the obtaining module 410, and complete an operation corresponding to the input instruction.
In the embodiment of the application, the target equipment with the IP voice bearing function acquires an input instruction, controls the telephone sound box to make a sound based on the input instruction, and completes the operation corresponding to the input instruction. Therefore, the processing of the input instruction is finished by the target equipment with the IP voice bearing function, and the telephone sound box is not required to carry out complex processing on the obtained input instruction, so that the number of parts in the telephone sound box can be reduced, and the cost of the telephone sound box is reduced.
Optionally, in an embodiment of the present application, the apparatus 400 further includes: the detection module is used for detecting whether the equipment is connected with the telephone sound box or not before the receiving module receives the input instruction; the processing module 420 is further configured to, when the device 400 is connected to the telephone speaker, turn on a voice input function of the telephone speaker, and control the telephone speaker to be in a playback state.
Optionally, in an embodiment of the present application, the input instruction is a voice input instruction from a telephone speaker, and the processing module 420 may be specifically configured to: performing voice recognition on the voice input instruction to obtain a voice recognition result; and controlling the telephone sound box to make a sound according to the voice recognition result, and finishing the operation corresponding to the voice recognition result.
Optionally, in an embodiment of the present application, the input instruction is a voice dialing input instruction from the telephone speaker or a dialing input instruction generated by a key from the telephone speaker. The processing module 420 may be specifically configured to: and controlling the telephone sound box to be in a calling state and call a called party according to the input instruction, controlling the telephone sound box to play a dialing prompt tone, controlling the telephone sound box to play a call when the dialing is connected, controlling the telephone sound box to play a call ending prompt tone when the call is ended, and switching the telephone sound box from the calling state to a playing state.
Optionally, in another embodiment of the present application, the input instruction is an incoming call instruction from a network. The processing module may be specifically configured to: and controlling the telephone sound box to be in a called state according to the incoming call instruction, controlling the telephone sound box to play a called prompt tone, controlling the telephone sound box to play a call when an incoming call is connected, controlling the telephone sound box to play a call ending prompt tone when the call is ended, and switching the telephone sound box from the calling state to the sound reproduction state.
Fig. 5 is a block diagram of a telephone speaker according to an embodiment of the present invention. Referring to fig. 5, a phone speaker 500 according to an embodiment of the present invention may include: a receiving module 510 and a sound playing module 520. Wherein:
a receiving module 510, configured to receive a control instruction transmitted by a target device, where the target device is a device having an IP voice bearer function and is connected to the phone sound box;
a sound playing module 520, configured to emit a sound based on the control instruction received by the receiving module 510.
In the embodiment of the application, the target device with the IP voice bearing function sends a control instruction to the telephone sound box, so that the telephone sound box is controlled to make a sound. Therefore, the telephone sound box only needs to perform corresponding operation according to the control instruction of the target equipment, and does not need to perform additional processing operation, so that the number of parts in the telephone sound box can be reduced, and the cost of the telephone sound box is reduced.
Optionally, in an embodiment of the present application, the phone sound box 500 may further include: the acquisition module is used for acquiring an input instruction before the receiving module receives a control instruction transmitted by target equipment, wherein the input instruction is a voice input instruction or an input instruction generated by a key; and the sending module is used for transmitting the input instruction to the target equipment.
Accordingly, the receiving module 510 may be specifically configured to: and receiving a control instruction fed back by the target equipment according to the input instruction.
Optionally, in this embodiment of the present application, the phone sound box 500 may be powered by at least one of the following ways: 1) the telephone sound box 500 is powered by a telephone line or a network cable between the telephone sound box and the target equipment; 2) the phone sound box 500 is powered by a built-in battery, wherein the battery is charged through the phone line or the network cable; and 3) the telephone sound box 500 is powered by an external power supply, wherein a power supply matching device is arranged in the telephone sound box 500, and the power supply matching device is matched with the external power supply to transmit power.
Fig. 6 is a schematic diagram of a target device according to an embodiment of the present invention. Referring to fig. 6, a target device 600 provided by the embodiment of the present invention may include a memory 610 and a processor 620, where the memory 610 may store thereon a computer program, and when the computer program is executed by the processor 620, the step of any one of the task recovery methods described above may be implemented. For example, the computer program, when executed by the processor 620, may perform the following operations: the method comprises the steps that target equipment obtains an input instruction, wherein the target equipment has an IP voice bearing function; and the target equipment controls the telephone sound box to make a sound according to the input instruction and completes the operation corresponding to the input instruction.
In the embodiment of the application, the target equipment with the IP voice bearing function acquires an input instruction, controls the telephone sound box to make a sound based on the input instruction, and completes the operation corresponding to the input instruction. Therefore, the processing of the input instruction is finished by the target equipment with the IP voice bearing function, and the telephone sound box is not required to perform complex processing on the obtained input instruction, so that the number of parts in the telephone sound box can be reduced, and the cost of the telephone sound box is reduced.
Fig. 7 is a schematic diagram of a telephone speaker according to an embodiment of the present invention. Referring to fig. 7, a phone speaker 700 according to an embodiment of the present invention may include a memory 710 and a processor 720, where the memory 710 may store a computer program, and when the computer program is executed by the processor 720, the computer program may implement the steps of any of the task recovery methods described above. For example, the computer program, when executed by the processor 620, may perform the following operations: the method comprises the steps that a telephone sound box receives a control instruction transmitted by target equipment, wherein the target equipment is equipment with an IP voice bearing function and is connected with the telephone sound box; and the telephone loudspeaker box emits sound based on the control instruction.
In the embodiment of the application, the target device with the IP voice bearing function sends a control instruction to the telephone sound box, so that the telephone sound box is controlled to make sound. Therefore, the telephone sound box only needs to perform corresponding operation according to the control instruction of the target equipment, and does not need to perform additional processing operation, so that the number of parts in the telephone sound box can be reduced, and the cost of the telephone sound box is reduced.
Furthermore, embodiments of the present invention may also provide a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed implements the steps in any of the task recovery methods described above. For example, the computer program when executed performs the following: the method comprises the steps that target equipment obtains an input instruction, wherein the target equipment has an IP voice bearing function; and the target equipment controls the telephone sound box to make sound according to the input instruction and completes the operation corresponding to the input instruction.
Furthermore, another non-transitory computer-readable storage medium may be provided, on which a computer program is stored, and when the computer program is executed, the method implements the steps in any one of the task recovery methods described above. For example, the computer program when executed performs the following: the method comprises the steps that a telephone sound box receives a control instruction transmitted by target equipment, wherein the target equipment is equipment with an IP voice bearing function and is connected with the telephone sound box; and the telephone loudspeaker box emits sound based on the control instruction.
According to the non-transitory computer-readable storage medium provided by the embodiment of the application, a target device with an IP voice bearing function acquires an input instruction, controls the telephone sound box to make a sound based on the input instruction, and completes an operation corresponding to the input instruction. Therefore, the processing of the input instruction is finished by the target equipment with the IP voice bearing function, and the telephone sound box is not required to carry out complex processing on the obtained input instruction, so that the number of parts in the telephone sound box can be reduced, and the cost of the telephone sound box is reduced.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transmyedia) such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.

Claims (14)

1. A method of controlling a telephone speaker, comprising:
the method comprises the steps that target equipment obtains an input instruction, wherein the target equipment has an IP voice bearing function, and the input instruction is from a telephone sound box or comes from a network;
the target equipment controls the telephone sound box to make sound according to the input instruction and completes the operation corresponding to the input instruction;
wherein, prior to the target device receiving the input instruction, the method further comprises:
the target device detects whether the target device is connected with the telephone sound box or not;
and when the target equipment is connected with the telephone sound box, starting the voice input function of the telephone sound box and controlling the telephone sound box to be in a sound reproduction state.
2. The method of claim 1, wherein the input command is a voice input command from a telephone speaker,
the target device controls the telephone sound box to make sound according to the input instruction, and the operation corresponding to the input instruction is completed by the target device, wherein the operation comprises the following steps:
the target device carries out voice recognition on the voice input instruction to obtain a voice recognition result;
and the target equipment controls the telephone sound box to make sound according to the voice recognition result and completes the operation corresponding to the voice recognition result.
3. The method of claim 1, wherein the input command is a voice dialing input command from the telephone speaker or a dialing input command generated by a key press from the telephone speaker,
the target device controls the telephone sound box to make a sound according to the input instruction, and the operation corresponding to the input instruction is completed, wherein the operation comprises the following steps:
and the target equipment controls the telephone sound box to be in a calling state and call a called party according to the input instruction, controls the telephone sound box to play a call when dialing is connected, and switches the telephone sound box from the calling state to a sound reproduction state when the call is finished.
4. The method of claim 1, wherein the input command is an incoming call command from a network;
the target device controls the telephone sound box to make sound according to the input instruction, and the operation corresponding to the input instruction is completed by the target device, wherein the operation comprises the following steps:
and the target equipment controls the telephone sound box to be in a called state according to the incoming call instruction, controls the telephone sound box to play a call when an incoming call is connected, and switches the telephone sound box from the called state to the playback state when the call is finished.
5. A method of controlling a telephone speaker, the method comprising:
the method comprises the steps that a telephone sound box receives a control instruction transmitted by target equipment, wherein the target equipment is equipment with an IP voice bearing function and is connected with the telephone sound box, the control instruction is from a network, or the control instruction is generated according to an input instruction from the telephone sound box; when the target equipment is connected with the telephone sound box, starting a voice input function of the telephone sound box and controlling the telephone sound box to be in a playback state;
and the telephone loudspeaker box emits sound based on the control instruction.
6. The method of claim 5, wherein before the phone speaker receives the control instruction transmitted by the target device, the method further comprises:
the method comprises the steps that the telephone sound box obtains an input instruction, wherein the input instruction is a voice input instruction or an input instruction generated through a key;
the telephone sound box transmits the input instruction to target equipment;
correspondingly, the receiving of the control instruction transmitted by the target device by the telephone sound box comprises the following steps: and the telephone sound box receives a control instruction fed back by the target equipment according to the input instruction.
7. An apparatus having voice over IP capability, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring an input instruction, and the input instruction is from a telephone sound box or from a network;
the processing module is used for controlling the telephone sound box to make sound according to the input instruction acquired by the acquisition module and finishing the operation corresponding to the input instruction;
the detection module is used for detecting whether the equipment is connected with the telephone sound box through a telephone line or not before the acquisition module acquires the input instruction;
the processing module is also used for starting the voice input function of the telephone sound box and controlling the telephone sound box to be in a playback state when the equipment is connected with the telephone sound box through the telephone line.
8. The apparatus of claim 7, wherein the input command is a voice input command from a telephone speaker,
the processing module is specifically configured to: performing voice recognition on the voice input instruction to obtain a voice recognition result; and controlling the telephone sound box to make a sound according to the voice recognition result, and finishing the operation corresponding to the voice recognition result.
9. The device of claim 8, wherein the input instruction is a voice dialing input instruction from the phone speaker or a dialing input instruction generated by a key from the phone speaker,
the processing module is specifically configured to:
and controlling the telephone sound box to be in a calling state and call a called party according to the input instruction, controlling the telephone sound box to play a call when dialing is connected, and switching the telephone sound box from the called state to a sound reproduction state when the call is finished.
10. The apparatus of claim 8, wherein the input command is an incoming call command from a network;
the processing module is specifically configured to:
and controlling the telephone sound box to be in a called state according to the incoming call instruction, controlling the telephone sound box to play a call when an incoming call is connected, and switching the telephone sound box from a calling state to a playing state when the call is finished.
11. A telephone speaker, comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a control instruction transmitted by target equipment, the target equipment is equipment with an IP voice bearing function and is connected with the telephone sound box, the control instruction is from a network, or the control instruction is generated according to an input instruction from the telephone sound box; when the target equipment is connected with the telephone sound box, starting a voice input function of the telephone sound box and controlling the telephone sound box to be in a sound reproduction state;
and the sound playing module is used for sending out sound based on the control instruction received by the receiving module.
12. The telephone sound of claim 11, further comprising:
the acquisition module is used for acquiring an input instruction before the receiving module receives a control instruction transmitted by target equipment, wherein the input instruction is a voice input instruction or an input instruction generated by a key;
the sending module is used for transmitting the input instruction to the target equipment;
correspondingly, the receiving module is specifically configured to: and receiving a control instruction fed back by the target equipment according to the input instruction.
13. The telephone speaker of claim 11, wherein the telephone speaker is powered by at least one of:
1) the telephone sound box supplies power through a telephone line or a network cable between the telephone sound box and the target equipment;
2) the telephone sound box is powered by a built-in battery, wherein the battery is charged through the telephone line or the network cable; and
3) the telephone sound box is powered by an external power supply, wherein a power supply matching device is arranged in the telephone sound box, and the power supply matching device is matched with the external power supply to transmit power.
14. A non-transitory computer readable storage medium, wherein the storage medium stores thereon a computer program, which when executed, implements the steps in the method of controlling a telephone speaker according to any one of claims 1-6.
CN201811287776.0A 2018-10-31 2018-10-31 Method, apparatus and storage medium for controlling telephone speaker Active CN111131595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811287776.0A CN111131595B (en) 2018-10-31 2018-10-31 Method, apparatus and storage medium for controlling telephone speaker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811287776.0A CN111131595B (en) 2018-10-31 2018-10-31 Method, apparatus and storage medium for controlling telephone speaker

Publications (2)

Publication Number Publication Date
CN111131595A CN111131595A (en) 2020-05-08
CN111131595B true CN111131595B (en) 2022-09-02

Family

ID=70485512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811287776.0A Active CN111131595B (en) 2018-10-31 2018-10-31 Method, apparatus and storage medium for controlling telephone speaker

Country Status (1)

Country Link
CN (1) CN111131595B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111884886B (en) * 2020-06-04 2022-02-18 烽火通信科技股份有限公司 Intelligent household communication method and system based on telephone

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010055782A (en) * 1999-12-13 2001-07-04 윤종용 Method for rejecting selective call of mobile communication set
CN201682623U (en) * 2009-12-02 2010-12-22 张纪永 Home multimedia phone-audio integral unit
CN204377105U (en) * 2015-02-03 2015-06-03 深圳市铭洋兴业科技有限公司 A kind of bluetooth earphone audio amplifier composite aircraft
CN204681563U (en) * 2015-04-23 2015-09-30 段太发 Line control machine with communicator and call Baffle Box of Bluetooth
CN105163236A (en) * 2015-09-11 2015-12-16 青岛歌尔声学科技有限公司 Intelligent sound system with gateway control function
CN106094545A (en) * 2016-07-01 2016-11-09 上海卓易云汇智能技术有限公司 Intelligent domestic system that a kind of automatic broadcasting is audio-visual and control method thereof
CN106533933A (en) * 2016-11-29 2017-03-22 上海市共进通信技术有限公司 Intelligent home gateway and control method thereof
CN108156497A (en) * 2018-01-02 2018-06-12 联想(北京)有限公司 A kind of control method, control device and control system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010055782A (en) * 1999-12-13 2001-07-04 윤종용 Method for rejecting selective call of mobile communication set
CN201682623U (en) * 2009-12-02 2010-12-22 张纪永 Home multimedia phone-audio integral unit
CN204377105U (en) * 2015-02-03 2015-06-03 深圳市铭洋兴业科技有限公司 A kind of bluetooth earphone audio amplifier composite aircraft
CN204681563U (en) * 2015-04-23 2015-09-30 段太发 Line control machine with communicator and call Baffle Box of Bluetooth
CN105163236A (en) * 2015-09-11 2015-12-16 青岛歌尔声学科技有限公司 Intelligent sound system with gateway control function
CN106094545A (en) * 2016-07-01 2016-11-09 上海卓易云汇智能技术有限公司 Intelligent domestic system that a kind of automatic broadcasting is audio-visual and control method thereof
CN106533933A (en) * 2016-11-29 2017-03-22 上海市共进通信技术有限公司 Intelligent home gateway and control method thereof
CN108156497A (en) * 2018-01-02 2018-06-12 联想(北京)有限公司 A kind of control method, control device and control system

Also Published As

Publication number Publication date
CN111131595A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
US7650168B2 (en) Voice activated dialing for wireless headsets
CN1203709C (en) Portable terminal
CN111200776B (en) Audio playing control method and sound box equipment
US20220286538A1 (en) Earphone device and communication method
KR20020013808A (en) A portable wireless communication apparatus
CN101488992A (en) Call processing method and mobile terminal
CN111131595B (en) Method, apparatus and storage medium for controlling telephone speaker
CN101478590A (en) Voice automatic response method and system for mobile phone
US20050059434A1 (en) Method for providing background sound effect for mobile phone
JPH04180327A (en) Telephone call system
CN101848259A (en) Speech processing method and system for digital family fixed telephone
CN111884886B (en) Intelligent household communication method and system based on telephone
CN109195044B (en) Noise reduction earphone, call terminal, noise reduction control method and recording method
CN101374166A (en) Communication device as well as voice information detection and processing method thereof
KR100658889B1 (en) Method for generating a receiving ring in a mobile communication system
TWI293001B (en) Method and apparatus for implementing internet telephone functions on an electronic player
JPS6394748A (en) Cordless talking equipment
KR100917363B1 (en) IP phone having audio file play function
CN107124494B (en) Earphone noise reduction method and device
CN101998073A (en) Television with telephone functions
US20100222030A1 (en) System and method for sending an audio message by mobile phone during communication
KR100208763B1 (en) Method for processing incoming call by remote control in telephone terminal
KR200347947Y1 (en) system for generating sound of the bell using a record process
US20180097921A1 (en) Method, electronic device, computer with non-volatile readable stroage for inputting voice of phone set to smart device
JP2005295253A (en) Information processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant