CN113595869A - Voice playing method and device, storage medium and electronic device - Google Patents

Voice playing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN113595869A
CN113595869A CN202110722035.6A CN202110722035A CN113595869A CN 113595869 A CN113595869 A CN 113595869A CN 202110722035 A CN202110722035 A CN 202110722035A CN 113595869 A CN113595869 A CN 113595869A
Authority
CN
China
Prior art keywords
voice
software development
development tool
audio
voice packet
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.)
Granted
Application number
CN202110722035.6A
Other languages
Chinese (zh)
Other versions
CN113595869B (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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110722035.6A priority Critical patent/CN113595869B/en
Publication of CN113595869A publication Critical patent/CN113595869A/en
Application granted granted Critical
Publication of CN113595869B publication Critical patent/CN113595869B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Abstract

The invention discloses a voice playing method and device, a storage medium and an electronic device, wherein the method comprises the following steps: generating a software development tool voice package according to the acquired voice resource; and adding the software development tool voice packet into an application directory of the audio and video call so as to enable the target object to play the voice corresponding to the software development tool voice packet in the audio and video call process, namely playing the acquired voice resource to generate the voice corresponding to the software development tool voice packet by the target object in the audio and video call process. By adopting the technical scheme, the problems that in the related technology, only the sending of characters and expression pictures is supported in the audio and video call chatting process, and the interestingness is not strong in the audio and video call chatting process are solved.

Description

Voice playing method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for playing voice, a storage medium, and an electronic apparatus.
Background
With the progress of scientific technology and the development of the internet and the popularization of smart phones, people increasingly use audio and video to communicate, in the communication process, people can often use some characters and expression pictures to express own ideas, and also can increase some funs in the audio and video process. In the related art, only the sending of characters and facial expressions is supported in the audio and video conversation chatting process, so that the method is more interesting in the audio and video conversation chatting process, and the prior art is not realized in a simple and effective mode.
Aiming at the problems that in the related technology, only the sending of characters and expression pictures is supported in the audio and video call chatting process, so that the interestingness is not strong in the audio and video call chatting process and the like, an effective solution is not provided.
Disclosure of Invention
The embodiment of the invention provides a voice playing method and device, a storage medium and an electronic device, which are used for at least solving the problems that in the related technology, only characters and expression pictures are supported to be sent in the audio and video call chatting process, so that the interestingness is not strong in the audio and video call chatting process, and the like.
According to an embodiment of the present invention, there is provided a voice playing method, including: generating a software development tool voice package according to the acquired voice resource; and adding the software development tool voice packet into an application directory of audio and video calls so as to enable a target object to play the voice corresponding to the software development tool voice packet in the audio and video call process.
In an exemplary embodiment, after generating the software development tool voice package according to the acquired voice resource, the method further includes: constructing a third-party software development tool library according to the acquired voice resources, wherein the third-party software development tool library comprises: a plurality of software development tool voice packages; and correspondingly generating a voice packet file corresponding to the software development tool voice packet according to the third-party software development tool library.
In an exemplary embodiment, adding the software development tool voice packet to an application directory of an audio/video call includes: and pulling the voice packet file corresponding to the voice packets of the plurality of software development tools into an application directory of the audio and video call.
In an exemplary embodiment, after adding the software development tool voice package to the application catalog of the audio-video call, the method further comprises: adding a calling mode of the voice packet file in the application directory; and in the process of passing the audio and video, calling the voice packet file according to the calling mode to play the voice corresponding to the software development tool voice packet.
In an exemplary embodiment, after adding the software development tool voice package to the application catalog of the audio-video call, the method further comprises: in the audio and video call process, responding to the operation of the target object in the target application, and selecting a target software development tool voice package from a plurality of software development tool voice packages; and calling a voice packet file corresponding to the target software development tool voice packet so as to play the voice corresponding to the target software development tool voice packet in the audio and video communication process.
In an exemplary embodiment, before generating the software development tool voice package according to the acquired voice resource, the method further includes: obtaining the voice resource by one of the following methods: and acquiring from a plurality of applications and intercepting from a target audio and video.
According to another embodiment of the present invention, there is also provided a voice playback apparatus including: the generating module is used for generating a software development tool voice package according to the acquired voice resource; and the adding module is used for adding the software development tool voice packet into an application directory of the audio and video call so as to play the voice corresponding to the software development tool voice packet in the audio and video passing process of a target object.
In one exemplary embodiment, the apparatus further comprises: the processing module is used for constructing a third-party software development tool library according to the acquired voice resources, wherein the third-party software development tool library comprises: a plurality of software development tool voice packages; and correspondingly generating a voice packet file corresponding to the software development tool voice packet according to the third-party software development tool library.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned voice playing method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the voice playing method through the computer program.
In the embodiment of the invention, a software development tool voice package is generated according to the acquired voice resource; and adding the software development tool voice packet into an application directory of the audio and video call so as to enable the target object to play the voice corresponding to the software development tool voice packet in the audio and video call process, namely playing the acquired voice resource to generate the voice corresponding to the software development tool voice packet by the target object in the audio and video call process. By adopting the technical scheme, the problem that in the related technology, only the sending of characters and expression pictures is supported in the audio and video call chatting process, so that the interestingness is not strong in the audio and video call chatting process is solved, and the interestingness of chatting is improved by sending the voice packet in time according to the current chatting scene in the audio and video call chatting process.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal of a voice playing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a voice playing method according to an embodiment of the present invention;
fig. 3 is a block diagram of a voice playback apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Taking the example of the operation on the mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a voice playing method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, which in an exemplary embodiment may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the voice playing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a voice playing method is provided, which is applied to the mobile terminal described above, and fig. 2 is a flowchart of the voice playing method according to the embodiment of the present invention, where the flowchart includes the following steps:
step S202, generating a software development tool voice package according to the acquired voice resource;
and step S204, adding the software development tool voice packet into an application directory of the audio and video call so as to enable a target object to play the voice corresponding to the software development tool voice packet in the audio and video call process.
Through the steps, a software development tool voice package is generated according to the acquired voice resources; and adding the software development tool voice packet into an application directory of the audio and video call so as to enable the target object to play the voice corresponding to the software development tool voice packet in the audio and video call process, namely playing the acquired voice resource to generate the voice corresponding to the software development tool voice packet by the target object in the audio and video call process. By adopting the technical scheme, the problems that in the related technology, only the sending of characters and expression pictures is supported in the audio and video call chatting process, and the interestingness is not strong in the audio and video call chatting process are solved.
The step S202 may have a plurality of implementation manners, and the embodiment of the present invention mainly provides an implementation scheme: constructing a third-party software development tool library according to the acquired voice resources, wherein the third-party software development tool library comprises: a plurality of software development tool voice packages; and correspondingly generating a voice packet file corresponding to the software development tool voice packet according to the third-party software development tool library.
That is to say, a third-party software development tool library is used for correspondingly generating a voice packet file corresponding to a software development tool voice packet, the third-party software development tool library is constructed by a plurality of voice resources, and the third-party software development tool library comprises a plurality of software development tool voice packets.
The third party software development tool library is a tool library of audio-video applications that is distinguished from the target object and the target object usage. The third-party software development tool library stores software development tool voice packages correspondingly generated by a plurality of voice resources, and is introduced to enable the target object to send the voice corresponding to the software development tool voice packages in the process of audio and video communication.
It should be noted that, in the embodiment of the present invention, when a voice resource is obtained, the voice resource may be edited into a software development tool voice packet (also referred to as an SDK voice packet) by using any available editing method.
In an exemplary embodiment, before the obtained voice resource generates the software development tool voice package, the voice resource may be obtained by one of the following methods: and acquiring from a plurality of applications and intercepting from a target audio and video.
It can be understood that there are two main sources of acquisition of speech resources: and acquiring from other applications, and intercepting from a target audio and video actively provided by the target object. It should be noted that the voice resource obtained from other applications does not need to be actively provided by the target object, the voice resource can be various types such as laughter, serious, educational significance and the like, the content of the voice resource can be some classical sections, and can also be a film speech, an animation speech and the like, and the invention does not limit the type and the content of the voice resource. But voice resources are not too large to guarantee real-time transmission.
In an exemplary embodiment, after the software development tool voice packet is added to the application directory of the audio/video call, the voice packet file corresponding to the plurality of software development tool voice packets is pulled into the application directory of the audio/video call.
That is to say, in order to realize that the target object can send the corresponding voice in the software development tool voice packet in the audio/video call process, the software development tool voice packet and the voice packet files corresponding to the plurality of software development tool voice packets need to be added to the application directory of the audio/video call.
In an exemplary embodiment, after the voice packet of the software development tool is added to an application directory of an audio and video call, adding a calling mode of the voice packet file in the application directory; and in the audio and video call process, calling the voice packet file according to the calling mode to play the voice corresponding to the software development tool voice packet.
It can be understood that calling the voice packet file to play the voice corresponding to the software development tool voice packet requires adding the calling mode of the voice packet file to the application directory according to a certain calling mode, and calling the voice packet file to play the voice corresponding to the software development tool voice packet according to the calling mode. The calling mode may be engineering creation, configuration, compilation and operation using a player voice plug-in or using a program language, which is not limited in the embodiment of the present invention.
In an exemplary embodiment, after the software development tool voice packet is added to an application directory of an audio/video call, in the audio/video call process, in response to the operation of the target object on a target application, one target software development tool voice packet is selected from a plurality of software development tool voice packets; and calling a voice packet file corresponding to the target software development tool voice packet so as to play the voice corresponding to the target software development tool voice packet in the audio and video communication process.
That is to say, in the audio and video communication process, the voice corresponding to the target software development tool voice packet is played, one of the plurality of software development tool voice packets needs to be selected, and the voice packet file corresponding to the target software development tool voice packet needs to be called.
For example, when the target object performs an audio/video call, a software development tool voice packet to be sent is selected, the software development tool voice packet must be downloaded in advance and stored locally, a voice packet file corresponding to the software development tool voice packet is called, and then voice corresponding to the target software development tool voice packet is played.
It should be noted that, when the target object sends the software development tool voice packet during the video call, the interface for sending the software development tool voice packet may be in a transparent state, so as to avoid affecting the audio/video effect of the target object, and in addition, the size and the position of the interface for sending the software development tool voice packet may be adjusted according to the requirement of the target object. In the process of audio and video chat, a software development tool voice package suitable for the situation at that time can be reasonably recommended according to the voice information, the video information and the like acquired by using the application.
In order to better understand the process of the voice playing method, the following describes the implementation method flow of the voice playing with reference to an optional embodiment, but the implementation method flow is not limited to the technical solution of the embodiment of the present invention.
The following explains the terms of alternative embodiments of the present invention in order to better understand the aspects of the alternative embodiments of the present invention.
SDK is an abbreviation for Software Development Kit, Software Development Kit. A software development kit is generally a collection of development tools used by some software engineers to build application software for a particular software package, software framework, hardware platform, operating system, and the like. The SDK may be an aggregate of many functional functions. The SDK is developed to reduce the workload of programmers, and for example, the SDK may be directly introduced into a voice packet SDK in a video call SDK, or may be applied to other projects requiring the function.
Now, taking an android system implementation as an example:
step 1: preparing a special-effect voice resource packet (equivalent to the voice resource in the above embodiment), where the resource source may be a network, a voice packet preparation, or the like;
step 2: developing a voice packet SDK (which is equivalent to the software development tool voice packet in the embodiment) and integrating various types of special-effect voices;
that is, there are various types of special-effect speech in the speech packet SDK.
And step 3: newly building a project:
1) building Module-Android Libiray;
2) newly building Activity in Moudle;
3) activity is declared in android manifest in Moudule;
4) starting to compile the SDK;
5) building and generating a third-party SDK library, wherein Build is more than rebuild;
6) under the Module directory, in the file of build- > outputs- > aar
It should be noted that the special-effect speech resource package is put into the third-party SDK library which is constructed and generated.
And 4, step 4: and applying the constructed voice packet SDK to the audio and video call SDK to realize the introduction of a voice packet scheme.
1) Pulling the aar file into the libs directory under the app directory:
2) adding a warehouse path and compiling dependence in the build.gradle under the app directory for convenient calling in the following.
And 5: when a user uses the voice packet, the user can download and store the special-effect voice in advance by clicking the special-effect voice on the display interface of the APP, for example, by using a WeChat, and when audio and video chatting is carried out, the user uses the appropriate special-effect voice packet to set off the chatting atmosphere and relieve the awkward chatting scene; in the process of audio and video chat, special-effect voice packets suitable for the situation at that time can be reasonably recommended according to the voice information, the video information and the like acquired by using the application.
In the process of audio and video communication, a target object acquires the speaking content of the target object and the meaning words in the speaking content, and determines a recommended voice packet in a software development tool voice packet according to the meaning words so that the target object selects the target voice packet according to the recommended voice packet.
Based on the scheme of the special-effect voice packet for the audio and video call, the special-effect voice packet can be of various types such as fun, seriousness, educational significance and the like, the content of the special-effect voice packet can be classical sections, and can also be content which can be quickly imitated by film lines, cartoon lines and the like, and a user sends out a proper special-effect voice packet in the audio and video call process, so that the chat atmosphere is supported, the chat interest is enhanced, and the audio and video call is carried out more smoothly.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Fig. 3 is a block diagram of a voice playback apparatus according to an embodiment of the present invention; as shown in fig. 3, includes:
the generating module 32 is configured to generate a software development tool voice package according to the acquired voice resource;
and the adding module 34 is configured to add the software development tool voice packet to an application directory of an audio/video call, so that a target object plays a voice corresponding to the software development tool voice packet in an audio/video passing process.
According to the technical scheme, a software development tool voice package is generated according to the acquired voice resources; and adding the software development tool voice packet into an application directory of the audio and video call so as to enable the target object to play the voice corresponding to the software development tool voice packet in the audio and video call process, namely playing the acquired voice resource to generate the voice corresponding to the software development tool voice packet by the target object in the audio and video call process. By adopting the technical scheme, the problems that in the related technology, only the sending of characters and expression pictures is supported in the audio and video call chatting process, and the interestingness is not strong in the audio and video call chatting process are solved.
Optionally, the apparatus further comprises: the processing module is used for constructing a third-party software development tool library according to the acquired voice resources, wherein the third-party software development tool library comprises: a plurality of software development tool voice packages; and correspondingly generating a voice packet file corresponding to the software development tool voice packet according to the third-party software development tool library.
That is to say, a third-party software development tool library is used for correspondingly generating a voice packet file corresponding to a software development tool voice packet, the third-party software development tool library is constructed by a plurality of voice resources, and the third-party software development tool library comprises a plurality of software development tool voice packets.
The third-party software development tool library is an application for audio and video which is different from the target object and the target object. The third-party software development tool library stores software development tool voice packages correspondingly generated by a plurality of voice resources, and is introduced to enable the target object to send the voice corresponding to the software development tool voice packages in the process of audio and video communication.
Optionally, after the software development tool voice packet is added to the application directory of the audio/video call, the adding module is further configured to pull the voice packet file corresponding to the plurality of software development tool voice packets into the application directory of the audio/video call.
That is to say, in order to realize that the target object can send the corresponding voice in the software development tool voice packet in the audio/video call process, the software development tool voice packet and the voice packet files corresponding to the plurality of software development tool voice packets need to be added to the application directory of the audio/video call.
Optionally, the adding module is further configured to add a calling mode of the voice packet file in the application directory after the software development tool voice packet is added to the application directory of the audio/video call; and in the process of passing the audio and video, calling the voice packet file according to the calling mode to play the voice corresponding to the software development tool voice packet.
It can be understood that calling the voice packet file to play the voice corresponding to the software development tool voice packet requires adding the calling mode of the voice packet file to the application directory according to a certain calling mode, and calling the voice packet file to play the voice corresponding to the software development tool voice packet according to the calling mode. The calling mode may be engineering creation, configuration, compilation and operation using a player voice plug-in or using a program language, which is not limited in the embodiment of the present invention.
Optionally, the processing module is further configured to, after the software development tool voice packet is added to an application directory of an audio/video call, respond to an operation of the target object on a target application in the audio/video call process, and select one target software development tool voice packet from a plurality of software development tool voice packets; and calling a voice packet file corresponding to the target software development tool voice packet so as to play the voice corresponding to the target software development tool voice packet in the audio and video communication process.
That is to say, in the audio and video communication process, the voice corresponding to the target software development tool voice packet is played, one of the plurality of software development tool voice packets needs to be selected, and the voice packet file corresponding to the target software development tool voice packet needs to be called.
For example, when the target object performs an audio/video call, a software development tool voice packet to be sent is selected, the software development tool voice packet must be downloaded in advance and stored locally, a voice packet file corresponding to the software development tool voice packet is called, and then voice corresponding to the target software development tool voice packet is played.
It should be noted that, when the target object sends the software development tool voice packet during the video call, the interface for sending the software development tool voice packet may be in a transparent state, so as to avoid affecting the audio/video effect of the target object, and in addition, the size and the position of the interface for sending the software development tool voice packet may be adjusted according to the requirement of the target object. In the process of audio and video chat, a software development tool voice package suitable for the situation at that time can be reasonably recommended according to the voice information, the video information and the like acquired by using the application.
Optionally, the generating module is further configured to, before generating the software development tool voice package according to the acquired voice resource, acquire the voice resource in one of the following manners: and acquiring from a plurality of applications and intercepting from a target audio and video.
It can be understood that there are two main sources of acquisition of speech resources: and acquiring from other applications, and intercepting from a target audio and video actively provided by the target object. It should be noted that the voice resource obtained from other applications does not need to be actively provided by the target object, the voice resource can be various types such as laughter, serious, educational significance and the like, the content of the voice resource can be some classical sections, and can also be a film speech, an animation speech and the like, and the invention does not limit the type and the content of the voice resource. But voice resources are not too large to guarantee real-time transmission.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, generating a software development tool voice package according to the acquired voice resources;
and S2, adding the software development tool voice packet into an application directory of the audio and video call so as to enable a target object to play the voice corresponding to the software development tool voice packet in the audio and video call process.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, generating a software development tool voice package according to the acquired voice resources;
and S2, adding the software development tool voice packet into an application directory of the audio and video call so as to enable a target object to play the voice corresponding to the software development tool voice packet in the audio and video call process.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for playing speech, comprising:
generating a software development tool voice package according to the acquired voice resource;
and adding the software development tool voice packet into an application directory of audio and video calls so as to enable a target object to play the voice corresponding to the software development tool voice packet in the audio and video call process.
2. The method according to claim 1, wherein after generating the software development tool voice package according to the acquired voice resource, the method further comprises:
constructing a third-party software development tool library according to the acquired voice resources, wherein the third-party software development tool library comprises: a plurality of software development tool voice packages;
and correspondingly generating a voice packet file corresponding to the software development tool voice packet according to the third-party software development tool library.
3. The method of claim 2, wherein adding the software development tool voice package to an application catalog of an audio-video call comprises:
and pulling the voice packet file corresponding to the voice packets of the plurality of software development tools into an application directory of the audio and video call.
4. The method of claim 3, wherein after adding the software development tool voice package to an application catalog of an audio-video call, the method further comprises:
adding a calling mode of the voice packet file in the application directory;
and in the process of passing the audio and video, calling the voice packet file according to the calling mode to play the voice corresponding to the software development tool voice packet.
5. The method of claim 4, wherein after adding the software development tool voice package to an application catalog of an audio-video call, the method further comprises:
responding to the operation of the target object in the target application in the audio and video call process so as to enable the target object to select one target software development tool voice package from a plurality of software development tool voice packages;
and calling a voice packet file corresponding to the target software development tool voice packet so as to play the voice corresponding to the target software development tool voice packet in the audio and video communication process.
6. The method according to any one of claims 1 to 5, wherein before generating the software development tool voice package from the acquired voice resource, the method further comprises:
obtaining the voice resource by one of the following methods: and acquiring from a plurality of applications and intercepting from a target audio and video.
7. A voice playback apparatus, comprising:
the generating module is used for generating a software development tool voice package according to the acquired voice resource;
and the adding module is used for adding the software development tool voice packet into an application directory of the audio and video call so as to play the voice corresponding to the software development tool voice packet in the audio and video passing process of a target object.
8. The apparatus of claim 7, further comprising:
the processing module is used for constructing a third-party software development tool library according to the acquired voice resources, wherein the third-party software development tool library comprises: a plurality of software development tool voice packages; and correspondingly generating a voice packet file corresponding to the software development tool voice packet according to the third-party software development tool library.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 6.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202110722035.6A 2021-06-28 2021-06-28 Voice playing method and device, storage medium and electronic device Active CN113595869B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110722035.6A CN113595869B (en) 2021-06-28 2021-06-28 Voice playing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110722035.6A CN113595869B (en) 2021-06-28 2021-06-28 Voice playing method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113595869A true CN113595869A (en) 2021-11-02
CN113595869B CN113595869B (en) 2023-10-24

