Method, device and storage medium for obtaining audio data using input method

By extracting keywords in the input method and matching the audio database, the audio data is directly displayed and sent on the input method panel, which solves the cumbersome problem of obtaining audio data in the existing technology and improves the user's input efficiency and operational convenience.

CN112817463BActive Publication Date: 2024-10-01BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110076879.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-20
Publication Date
2024-10-01
Estimated Expiration
2041-01-20

AI Technical Summary

Technical Problem

The method of obtaining audio data in the existing technology is cumbersome. After users enter keywords in a search engine, they need to select and download the audio data, and subsequent processing is cumbersome.

Method used

Obtain keywords in text information through the input method, match the audio database to obtain corresponding audio data, and display and send the audio data on the input method panel to simplify user operations.

Benefits of technology

It improves the user's input efficiency, reduces the steps to obtain audio data, and facilitates users to quickly obtain and process audio data on the input method panel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112817463B_ABST
    Figure CN112817463B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and storage medium for obtaining audio data by an input method, and relates to the technical field of input methods. The specific implementation scheme is: combining the text information in the input box of the input method, obtaining audio data whose audio content matches the text information, and directly displaying the obtained audio data on the input method panel of the input method, thereby improving the input efficiency of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, specifically to the field of input method technology, and in particular to a method, device and storage medium for obtaining audio data using an input method. Background Art

[0002] At present, in the scenario where audio data including keywords in audio content needs to be obtained, a user usually enters keywords in a search engine, selects audio data including keywords from the search results provided by the search engine, downloads them locally, and performs subsequent processing based on the audio data downloaded locally. However, the above method of obtaining audio data is relatively cumbersome. Summary of the invention

[0003] The present application provides a method, device and storage medium for obtaining audio data by an input method.

[0004] According to one aspect of the present application, a method for obtaining audio data by an input method is provided, comprising: obtaining text information input in an input box of the input method; extracting keyword information in the text information; obtaining audio data whose audio content matches the keyword information; and displaying the audio data on an input method panel of the input method.

[0005] According to another aspect of the present application, a device for obtaining audio data by an input method is provided, comprising: a first obtaining module, used to obtain text information input in an input box of the input method; a first determining module, used to extract keyword information in the text information; a second obtaining module, used to obtain audio data whose audio content matches the keyword information; and a display module, used to display the audio data on an input method panel of the input method.

[0006] According to another aspect of the present application, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method of obtaining audio data by the input method of the present application.

[0007] According to another aspect of the present application, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method for acquiring audio data by the input method disclosed in the embodiment of the present application.

[0008] According to another aspect of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the method for acquiring audio data by the input method of the present application is implemented.

[0009] One embodiment of the above application can improve the input efficiency of the user.

[0010] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.

[0012] Figure 1 It is a flowchart of a method for obtaining audio data by an input method provided according to an embodiment of the present application;

[0013] Figure 2 is a flow chart of a method for obtaining audio data by an input method provided in accordance with another embodiment of the present application;

[0014] Figure 3 is a flow chart of a method for obtaining audio data by an input method provided in accordance with another embodiment of the present application;

[0015] Figure 4 is a flow chart of a method for obtaining audio data by an input method provided in accordance with another embodiment of the present application;

[0016] Figure 5 is a flow chart of a method for obtaining audio data by an input method provided in accordance with another embodiment of the present application;

[0017] Figure 6 is an example diagram of a chat interface provided according to a specific embodiment of the present application;

[0018] Figure 7 is a structural diagram of a device for obtaining audio data using an input method provided according to an embodiment of the present application;

[0019] Figure 8 is a structural diagram of a device for acquiring audio data using an input method provided in accordance with another embodiment of the present application;

[0020] Fig. 9 It is a block diagram of an electronic device used to implement the method for obtaining audio data using the input method of an embodiment of the present application. DETAILED DESCRIPTION

[0021] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0022] The following describes a method, device, and storage medium for acquiring audio data using an input method according to an embodiment of the present application with reference to the accompanying drawings.

[0023] Figure 1 It is a flowchart of a method for obtaining audio data by an input method provided according to an embodiment of the present application.

[0024] like Figure 1 As shown, the method for the input method to obtain audio data may include:

[0025] Step 101, obtaining text information input in an input box of an input method.