Family

ID=78244863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110722035.6A Active CN113595869B (en) 2021-06-28 2021-06-28 Voice playing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113595869B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090292376A1 (en) * 2008-05-23 2009-11-26 Nortel Networks Limited Playlist execution in a scheduled programming environment
CN103200077A (en) * 2013-04-15 2013-07-10 腾讯科技(深圳)有限公司 Method, device and system for data interaction during voice communication
US20140310004A1 (en) * 2013-04-10 2014-10-16 Via Technologies, Inc. Voice control method, mobile terminal device, and voice control system
WO2016184295A1 (en) * 2015-05-19 2016-11-24 腾讯科技(深圳)有限公司 Instant messenger method, user equipment and system
CN106375581A (en) * 2016-09-06 2017-02-01 北京珠穆朗玛移动通信有限公司 Audio playing method during call and mobile terminal
WO2018090911A1 (en) * 2016-11-16 2018-05-24 腾讯科技(深圳)有限公司 Document processing method, terminal and server, computer storage medium
CN109194899A (en) * 2018-11-22 2019-01-11 维沃移动通信有限公司 A kind of method and terminal of audio-visual synchronization
CN109407843A (en) * 2018-10-22 2019-03-01 珠海格力电器股份有限公司 Control method and device, the storage medium, electronic device of multimedia
US20190206392A1 (en) * 2017-12-29 2019-07-04 Dish Network L.L.C. Methods and systems for recognizing audio played and recording related video for viewing
US20190278554A1 (en) * 2018-03-08 2019-09-12 Bose Corporation Augmented Reality Software Development Kit
CN111142978A (en) * 2019-12-27 2020-05-12 杭州涂鸦信息技术有限公司 Method and system for making call on basis of intelligent voice equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090292376A1 (en) * 2008-05-23 2009-11-26 Nortel Networks Limited Playlist execution in a scheduled programming environment
US20140310004A1 (en) * 2013-04-10 2014-10-16 Via Technologies, Inc. Voice control method, mobile terminal device, and voice control system
CN103200077A (en) * 2013-04-15 2013-07-10 腾讯科技(深圳)有限公司 Method, device and system for data interaction during voice communication
WO2016184295A1 (en) * 2015-05-19 2016-11-24 腾讯科技(深圳)有限公司 Instant messenger method, user equipment and system
CN106302087A (en) * 2015-05-19 2017-01-04 深圳市腾讯计算机系统有限公司 Instant communication method, Apparatus and system
CN106375581A (en) * 2016-09-06 2017-02-01 北京珠穆朗玛移动通信有限公司 Audio playing method during call and mobile terminal
WO2018090911A1 (en) * 2016-11-16 2018-05-24 腾讯科技(深圳)有限公司 Document processing method, terminal and server, computer storage medium
US20190206392A1 (en) * 2017-12-29 2019-07-04 Dish Network L.L.C. Methods and systems for recognizing audio played and recording related video for viewing
US20190278554A1 (en) * 2018-03-08 2019-09-12 Bose Corporation Augmented Reality Software Development Kit
CN109407843A (en) * 2018-10-22 2019-03-01 珠海格力电器股份有限公司 Control method and device, the storage medium, electronic device of multimedia
CN109194899A (en) * 2018-11-22 2019-01-11 维沃移动通信有限公司 A kind of method and terminal of audio-visual synchronization
CN111142978A (en) * 2019-12-27 2020-05-12 杭州涂鸦信息技术有限公司 Method and system for making call on basis of intelligent voice equipment