[0026] Among them, the executor of the method for obtaining audio data by the above-mentioned input method is a device for obtaining audio data by the input method, and the device for obtaining audio data by the input method can be implemented by software and / or hardware. The device for obtaining audio data by the input method in this embodiment can be configured in the input method software, or in an electronic device with the input method software. The electronic device may include but is not limited to a terminal device, a server, etc., and this embodiment does not make any specific limitation on this.

[0027] The input box of the input method may be a text input location of the current software using the input method, for example, an input box of an instant messaging software, or an input box of a text messaging software, etc. This embodiment does not specifically limit this.

[0028] Step 102: extract keyword information from the text information.

[0029] In one embodiment of the present application, keyword extraction may be performed on text information through a keyword analysis and extraction algorithm to obtain keyword information in the text information.

[0030] In other embodiments of the present application, keywords may be extracted from text information using a preset keyword extraction model to obtain keyword information in the text information.

[0031] The keyword information may be all or part of the above text information, and this embodiment does not specifically limit this.

[0032] Step 103: Acquire audio data whose audio content matches the keyword information.

[0033] As an exemplary implementation, audio data whose audio content matches the keyword information may be obtained from a preset audio database.

[0034] The audio database includes each piece of audio data and its corresponding text information.

[0035] Correspondingly, when querying the audio database with keyword information, the keyword information can be matched with the text information in the audio database to obtain target text information matching the keyword information, and audio data corresponding to the target text information can be obtained from the audio database to obtain audio data whose audio content matches the keyword information.

[0036] Step 104: display the audio data on the input method panel of the input method.

[0037] The method for obtaining audio data by the input method of an embodiment of the present application combines the text information in the input box of the input method, obtains audio data whose audio content matches the text information, and directly displays the obtained audio data on the input method panel of the input method, thereby improving the user's input efficiency.

[0038] In addition, displaying the acquired audio data on the input method panel of the input method can provide the audio data corresponding to the text information on the input method panel, thereby reducing the operation of the user to acquire the audio data.

[0039] Figure 2 It is a flowchart of a method for obtaining audio data by an input method according to another embodiment of the present application. It should be noted that this embodiment is a further refinement or optimization of the above embodiment.

[0040] like Figure 2 As shown, the method for the input method to obtain audio data may include:

[0041] Step 201, obtaining text information input in an input box of an input method.

[0042] Step 202: extract keyword information from the text information.

[0043] Step 203: Acquire audio data whose audio content matches the keyword information.

[0044] Step 204: display the audio data on the input method panel of the input method.

[0045] For the relevant description of step 201 to step 204 , please refer to the relevant description of the above embodiment, which will not be repeated here.

[0046] Step 205 , in response to the sending instruction for the audio data, the audio data is sent to a target application using the input method, so that the target application displays the audio data on the current interactive interface.

[0047] In one possible implementation, after sending the audio data to a target application using an input method, the target application may obtain an information recipient corresponding to the current interactive interface, send the audio data to the information recipient, and display the audio data on the current interactive interface.

[0048] It can be understood that the above-mentioned current interaction interface is an interaction interface for the current user to interact with the information recipient.

[0049] In one embodiment of the present application, the sending instruction for the audio data may be triggered by triggering a control corresponding to the audio data.

[0050] Among them, the target application can be at least one of the following: a social application, an instant messaging application, or social scenarios of various other applications (for example, e-commerce consulting customer service, for example, a chat interface in a game application), etc., which are not limited here.

[0051] It is understandable that the above-mentioned current interaction interface can be a group chat interface or a private chat interface.

[0052] The method for obtaining audio data by the input method of the embodiment of the present application combines the text information in the input box of the input method to obtain audio data whose audio content matches the text information, and directly displays the obtained audio data on the input method panel of the input method, and in response to the sending instruction for the audio data, sends the audio data to the target application using the input method, so that the target application displays the audio data on the current interactive interface. Thus, the audio data corresponding to the text information is provided on the input method panel, which facilitates the user to quickly send the audio data on the input method panel to the target application, so as to facilitate the target application to perform subsequent processing.

[0053] Based on any of the above embodiments, in some scenarios, the user may have a need to listen to audio. In order to provide the user with a more personalized service, after the audio data is displayed on the input method panel of the input method, the method may further include:

[0054] In response to a play instruction for the audio data, the audio data is played.

[0055] As an example, the above-mentioned play instruction may be triggered by triggering a play control corresponding to the audio data.

[0056] Figure 3It is a flowchart of a method for obtaining audio data by an input method according to another embodiment of the present application. It should be noted that this embodiment is a further refinement or optimization of any of the above embodiments.

[0057] like Figure 3 As shown, the method for the input method to obtain audio data may include:

[0058] Step 301, obtaining text information input in an input box of an input method.

[0059] Step 302: extract keyword information from the text information.

[0060] Step 303: Acquire audio data whose audio content matches the keyword information.

[0061] Step 304: Obtain description information corresponding to the audio data.

[0062] The description information refers to information describing the audio data. In some exemplary implementations, the description information may be information about the speaker of the audio data. For example, the keyword information is "Hahahahaha", the audio data may be the audio data of Zhang San saying "Hahahahaha", or the target audio may be the audio data of a certain animated character saying "Hahahahaha".

[0063] In some embodiments, in order to facilitate a more comprehensive understanding of the audio data, descriptive information corresponding to the audio data may be displayed on the control corresponding to the audio data. For example, information such as the name of the speaker corresponding to the audio data may be displayed on the control.

[0064] Step 305: while displaying the audio data on the input method panel, display the description information corresponding to the audio data on the input method panel.

[0065] The method for obtaining audio data by the input method of the embodiment of the present application combines the text information in the input box of the input method, obtains the audio data whose audio content matches the text information, obtains the description information corresponding to the audio data, and directly displays the audio data and the corresponding description information on the input method panel of the input method. Thus, it is realized that the audio data corresponding to the text information is provided on the input method panel, and the description information of the audio data is provided, which reduces the operation of the user to obtain the audio data, and can facilitate the user to understand the description information of the audio data on the input method panel.

[0066] Based on the above embodiments, in some scenarios, there are multiple audio data, each of which may include not only audio segments corresponding to keyword information, but also audio segments corresponding to other text. Therefore, in order to facilitate users to select target audio data from multiple audio data, in one embodiment of the present application, Figure 4 As shown, the method may include:

[0067] Step 401, obtaining text information input in an input box of an input method.

[0068] Step 402: extract keyword information from the text information.

[0069] Step 403: Acquire multiple audio data whose audio content matches the keyword information.

[0070] Step 404, obtaining text information corresponding to each of the multiple audio data.

[0071] As an exemplary implementation, text information corresponding to each of the plurality of audio data may be obtained from a preset audio database.

[0072] The preset audio database stores various audio data and corresponding text information.

[0073] The text information corresponding to the audio data in the audio database is obtained by converting the audio data into text using natural language processing (NLP) technology.

[0074] Step 405: Display multiple audio data and text information corresponding to each audio data on the input method panel.

[0075] In order to reduce the impact on the user's input, in one embodiment of the present application, multiple audio data and the text information corresponding to each audio data can be displayed on the input method panel in the form of a floating window.

[0076] In some embodiments, in order to meet the personalized needs of users, a movement instruction for the floating window can also be received, and according to the movement instruction, a target position of the floating window after movement is obtained, and the floating window is moved to the target position. Thus, the user can freely move the floating window according to needs.

[0077] The method for obtaining audio data by the input method of the embodiment of the present application combines the text information in the input box of the input method, obtains multiple audio data whose audio content matches the text information, obtains the text information corresponding to each of the multiple audio data, and directly displays multiple audio data and the text information corresponding to each audio data on the input method panel of the input method. Thus, it is realized that the audio data corresponding to the input text information is provided on the input method panel, and the text information of the audio data is provided, which reduces the operation of the user to obtain the audio data, and can facilitate the user to understand the content included in the audio data on the input method panel.

[0078] Based on any of the above embodiments, in some scenarios, in order to improve the humanity of the input method, before obtaining the text information input in the input box of the input method, the method may also include: determining that the function of the input method to obtain audio data is turned on.

[0079] It is understandable that, when the function of the input method to obtain audio data is not enabled, the input method panel of the input method does not provide audio data.

[0080] In order to enable those skilled in the art to clearly understand the present application, Figure 5 The method of this embodiment is described. In this embodiment, the target application is an instant messaging application, and the interactive interface is a chat interface.

[0081] like Figure 5 As shown, it may include:

[0082] Step 501, obtaining text information in the input box of the current chat interface, wherein the text information is input through an input method.

[0083] Step 502: extract keyword information from the text information.

[0084] Step 503: Acquire multiple audio data whose audio content matches the keyword information.

[0085] Step 504: Obtain description information corresponding to each of the plurality of audio data.

[0086] Step 505: Display multiple audio data and description information corresponding to each audio data on the input method panel of the input method.

[0087] Step 506: Acquire target audio data selected from multiple audio data.