Also Published As

Publication number Publication date
CN113595869B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
JP6996005B2 (en) Resource configuration method, equipment, terminals, and storage media
CN109168028B (en) Video generation method, device, server and storage medium
CN108449409B (en) Animation pushing method, device, equipment and storage medium
CN110891123B (en) Interactive information transmission method and device
US11909812B2 (en) Application control method and apparatus, electronic device, and storage medium
CN109547844A (en) Audio/video pushing method and plug-flow client based on WebRTC agreement
CN103533460A (en) Method, device, terminal and system for sharing television service
CN105389160A (en) Information issuing method and device
CN112929680B (en) Live broadcasting room image rendering method and device, computer equipment and storage medium
CN111803951A (en) Game editing method and device, electronic equipment and computer readable medium
CN112929681A (en) Video stream image rendering method and device, computer equipment and storage medium
CN104837057A (en) Video file playing method, device and system
CN111258530B (en) Audio playing control method, server and audio playing system
CN113703784A (en) Data processing method and device based on container arrangement
CN104394269A (en) Communication control method and mobile terminal
CN113572822A (en) Cloud terminal simulation control method and device, storage medium and electronic equipment
CN105577603A (en) Method and device for broadcasting multimedia messages
CN104333587B (en) A kind of method and system that multi-platform event is uniformly processed
CN110995577B (en) Multi-channel adaptation method and device for message and storage medium
CN113595869B (en) Voice playing method and device, storage medium and electronic device
CN112035160A (en) Code management system and control method thereof
CN111068304B (en) Haptic feedback sharing method, device and system
CN109508193A (en) A kind of application deployment operation method, device, terminal device and medium
CN111651146B (en) Function generation method, device, equipment and medium
CN111147359B (en) Message conversion method, device and storage medium suitable for multiple channels

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