[0088] Step 507, obtain a sending instruction for the target audio data, send the target audio data to the instant messaging application, so that the instant messaging application sends the target audio data to the information recipient corresponding to the current chat interface, and displays the target audio data on the current chat interface.

[0089] In order to enable those skilled in the art to clearly understand the present invention, the following Figure 6 Describe a specific application scenario:

[0090] For example, the text message entered by the user in the input box of the chat interface through the input method is "Hahahahaha". Among them, the example picture of the chat interface including the text message "Hahahahaha" is as follows: Figure 6 As shown in Figure a in FIG. Correspondingly, a plurality of audio data may be displayed in a preset area A on the input method panel of the input method. Among them, a chat interface including audio data, such as Figure 6 As shown in Figure b, it can be seen from Figure b that the chat interface illustrates three controls corresponding to each audio data, and each control displays the name information of the speaker corresponding to each audio data. In addition, in order to facilitate the user to audition the audio data before sending the audio data to the corresponding information recipient, a playback control sub-control can be set on the control corresponding to the audio data. Correspondingly, the user can play and pause the corresponding audio data by triggering the playback control sub-control. Correspondingly, the user can trigger the control corresponding to the corresponding audio data as needed, for example, by clicking the control corresponding to the audio data. Correspondingly, the input method software will obtain the target audio data corresponding to the triggered control, and send the target audio data to the information recipient corresponding to the chat interface, and display the target audio data in the chat content display area B of the chat interface. Among them, the example diagram of the chat interface including the target audio data in the chat content display area is as follows Figure 6 As shown in Figure c in FIG. It can be understood that, for the target audio data in the content display area, the user can play the target audio data by clicking.

[0091] In order to implement the above embodiment, the embodiment of the present application also provides a device for obtaining audio data by an input method.

[0092] Figure 7 It is a structural diagram of a device for obtaining audio data using an input method provided according to an embodiment of the present application.

[0093] like Figure 7 As shown, the device 700 for acquiring audio data using the input method may include a first acquisition module 701, a first determination module 702, a second acquisition module 703 and a display module 704, wherein:

[0094] The first acquisition module 701 is used to acquire text information input in an input box of an input method.

[0095] The first determining module 702 is used to extract keyword information from text information.

[0096] The second acquisition module 703 is used to acquire audio data whose audio content matches the keyword information.

[0097] The display module 704 is used to display the audio data on the input method panel of the input method.

[0098] It should be noted that the aforementioned explanation of the embodiment of the method for obtaining audio data by the input method is also applicable to this embodiment, and will not be repeated in this embodiment.

[0099] The device for obtaining audio data by the input method in the embodiment of the present application combines the text information in the input box of the input method, obtains audio data whose audio content matches the text information, and directly displays the obtained audio data on the input method panel of the input method, thereby improving the user's input efficiency.

[0100] In one embodiment of the present application, Figure 8 As shown, the device for obtaining audio data by the input method may include: a first obtaining module 801, a first determining module 802, a second obtaining module 803, a display module 804, a sending module 805, a playing module 806, a third obtaining module 807, a fourth obtaining module 808 and a second determining module 809.

[0101] The detailed description of the first acquisition module 801, the first determination module 802, the second acquisition module 803, and the display module 804 can be found in Figure 7 The description of the first acquisition module 701, the first determination module 702, the second acquisition module 703 and the display module 704 in the illustrated embodiment will not be described again here.

[0102] In one embodiment of the present application, the device may further include:

[0103] The sending module 805 is used to send the audio data to a target application using the input method in response to a sending instruction for the audio data, so that the target application displays the audio data on the current interactive interface.

[0104] In one embodiment of the present application, the device may further include:

[0105] The playing module 806 is used to play the audio data in response to a playing instruction for the audio data.

[0106] In one embodiment of the present application, the audio data is multiple, and the device may further include:

[0107] The third acquisition module 807 is used to acquire text information corresponding to each of the multiple audio data;

[0108] The display module 804 is further used to display text information corresponding to each of the multiple audio data on the input method panel.

[0109] In one embodiment of the present application, the device may further include:

[0110] The fourth acquisition module 808 is used to acquire description information corresponding to the audio data;

[0111] The display module 804 is further configured to display description information corresponding to the audio data on the input method panel while displaying the audio data on the input method panel.

[0112] In one embodiment of the present application, the device may further include:

[0113] The second determining module 809 is used to determine whether the function of the input method to obtain audio data is enabled.

[0114] It should be noted that the aforementioned explanation of the embodiment of the method for obtaining audio data by an input method is also applicable to the device for obtaining audio data by an input method in this embodiment, and will not be repeated here.

[0115] According to an embodiment of the present application, the present application also provides an electronic device, a readable storage medium and a computer program product.

[0116] Fig. 9 A schematic block diagram of an example electronic device 900 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein. Among them, the electronic device in the present embodiment has input method software.

[0117] like Fig. 9As shown, the device 900 includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the device 900 can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0118] A number of components in the device 900 are connected to the I / O interface 905, including: an input unit 906, such as a keyboard, a mouse, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a disk, an optical disk, etc.; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 909 allows the device 900 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0119] The computing unit 901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 901 performs the various methods and processes described above, such as the method for the input method to obtain audio data. For example, in some embodiments, the method for the input method to obtain audio data may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 900 via ROM 902 and / or communication unit 909. When the computer program is loaded into RAM 903 and executed by the computing unit 901, one or more steps of the method for the input method to obtain audio data described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to execute the method for the input method to obtain audio data in any other appropriate manner (e.g., by means of firmware).

[0120] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0121] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0122] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0123] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0124] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0125] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0126] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.

[0127] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0128] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for obtaining audio data by an input method, comprising: Get the text information entered in the input box of the input method; Extracting keyword information from the text information input in the input box of the input method; Acquire audio data whose audio content matches the keyword information; Displaying the audio data on an input method panel of the input method; wherein the audio data is multiple, and the method further comprises: Obtaining text information corresponding to each of the plurality of audio data; Displaying text information corresponding to each of the plurality of audio data on the input method panel, wherein the plurality of audio data and the text information corresponding to each of the audio data are displayed on the input method panel in the form of a floating window; Obtaining description information corresponding to each of the plurality of audio data; Displaying a plurality of audio data and description information corresponding to each audio data on an input method panel of an input method, wherein the description information corresponding to the audio data is displayed on a control corresponding to the audio data, and the description information includes speaker information corresponding to the audio data; Acquire target audio data selected from the plurality of audio data; Obtain a sending instruction for the target audio data, and send the target audio data to an instant messaging application, so that the instant messaging application sends the target audio data to an information recipient corresponding to a current chat interface, and displays the target audio data on the current chat interface.

2. The method according to claim 1, wherein: After displaying the audio data on the input method panel of the input method, the method further includes: In response to a play instruction for the audio data, the audio data is played.

3. The method according to claim 1, wherein: Before acquiring the text information inputted in the input box of the input method, the method further includes: Make sure the input method's function of obtaining audio data is enabled.

4. A device for obtaining audio data by an input method, comprising: A first acquisition module, used to acquire text information input in an input box of an input method; A first determining module, used to extract keyword information from the text information input in the input box of the input method; A second acquisition module is used to acquire audio data whose audio content matches the keyword information; A display module, used for displaying the audio data on an input method panel of the input method; Wherein, the audio data is multiple, and the device further includes: A third acquisition module is used to acquire text information corresponding to each of the plurality of audio data; The display module is further used to display text information corresponding to each of the plurality of audio data on the input method panel, wherein the plurality of audio data and the text information corresponding to each of the audio data are displayed on the input method panel in the form of a floating window; Wherein, the device further comprises: Obtaining description information corresponding to each of the plurality of audio data; Displaying a plurality of audio data and description information corresponding to each audio data on an input method panel of an input method, wherein the description information corresponding to the audio data is displayed on a control corresponding to the audio data, and the description information includes speaker information corresponding to the audio data; Acquire target audio data selected from the plurality of audio data; Obtain a sending instruction for the target audio data, and send the target audio data to an instant messaging application, so that the instant messaging application sends the target audio data to an information recipient corresponding to a current chat interface, and displays the target audio data on the current chat interface.

5. The device according to claim 4, wherein: The device also includes: The playing module is used to play the audio data in response to a playing instruction for the audio data.

6. The device according to claim 4, wherein: The device also includes: The second determining module is used to determine whether the function of the input method to obtain audio data is turned on.

7. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 3.

8. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 3.

9. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Voice output method and device, equipment and medium

    CN111354334A

  • Voice processing method and device and device for voice processing

    CN111696550A

  • Live streaming video playing method and device

    CN111901615A

  • Application operation method and device, electronic equipment and readable storage medium

    CN112099647A

  • Information display method and apparatus, device, and computer-readable storage medium

    WO2019037566A1