A method for generating information, a method for displaying information and a device
By combining voice and picture generation methods in social applications, the problem of inefficiency and inflexibility when users communicate through pictures is solved, and more efficient and accurate information transmission is achieved.
Patent Information
- Application Number
- CN201910554821.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-25
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2039-10-19
AI Technical Summary
Existing social applications lack interactivity and flexibility when users communicate by sending pictures, resulting in low communication efficiency.
By obtaining the image collection to be synthesized and voice input instructions, the target image information is generated, the combination of voice and pictures is realized, the communication efficiency between users is improved, and the information transmission is more efficient and accurate.
It realizes the interaction between voice and pictures, enhances the flexibility and accuracy of communication, and improves the efficiency of information transmission between users.
Smart Images

Figure CN112131438B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method for generating information, a method for displaying information, and a device. Background Art
[0002] With the rapid development of the Internet, various social applications have emerged, including instant messaging applications, etc. In the process of using these social applications, in order to express what they want to say more vividly and vividly, users often send some dynamic images or static images to increase the flexibility and fun of the conversation.
[0003] Currently, a common method is that a user directly selects an existing static image or dynamic image in a gallery of a terminal device through a social application, and then directly sends the image to friends in the social application.
[0004] However, when users communicate only by sending pictures, there is often a lack of interactivity. For example, user A sends a picture to user B, and then explains to user B what the picture means. This communication mode will lead to low communication efficiency and lack of flexibility. Summary of the invention
[0005] The embodiments of the present application provide a method for generating information, a method for displaying information, and a device for realizing the function of combining voice and pictures, improving the communication efficiency between users, making information transmission more efficient and accurate, and thus enhancing the flexibility of the solution.
[0006] In view of this, the first aspect of the present application provides a method for generating information, comprising:
[0007] Acquire a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0008] receiving a voice input instruction according to the set of images to be synthesized;
[0009] In response to a voice input instruction, obtaining voice information to be synthesized;
[0010] The target image information is generated according to the set of images to be synthesized and the speech to be synthesized.
[0011] A second aspect of the present application provides a method for generating information, comprising:
[0012] Receiving voice input commands;
[0013] In response to a voice input instruction, obtaining voice information to be synthesized;
[0014] receiving an image input instruction according to the voice information to be synthesized;
[0015] In response to an image input instruction, acquiring a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0016] Generating target voice information according to the voice information to be synthesized and the image set to be synthesized, wherein the target voice information includes the voice information to be synthesized and the image set to be synthesized;
[0017] Send the target voice message.
[0018] The third aspect of the present application provides a method for information display, comprising:
[0019] Receiving target image information sent by a sending client, the set of images to be synthesized includes at least one image to be synthesized;
[0020] receiving information display instructions;
[0021] In response to the information display instruction, the voice information to be synthesized is played when the set of images to be synthesized is displayed.
[0022] A fourth aspect of the present application provides a method for information display, comprising:
[0023] Receiving target voice information sent by a sending client, wherein the target voice information includes voice information to be synthesized and a set of images to be synthesized, and the set of images to be synthesized includes at least one image to be synthesized;
[0024] receiving information display instructions;
[0025] In response to the information display instruction, the set of images to be synthesized is displayed when the voice information to be synthesized is played.
[0026] A fifth aspect of the present application provides an information generating device, including:
[0027] An acquisition unit, configured to acquire a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0028] A receiving unit, configured to receive a voice input instruction according to the set of images to be synthesized acquired by the acquiring unit;
[0029] The acquisition unit is further used to respond to the voice input instruction received by the receiving unit and acquire the voice information to be synthesized;
[0030] The generating unit is used to generate target image information according to the set of images to be synthesized and the speech to be synthesized acquired by the acquiring unit.
[0031] In a possible design, in a first implementation of the fifth aspect of the embodiments of the present application,
[0032] The acquisition unit is specifically used for:
[0033] Receiving an image selection instruction, wherein the image input instruction carries an image identifier corresponding to the set of images to be synthesized;
[0034] In response to the image input instruction, a set of images to be synthesized is obtained from the media data set.
[0035] In a possible design, in a second implementation of the fifth aspect of the embodiments of the present application,
[0036] The acquisition unit is specifically used for:
[0037] receiving an image capturing instruction;
[0038] In response to an image capturing instruction, starting a camera module;
[0039] The image set to be synthesized is obtained through the camera module.
[0040] In a possible design, in a third implementation of the fifth aspect of the embodiments of the present application,
[0041] The receiving unit is specifically used to: receive a suspension control gesture, wherein the distance between the suspension control gesture and the screen of the terminal device is greater than a preset distance, and the suspension control gesture has a corresponding relationship with the set of images to be synthesized;
[0042] The acquisition unit is specifically used for:
[0043] In response to the floating control gesture received by the receiving unit, determining whether the floating control gesture matches a preset floating control gesture;
[0044] If the floating control gesture successfully matches the preset floating control gesture, the voice information to be synthesized is obtained through the voice input module.
[0045] In a possible design, in a fourth implementation of the fifth aspect of the embodiments of the present application,
[0046] The receiving unit is specifically used to: receive an operation control gesture, wherein the operation control gesture has a corresponding relationship with the set of images to be synthesized, the operation control gesture acts on the screen of the terminal device, and the operation control gesture includes at least one of a long press gesture, a single click gesture, a double click gesture and a track gesture;
[0047] The acquisition unit is specifically used for:
[0048] In response to the operation control gesture received by the receiving unit, determining whether the operation control gesture matches a preset operation control gesture;
[0049] If the operation control gesture successfully matches the preset operation control gesture, the voice information to be synthesized is obtained through the voice input module.
[0050] In a possible design, in a fifth implementation of the fifth aspect of the embodiment of the present application, the receiving unit is specifically configured to:
[0051] Receiving a first operation instruction through the set of images to be synthesized;
[0052] In response to the first operation instruction, displaying a voice adding module;
[0053] Receiving a second operation instruction through the voice adding module;
[0054] The acquiring unit is specifically used for: responding to the second operation instruction received by the receiving unit, and acquiring the to-be-synthesized voice information through the voice input module.
[0055] In a possible design, in a sixth implementation of the fifth aspect of the embodiments of the present application,
[0056] The acquisition unit is specifically used for:
[0057] receiving audio data through a voice input module;
[0058] Using voice boundary detection VAD to detect a valid voice start point and a valid voice end point from the audio data, wherein the valid voice start point corresponds to a first moment, and the valid voice end point corresponds to a second moment;
[0059] According to the effective speech starting point and the effective speech ending point, the speech information to be synthesized is determined from the audio data, wherein the starting time of the speech information to be synthesized is the first time, and the ending time of the speech information to be synthesized is the second time.
[0060] In a possible design, in a seventh implementation of the fifth aspect of the embodiments of the present application,
[0061] The receiving unit is further used to receive an information transmission instruction, wherein the information transmission instruction carries a receiver identifier;
[0062] The information generating device also includes a sending unit, which is used to respond to the information transmission instruction received by the receiving unit and send the target image information to the server, so that the server sends the target image information to the receiving client, so that the receiving client plays the voice information to be synthesized when displaying the set of images to be synthesized according to the target image information, and the receiving client corresponds to the receiving identifier.
[0063] In a possible design, in an eighth implementation of the fifth aspect of the embodiments of the present application,
[0064] The acquisition unit is specifically used for:
[0065] Receiving an image processing instruction through the set of images to be synthesized;
[0066] In response to the image processing instruction, a voice adding module is displayed, wherein the voice adding module is used to obtain the voice information to be synthesized.
[0067] A sixth aspect of the present application provides an information generating device, including:
[0068] A receiving unit, used for receiving a voice input instruction;
[0069] An acquisition unit, used for responding to the voice input instruction received by the receiving unit and acquiring the voice information to be synthesized;
[0070] The receiving unit is further used to receive the image input instruction according to the voice information to be synthesized acquired by the acquiring unit;
[0071] The acquiring unit is further used to acquire a set of images to be synthesized in response to the image input instruction received by the receiving unit, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0072] A generating unit, configured to generate target voice information according to the voice information to be synthesized and the image set to be synthesized acquired by the acquiring unit, wherein the target voice information includes the voice information to be synthesized and the image set to be synthesized;
[0073] The sending unit is used to send the target voice information.
[0074] In a possible design, in a first implementation of the sixth aspect of the embodiments of the present application,
[0075] The acquisition unit is specifically used to: in response to the voice input instruction received by the receiving unit, acquire the voice information to be synthesized from the preset voice information set, wherein the voice input instruction carries keyword information, the voice information to be synthesized carries keyword information, and the preset voice information set includes at least one voice information.
[0076] In a possible design, in a second implementation of the sixth aspect of the embodiments of the present application,
[0077] The acquisition unit is specifically used for:
[0078] In response to the image input instruction received by the receiving unit, a set of images to be synthesized is obtained locally;
[0079] or,
[0080] In response to the image input instruction received by the receiving unit, a set of images to be synthesized is acquired from the server.
[0081] In a possible design, in a third implementation of the sixth aspect of the embodiments of the present application,
[0082] The receiving unit is specifically used for:
[0083] Displaying an image selection list according to the speech information to be synthesized acquired by the acquisition unit;
[0084] Receiving image input instructions through an image selection list;
[0085] The acquisition unit is specifically used for:
[0086] In response to the image input instruction received by the receiving unit, a set of images to be synthesized is obtained from the image selection list.
[0087] A seventh aspect of the present application provides an information generating device, including:
[0088] A receiving unit, configured to receive target image information sent by a sending client, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0089] The receiving unit is further used to receive an information display instruction;
[0090] The display unit is used to respond to the information display instruction received by the receiving unit, and play the voice information to be synthesized received by the receiving unit when displaying the image set to be synthesized received by the receiving unit.
[0091] An eighth aspect of the present application provides an information generating device, including:
[0092] A receiving unit, configured to receive target voice information sent by a sending client, wherein the target voice information includes voice information to be synthesized and a set of images to be synthesized, and the set of images to be synthesized includes at least one image to be synthesized;
[0093] The receiving unit is further used to receive an information display instruction;
[0094] The playing unit is used to respond to the information display instruction received by the receiving unit, and display the image set to be synthesized received by the receiving unit when playing the voice information to be synthesized received by the receiving unit.
[0095] A ninth aspect of the present application provides a terminal device, including: a memory, a transceiver, a processor, and a bus system;
[0096] Wherein, the memory is used to store programs;
[0097] The processor is used to execute the program in the memory, including the following steps:
[0098] Acquire a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0099] receiving a voice input instruction according to the set of images to be synthesized;
[0100] In response to a voice input instruction, obtaining voice information to be synthesized;
[0101] Generate target image information according to the set of images to be synthesized and the speech to be synthesized;
[0102] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
[0103] A tenth aspect of the present application provides a terminal device, including: a memory, a transceiver, a processor, and a bus system;
[0104] Wherein, the memory is used to store programs;
[0105] The processor is used to execute the program in the memory, including the following steps:
[0106] Receiving voice input commands;
[0107] In response to a voice input instruction, obtaining voice information to be synthesized;
[0108] receiving an image input instruction according to the voice information to be synthesized;
[0109] In response to an image input instruction, acquiring a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0110] Generating target voice information according to the voice information to be synthesized and the image set to be synthesized, wherein the target voice information includes the voice information to be synthesized and the image set to be synthesized;
[0111] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
[0112] In an eleventh aspect of the present application, a terminal device is provided, including: a memory, a transceiver, a processor, and a bus system;
[0113] Wherein, the memory is used to store programs;
[0114] The processor is used to execute the program in the memory, including the following steps:
[0115] Receiving target image information sent by a sending client, the set of images to be synthesized includes at least one image to be synthesized;
[0116] receiving information display instructions;
[0117] In response to the information display instruction, when displaying the set of images to be synthesized, the voice information to be synthesized is played;
[0118] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
[0119] A twelfth aspect of the present application provides a terminal device, including: a memory, a transceiver, a processor, and a bus system;
[0120] Wherein, the memory is used to store programs;
[0121] The processor is used to execute the program in the memory, including the following steps:
[0122] Receiving target voice information sent by a sending client, wherein the target voice information includes voice information to be synthesized and a set of images to be synthesized, and the set of images to be synthesized includes at least one image to be synthesized;
[0123] receiving information display instructions;
[0124] In response to the information display instruction, displaying the set of images to be synthesized when playing the voice information to be synthesized;
[0125] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
[0126] A thirteenth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the methods described in the above aspects.
[0127] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0128] After obtaining the set of images to be synthesized, a voice input instruction can be received according to the set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized, and according to the received voice input instruction, voice information to be synthesized is obtained, and then target image information is generated according to the set of images to be synthesized and the voice to be synthesized. Through the above method, the interactive mode of voice and picture can be realized, and the function of combining voice and picture is realized on the basis of using voice information communication and using picture information communication, which improves the communication efficiency between users and makes information transmission more efficient and accurate, thereby enhancing the flexibility of the solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0129] Figure 1 A schematic diagram of the architecture of the information generation system in the embodiment of the present application;
[0130] Figure 2 This is a schematic diagram of an embodiment of a method for generating information in an embodiment of the present application;
[0131] Figure 3 A schematic diagram of a process for obtaining a set of images to be synthesized provided in an embodiment of the present application;
[0132] Figure 4A schematic diagram of another process of obtaining a set of images to be synthesized provided in an embodiment of the present application;
[0133] Figure 5 A schematic diagram of multiple preset floating control gestures provided in an embodiment of the present application;
[0134] Figure 6 A schematic diagram of a process for obtaining speech information to be synthesized provided in an embodiment of the present application;
[0135] Figure 7 A schematic diagram of another process for obtaining speech information to be synthesized provided in an embodiment of the present application;
[0136] Figure 8 A schematic diagram of another process for obtaining speech information to be synthesized provided in an embodiment of the present application;
[0137] Fig. 9 This is a schematic diagram of another embodiment of the information generation method in the embodiment of the present application;
[0138] Fig.10 It is a schematic diagram of another embodiment of the information generating method in the embodiment of the present application;
[0139] Fig.11 It is a schematic diagram of another embodiment of the information generating method in the embodiment of the present application;
[0140] Fig.12 This is a schematic diagram of an embodiment of the information display method in the embodiment of the present application;
[0141] Fig.13 This is a schematic diagram of another embodiment of the information display method in the embodiment of the present application;
[0142] Fig.14 It is a schematic diagram of another embodiment of the information display method in the embodiment of the present application;
[0143] Fig.15 It is a schematic diagram of another embodiment of the information display method in the embodiment of the present application;
[0144] Fig.16 This is a schematic diagram of an embodiment of an information generating device in an embodiment of the present application;
[0145] Fig.17 This is a schematic diagram of another embodiment of the information generating device in the embodiment of the present application;
[0146] Fig.18 This is a schematic diagram of another embodiment of the information generating device in the embodiments of the present application;
[0147] Fig.19 This is a schematic diagram of an embodiment of an information display device in an embodiment of the present application;
[0148] Fig. 20 This is a schematic diagram of another embodiment of the information display device in the embodiment of the present application;
[0149] Fig.21 This is a schematic diagram of an embodiment of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION
[0150] The embodiments of the present application provide a method for generating information, a method for displaying information, and a device for realizing the function of combining voice and pictures, improving the communication efficiency between users, making information transmission more efficient and accurate, and thus enhancing the flexibility of the solution.
[0151] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "corresponding to" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0152] It should be understood that the information generation method provided in the embodiments of the present application can be applied to various scenarios in which image information or voice information can be input. As an example, when searching through a search engine client, an image carrying voice information or a voice carrying image information can be input in the search box to improve the accuracy of the search process; as another example, when selecting goods through a shopping client, an image of an item carrying voice information or a voice carrying an item image can be input in the search box, so that the shopping client can match more accurate items; as yet another example, in an instant messaging client, an image carrying voice information or a voice carrying image information can be input in the communication interface, so that the communication information can be conveyed more efficiently and accurately, etc. Other application scenarios will not be given examples one by one here.
[0153] For ease of understanding, this application proposes a method for generating information, which is applied to Figure 1 The information generation system shown is shown in Figure 1 , Figure 1This is a schematic diagram of the architecture of the information generation system in the embodiment of the present application. The information generation system may include a sender client 100 and a server 200. When the sender client 100 is an instant messaging type client, the information generation system may also include a receiver client 300. The sender client 100 is used to obtain the image to be synthesized and the voice information to be synthesized, and synthesize the image to be synthesized and the voice information to be synthesized and send them to the server 200; when the sender client 100 is a client with a search function, the server 200 is used to receive the synthesized image to be synthesized and the voice information to be synthesized, and perform a search operation based on the synthesized image to be synthesized and the voice information to be synthesized. When the sender client 100 is an instant messaging type client, the server 200 is used to receive the synthesized image to be synthesized and the voice information to be synthesized, and forward it to the receiver client 300.
[0154] Among them, the sender client 100 and the receiver client 300 can both be expressed as web clients or application clients. The server 200 is the background server of the information generation system, which can be a server cluster or a cloud computing center composed of one server or multiple servers, etc., which are not limited here.
[0155] It should be noted that the sender client 100 and the receiver client 300 are both deployed on terminal devices, where the terminal devices include but are not limited to tablet computers, laptop computers, PDAs, mobile phones, voice interaction devices and personal computers (PCs), which are not limited here. Among them, the voice interaction devices include but are not limited to smart speakers and smart home appliances.
[0156] The sender client 100, the server 200 and the receiver client 300 can be connected through a wireless network. The wireless network uses standard communication technology and / or protocols. The wireless network is usually the Internet, but it can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, a private network or any combination of a virtual private network). In some embodiments, technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. can be used to represent data exchanged through the network. In other embodiments, customized or dedicated data communication technologies can also be used to replace or supplement the above data communication technologies.
[0157] Although Figure 1 Only three sending clients 100, one server 200 and three receiving clients 300 are shown in FIG. 1 , but it should be understood that Figure 1 The examples are only used to understand the present solution, and the specific numbers of the sender client 100, the server 200 and the receiver client 300 should be flexibly determined in accordance with the actual situation. In the present application embodiment, only the method for generating information provided is applied to a communication type client as an example for explanation.
[0158] In combination with the above introduction, the method of generating information in this application will be introduced below. Please refer to Figure 2 , one embodiment of the method for generating information in the embodiments of the present application includes:
[0159] 101. A sending client obtains a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0160] In this embodiment, the sending client can obtain a set of images to be synthesized, wherein the set of images to be synthesized includes one or more images to be synthesized, and each image to be synthesized in the set of images to be synthesized can be presented as a still image or as a moving image composed of multiple frames of images. Specifically, since there are multiple images stored in the gallery on the terminal device, the sending client can select one or more images to be synthesized from the gallery; the sending client can also use the camera module on the terminal device to obtain one or more images to be synthesized; the sending client can also receive at least one image sent by a third-party client or server, and select one or more images to be synthesized therefrom, etc. The specific method of obtaining the set of images to be synthesized is not limited here.
[0161] 102. The sending client receives a voice input instruction according to the set of images to be synthesized;
[0162] In this embodiment, after acquiring the image set to be synthesized, the sending client can display the image set to be synthesized, so as to receive the voice input instruction input by the user according to the image set to be synthesized. Specifically, when the image set to be synthesized includes multiple images to be synthesized, the sending client can display only one image to be synthesized on the display interface when displaying the image set to be synthesized, and display another image to be synthesized when receiving the image switching instruction input by the user, then the sending client can receive the voice input instruction input by the user through the display interface of one image to be synthesized, wherein the image switching instruction can be a left-right sliding gesture instruction or an up-down sliding gesture instruction, etc.; the sending client can also display thumbnails of multiple images to be synthesized on the display interface at the same time, then the sending client can receive the voice input instruction on the thumbnail display interface of multiple images to be synthesized; optionally, the sending client can also receive the user's selection instruction for the thumbnails of multiple images to be synthesized to determine the correspondence between the voice information to be synthesized and the images to be synthesized, etc. The receiving method of the voice input instruction can be determined according to the actual product form, which is not limited here.
[0163] More specifically, the user can input voice input instructions by inputting a floating control gesture operation; the user can also input voice input instructions by inputting an operation control gesture operation; the user can also input voice input instructions by inputting a click operation at a preset position, and so on. The input method of voice input instructions is not limited here; among them, the difference between the floating control gesture operation and the operation control gesture operation is that the former has a certain distance between the screen of the terminal device when performing the gesture operation, while the latter is an operation directly performed on the screen.
[0164] 103. The sending client obtains the voice information to be synthesized in response to the voice input instruction;
[0165] In this embodiment, after receiving the voice input instruction, the sending client can obtain the user's input voice through a microphone or other sound pickup element, and generate voice information to be synthesized according to the user's input voice, wherein the number of voice information to be synthesized can be one.
[0166] 104. The sending client generates target image information according to the set of images to be synthesized and the speech to be synthesized.
[0167] In this embodiment, after obtaining the set of images to be synthesized and the speech to be synthesized, the sending client can perform a synthesis operation between the set of images to be synthesized and the speech to be synthesized to generate target image information including the set of images to be synthesized and the speech to be synthesized information, and then save the target image information locally, or send the target image information to the server, or send the target image information to the receiving client through the server. Specifically, since the set of images to be synthesized includes one or more images to be synthesized, when the set of images to be synthesized includes one image to be synthesized, the sending client may synthesize the voice information to be synthesized with the one image to be synthesized, and the target image information includes an image synthesized with voice information; when the image to be synthesized includes multiple images to be synthesized, in one implementation method, the sending client may determine which target image to be synthesized among the multiple images to be synthesized has a corresponding relationship with the voice information to be synthesized, and then synthesize the voice information to be synthesized with the target image to be synthesized, and the target image information includes an image synthesized with voice information and at least one image without voice information synthesized; in another implementation method, the sending client may synthesize the voice information to be synthesized with the multiple images to be synthesized one by one, and the target image information includes multiple images synthesized with voice information, etc. The specific method of performing the synthesis operation is not limited here.
[0168] In the embodiment of the present application, after obtaining the set of images to be synthesized, a voice input instruction can be received according to the set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized, and according to the received voice input instruction, voice information to be synthesized is obtained, and then target image information is generated according to the set of images to be synthesized and the voice to be synthesized. Through the above method, the interaction between voice and pictures can be realized, and the function of combining voice and pictures is realized on the basis of using voice information communication and using picture information communication, which improves the communication efficiency between users and makes information transmission more efficient and accurate, thereby enhancing the flexibility of the solution.
[0169] Optionally, in the above Figure 2 On the basis of the corresponding embodiment, in another optional embodiment of the method for generating information provided in the embodiment of the present application, the sending client obtains a set of images to be synthesized, including:
[0170] The sending client receives the image selection instruction, wherein the image selection instruction carries the image identifier corresponding to the image set to be synthesized;
[0171] The sending client obtains a set of images to be synthesized from the media data set in response to the image selection instruction.
[0172] In this embodiment, the sending client can receive an image selection instruction input by the user for a media data set. Since the image selection instruction carries the image identifier of each image to be synthesized in the image set to be synthesized, the sending client can respond to the image selection instruction and obtain the image set to be synthesized from the media data set, where the media data set includes multiple images to be selected, and each image to be selected can be expressed as a still image or as a dynamic image composed of multiple frames of images.
[0173] In one implementation, the display interface of the media data set can be entered through the conversation interface between the sender client and the receiver client to receive the image selection instruction input by the user. Specifically, the image input instruction input by the user can be received through the conversation interface between the sender client and the receiver client. The image input instruction is used to open the media data set display interface (such as a gallery display interface), so that the user can select the thumbnails of multiple images to be selected displayed in the media data set display interface. Then, the user can perform an image selection operation on one or more thumbnails of the multiple images to be selected. The sender client can receive the image selection instruction input by the user and determine the image set to be synthesized based on the one or more images selected by the user. More specifically, the way in which the user inputs the image selection instruction can be to click on one or more images in the multiple images to be selected, or to input image selection gestures such as checking a box or drawing a circle on one or more images in the multiple images to be selected. The specific way in which the user inputs the image selection instruction is not limited here.
[0174] For further understanding of this solution, please refer to Figure 3 , Figure 3 A schematic diagram of a process for obtaining a set of images to be synthesized provided in an embodiment of the present application, Figure 3 It includes three sub-schematic diagrams (a), (b) and (c), where Figure 3 The (a) sub-diagram shows the conversation interface between the sender client and Dahuang (i.e., the receiver client), where A1 is a text input box, through which the user can input the text message that he wants to send to the receiver client; A2 is a voice message input button, through which the user can trigger the voice message receiving function of the sender client; the user can click A3 to open the icon display interface in A4, and the icons in A4 are used to trigger other functions of the sender client, such as Figure 3 The image input function, image shooting function, video call function, location information input function, etc. in the (a) sub-diagram, wherein A5 is used to receive the image input instruction input by the user. When the user clicks A5, the user can enter Figure 3 (b) Sub-schematic diagram of; Figure 3The (b) sub-schematic diagram shows a display interface of multiple images to be selected in the gallery (i.e., a media data set display interface), wherein the user can input an image selection instruction by clicking A6. After the user completes the image selection operation, the user can enter the image selection instruction by clicking A7. Figure 3 (c) sub-schematic diagram; Figure 3 The (c) sub-schematic diagram shows the display interface of the image set to be synthesized. Figure 3 The image to be synthesized shown in the sub-schematic diagram (c) is a moving image, so that the sending client can Figure 3 The sub-schematic diagram (c) receives a voice input instruction input by a user, and it should be understood that Figure 3 The examples are only for facilitating the understanding of this solution and are not intended to limit this solution.
[0175] In another implementation, after receiving the image selection instruction input by the user through the display interface of the media data set, the conversation interface between the sender client and the receiver client can be entered. Specifically, as an example, the user can input the image selection instruction through the display interface of the image to be selected in the gallery (i.e., the media data set), and the image selection instruction is used to determine one or more images to be synthesized, and after performing the image selection operation to be synthesized, input the instruction to share the image through the sender client, and then the sender client can open the display interface of the image set to be synthesized to receive the voice input instruction input by the user. It should be understood that the sender client can also receive the image selection instruction in other ways, and the specific way can be determined according to the actual product, which is not limited here.
[0176] In an embodiment of the present application, the sending client can receive an image selection instruction, and select an image to be synthesized from a media data set according to an image identifier corresponding to the image set to be synthesized carried in the image selection instruction. Through the above method, the sending client can select a set of images to be synthesized from a stored media data set, and then perform a synthesis operation of the image to be synthesized and the voice information, which provides a specific implementation method of the present solution and improves the feasibility of the present solution. Furthermore, the sending client can receive an image selection instruction through a conversation interface with the receiving client, that is, the user can select an image to be synthesized from the gallery for voice synthesis during a chat with a friend, thereby improving the convenience of the voice and picture combination function and improving the user stickiness of the client.
[0177] Optionally, in the above Figure 2 On the basis of the corresponding multiple embodiments, in another optional embodiment of the method for generating information provided by the embodiments of the present application, the sending client obtains a set of images to be synthesized, including:
[0178] The sending client receives the image capture instruction;
[0179] The sending client starts the camera module in response to the image shooting instruction;
[0180] The sending client obtains the set of images to be synthesized through the camera module.
[0181] In this embodiment, the sending client can receive an image shooting instruction input by the user, and based on the image shooting instruction, start the camera module to obtain a set of images to be synthesized through the camera module. Generally, the set of images to be synthesized in this embodiment includes one image to be synthesized, and the one image to be synthesized can be a still image or a moving image.
[0182] In one implementation, an image capture instruction can be received through a conversation interface between a sender client and a receiver client. After the image to be synthesized is acquired through the camera module, the acquired image to be synthesized can be displayed to receive a voice input instruction input by the user. Figure 4 , Figure 4 Another schematic diagram of a process for obtaining a set of images to be synthesized provided in an embodiment of the present application is shown in FIG. Figure 4 It includes three sub-schematic diagrams (a), (b) and (c), where Figure 4 (a) Sub-schematic diagram and Figure 3 The schematic diagram of (a) is similar to that of Figure 3 The description in the corresponding embodiment is understood, wherein B1 is used to receive an image shooting instruction. When the user clicks B1, the Figure 4 The (b) sub-diagram is the interface after the sending client starts the camera module; B2 is used to receive the image acquisition instruction. When the user clicks B2, the sending client obtains the image to be synthesized in the form of a still image. When the user presses B2 for a period of time, the sending client can obtain the image to be synthesized in the form of a dynamic image. After completing the image acquisition operation, you can enter Figure 4 Sub-schematic diagram of (c), Figure 4 In the sub-diagram (c), a static image is captured as an example. The sending client can Figure 4 The sub-schematic diagram (c) receives a voice input instruction, and it should be understood that Figure 4 The examples are only for facilitating the understanding of this solution and are not intended to limit this solution.
[0183] In another implementation, the camera module may receive an image capture instruction input by the user, and the camera module may be started in response to the image capture instruction. After the camera module obtains the set of images to be synthesized, the conversation interface between the sender client and the receiver client may be entered. Specifically, as an example, the user may input an image capture instruction by clicking on the icon corresponding to the camera module to start the camera module to capture an image to be synthesized, and after executing the operation of capturing the image to be synthesized, input an instruction to share the image through the sender client, and then the sender client may display the image to be synthesized to receive the voice input instruction input by the user, etc. It should be understood that the specific method of receiving the image capture instruction may be determined according to the actual product, and is not limited here.
[0184] In the embodiment of the present application, the sending client can receive an image shooting instruction and shoot the image to be synthesized according to the image shooting instruction. In the above manner, the sending client can obtain the set of images to be synthesized in real time, and then perform the synthesis operation of the image to be synthesized and the voice information, that is, the user can generate an image carrying voice information at any time and send it to the receiving client, which not only expands the application scenarios of this solution, but also improves the flexibility of the voice and picture combination function.
[0185] Optionally, in the above Figure 2 On the basis of the corresponding multiple embodiments, in another optional embodiment of the method for generating information provided by the embodiments of the present application, the sending client receives a voice input instruction according to the set of images to be synthesized, including:
[0186] The sending client receives a floating control gesture, wherein the distance between the floating control gesture and the screen of the terminal device is greater than a preset distance, and the floating control gesture has a corresponding relationship with the set of images to be synthesized;
[0187] The sending client obtains the voice information to be synthesized in response to the voice input instruction, including:
[0188] The sending client responds to the suspension control gesture and determines whether the suspension control gesture matches a preset suspension control gesture;
[0189] If the floating control gesture successfully matches the preset floating control gesture, the sending client obtains the voice information to be synthesized through the voice input module.
[0190] In this embodiment, the sending client may store one or more preset floating control gestures, and the sending client may monitor the floating control gestures input by the user through the camera module on the display interface of the image to be synthesized, wherein the floating control gesture refers to a control gesture whose distance from the screen of the terminal device is greater than a preset distance, and the preset distance may be 2 cm, 3 cm or 4 cm, etc., and the number of preset floating control gestures may be 1, 2 or 3, etc. For easy understanding of this solution, please refer to Figure 5 , Figure 5 A schematic diagram of multiple preset floating control gestures provided for an embodiment of the present application, wherein the operation trajectory of the preset floating control gesture corresponding to C1 is V-shaped; the operation trajectory of the preset floating control gesture corresponding to C2 is sliding to the upper left; the operation trajectory of the preset floating control gesture corresponding to C3 is sliding to the lower right; the operation trajectory of the preset floating control gesture corresponding to C4 is circle-shaped; the operation trajectory of the preset floating control gesture corresponding to C5 is an outward rotation operation, and so on. The specific length of the preset distance, the number of floating control gestures, and the operation trajectory are not limited here.
[0191] The sending client can respond to the floating control gesture input by the user to determine whether the floating control gesture input by the user matches one or more stored preset floating control gestures. If the floating control gesture input by the user successfully matches any of the one or more preset floating control gestures, the sending client can obtain the voice information to be synthesized through the voice input module. Among them, the voice input module can be specifically manifested as a microphone or other sound pickup components. Specifically, the sending client can display an icon corresponding to the voice input module, and the user starts the voice input module by pressing the icon to input audio data, so that the sending client obtains the voice information to be synthesized; it can also be that after the gesture matches successfully, the sending client directly turns on the voice input module to receive audio data, and determines the voice information to be synthesized from the received audio data, etc., which is not limited here.
[0192] If the floating control gesture input by the user fails to match one or more preset floating control gestures, in one implementation, the sending client can output a prompt message to remind the user to re-enter the floating control gesture. As an example, the prompt message may be "Gesture error, please re-enter the control gesture"; in another implementation, the sending client may also regard that the user does not want to enter the input interface of the voice information to be synthesized, and thus no longer monitors whether the user enters the floating control gesture, etc.
[0193] For further understanding of this solution, please refer to Figure 6 , Figure 6 A schematic diagram of a process for obtaining speech information to be synthesized provided in an embodiment of the present application, Figure 6It includes two sub-schematic diagrams (a) and (b). Figure 6 The (a) sub-schematic diagram shows a floating control gesture receiving interface, D1 represents that the operation track of the floating control gesture input by the user is V-shaped. Taking the V-shaped floating control gesture in the preset floating control gesture as an example, the floating control gesture input by the user successfully matches the preset floating control gesture, and enters Figure 6 (b) Sub-schematic diagram of; Figure 6 The sub-schematic diagram (b) shows a voice interface of the sending client receiving user input through the voice input module. D2 represents that the voice input module is in an open state to prompt the user to input the voice to be synthesized. It should be understood that Figure 6 The examples are only for facilitating the understanding of this solution and are not intended to limit this solution.
[0194] In the embodiment of the present application, the sending client can receive the floating control gesture input by the user, and when the floating control gesture input by the user successfully matches the preset floating control gesture, the voice information to be synthesized can be obtained through the voice input module. In the above manner, the user can input the voice input command by inputting the floating control gesture, which not only increases the fun of the voice input command process, but also the user can input the voice input command without directly touching the screen. Even if the water discharge cover is set on the outside of the terminal device, the user can input the voice input command, which greatly expands the application scenario of this solution and improves the user stickiness of the client.
[0195] Optionally, in the above Figure 2 On the basis of the corresponding multiple embodiments, in another optional embodiment of the method for generating information provided by the embodiments of the present application, the sending client receives a voice input instruction according to the set of images to be synthesized, including:
[0196] The sending client receives an operation control gesture, wherein the operation control gesture has a corresponding relationship with the set of images to be synthesized, the operation control gesture acts on the screen of the terminal device, and the operation control gesture includes at least one of a long press gesture, a single click gesture, a double click gesture, and a track gesture;
[0197] The sending client obtains the voice information to be synthesized in response to the voice input instruction, including:
[0198] The sending client responds to the operation control gesture and determines whether the operation control gesture matches a preset operation control gesture;
[0199] If the operation control gesture matches the preset operation control gesture successfully, the sending client obtains the voice information to be synthesized through the voice input module.
[0200] In this embodiment, the sending client may store one or more preset operation control gestures, and the sending client may receive the operation control gesture input by the user on the display interface of the image to be synthesized, wherein the number of preset operation control gestures may be 1, 2, or 3, etc., and the preset operation control gesture may be specifically expressed as a long press gesture, a click gesture, a double-click gesture, and a track gesture, etc. Specifically, the operation track of the track gesture may be specifically expressed as a V-shape, a slide to the upper left, a slide to the lower right, a circle shape, an outward rotation operation, etc. For details, please refer to Figure 5 The operation trajectory of the trajectory gesture can also be specifically expressed as sliding to the lower left, sliding to the upper right, rotating inward, etc. The specific number of preset operation control gestures and the operation trajectory can be determined in combination with the actual product situation. The examples here are only for the convenience of understanding this solution and are not used to limit this solution.
[0201] After receiving the operation control gesture input by the user, the sending client can respond to the operation control gesture to determine whether the operation control gesture input by the user matches the preset operation control gesture. If the operation control gesture input by the user matches the preset operation control gesture successfully, the sending client can obtain the voice information to be synthesized through the voice input module.
[0202] For further understanding of this solution, please refer to Figure 7 , Figure 7 Another schematic diagram of a process for obtaining speech information to be synthesized provided in an embodiment of the present application is shown in FIG. Figure 7 It includes two sub-schematic diagrams (a) and (b). Figure 7 The (a) sub-schematic diagram shows an operation control gesture receiving interface, where E1 represents that the operation trajectory of the operation control gesture input by the user is a circle. Taking the case where there is a circle-shaped operation control gesture in the preset operation control gesture as an example, the operation control gesture input by the user successfully matches the preset operation control gesture, and the user enters the operation control gesture receiving interface. Figure 7 Sub-schematic diagram of (b), Figure 7 (b) Sub-schematic diagram of Figure 6 The (b) sub-diagram is similar to that of Figure 6 The description in the corresponding embodiment will not be repeated here, and it should be understood that Figure 7 The examples are only for facilitating the understanding of this solution and are not intended to limit this solution.
[0203] In the embodiment of the present application, the sending client can receive the operation control gesture input by the user, and when the operation control gesture input by the user successfully matches the preset operation control gesture, the voice information to be synthesized is obtained through the voice input module. The user can input the voice input instruction by inputting the operation control gesture, which is convenient to operate, and various types of operation control gestures are provided in the present embodiment, which improves the feasibility of the present solution.
[0204] Optionally, in the above Figure 2 On the basis of the corresponding multiple embodiments, in another optional embodiment of the method for generating information provided by the embodiments of the present application, the sending client receives a voice input instruction according to the set of images to be synthesized, including:
[0205] The sending client receives a first operation instruction through the set of images to be synthesized;
[0206] The sending client displays a voice adding module in response to the first operation instruction;
[0207] The sending client receives the second operation instruction through the voice adding module;
[0208] The sending client obtains the voice information to be synthesized in response to the voice input instruction, which may include:
[0209] The sending client responds to the second operation instruction and obtains the voice information to be synthesized through the voice input module.
[0210] In this embodiment, the sending client can receive the first operation instruction input by the user through the set of images to be synthesized, and the sending client can display the voice adding module in the form of a text box or an icon, and receive the second operation instruction through the voice adding module, and then respond to the second operation instruction to obtain the voice information to be synthesized through the voice input module. Among them, the first operation instruction includes but is not limited to the long press operation instruction and double click operation instruction of the image to be synthesized; the second operation instruction can be a selection operation instruction for the voice adding module, which can be specifically expressed as a click operation and double click operation of the voice adding module, etc., which are not limited here.
[0211] In one implementation, the sending client can receive a first operation instruction through a conversation interface with a third-party client. Specifically, the sending client can receive and display at least one image sent by the third-party client on the conversation interface with the third-party client, wherein the at least one image includes a set of images to be synthesized. Then, the user can input a first operation instruction for the image to be synthesized. Specifically, the first operation instruction can be expressed as an image processing instruction, so that the sending client responds to the image processing instruction and displays a voice adding module, wherein the user inputs the image processing instruction by performing a long press operation, a click operation, a double-click operation or other operations on the image to be synthesized, which is used to determine the image to be synthesized from at least one image displayed by the sending client; the voice adding module is used to obtain voice information to be synthesized. Specifically, the user can input a second operation instruction through the voice adding module, and the sending client responds to the second operation instruction and obtains the voice information to be synthesized through the voice input module. After performing a synthesis operation on the image to be synthesized and the voice information to be synthesized to obtain the target image information, the sending client can receive an instruction input by the user and forwarded to the receiving client. Optionally, the target image information can also be saved locally. For further understanding of this solution, please refer to Figure 8 , Figure 8 A schematic diagram of another process for obtaining speech information to be synthesized provided in an embodiment of the present application, Figure 8 It includes two sub-schematic diagrams (a) and (b), where: Figure 8 The (a) sub-schematic diagram shows a conversation interface between the sender client and the third-party client. F1 is an image sent by the third-party client and received by the sender client. When the user performs a long press operation on F1 (i.e., a first operation instruction), F2 appears. F2 represents a voice adding module. When the user performs a click operation on F2 (i.e., a second operation instruction), the sender client determines F1 as an image to be synthesized and enters Figure 8 Sub-schematic diagram of (b), Figure 8 The (b) sub-schematic diagram shows an interface for obtaining the voice information to be synthesized through the voice input module, wherein D2 indicates that the voice input module is in an on state. After the sending client obtains the voice information to be synthesized and performs the synthesis operation of the voice information to be synthesized and the image to be synthesized, it should be understood that Figure 8 The examples are only for facilitating the understanding of this solution and are not intended to limit this solution.
[0212] In another implementation, the sending client can enter the display interface of the media data set through the conversation interface with the receiving client to receive the image selection instruction input by the user, and then when displaying any image to be synthesized in the image set to be synthesized, it can receive the first operation instruction input by the user, and in response to the first operation instruction, display the voice adding module, receive the second operation instruction through the voice adding module, and in response to the second operation instruction, obtain the voice information to be synthesized through the voice input module; in another implementation, the sending client can also enter the camera module through the conversation interface with the receiving client to obtain the image to be synthesized through the camera module, and then when displaying the image to be synthesized, it can receive the first operation instruction input by the user, and so on. The specific details are not limited here.
[0213] In the embodiment of the present application, the sending client can receive the first operation instruction input by the user through the set of images to be synthesized, and then display the voice adding module, and receive the second operation instruction through the voice adding module, and obtain the voice information to be synthesized through the voice input module in response to the second operation instruction. This embodiment also provides a method for receiving voice input instructions, thereby further enriching the implementation scenario of this solution and improving the feasibility of this solution; further, the sending client can realize the merging of voice and pictures through the conversation interface with the third-party client, and forward it to the receiving sending client, further improving the communication efficiency between users.
[0214] Optionally, in the above Figure 2 On the basis of the corresponding multiple embodiments, in another optional embodiment of the information generation method provided in the embodiments of the present application, the sending client obtains the voice information to be synthesized through the voice input module, including:
[0215] The sender client receives the audio data through the voice input module;
[0216] The sending client uses voice boundary detection VAD to detect a valid voice start point and a valid voice end point from the audio data, wherein the valid voice start point corresponds to the first moment and the valid voice end point corresponds to the second moment;
[0217] The sending client determines the voice information to be synthesized from the audio data according to the effective voice starting point and the effective voice ending point, wherein the starting time of the voice information to be synthesized is the first time, and the ending time of the voice information to be synthesized is the second time.
[0218] In this embodiment, after receiving the voice input instruction, the sender client can display the icon corresponding to the voice input module to receive the voice input module start instruction input by the user; or the sender client can automatically start the voice input module after receiving the voice input instruction. Then the sender client can receive audio data through the voice input module, and use voice activity detection (VAD) technology to detect the effective voice starting point and the effective voice ending point from the received audio data, wherein the VAD technology refers to the technology of detecting effective audio data from continuous audio data, and the effective audio data refers to the audio data between the effective voice starting point and the effective voice ending point, the effective voice starting point corresponds to the first moment of the audio data, and the effective voice ending point corresponds to the second moment of the audio data. After determining the effective voice starting point and the effective voice ending point, the sender client can determine the audio data from the first moment to the second moment in the audio data as the voice information to be synthesized, wherein the starting moment of the voice information to be synthesized is the first moment, and the ending moment of the voice information to be synthesized is the second moment.
[0219] Specifically, the sending client can obtain the energy value of each frame of audio data in the audio data, and determine whether the energy value of each frame of audio data is greater than a preset energy value starting from the starting point of the audio data, and when the energy value is greater than the preset energy value, obtain the moment when the energy value is greater than the preset energy value, and determine it as the first moment; and then, it can determine whether the energy value of each frame of audio data is less than the preset energy value starting from the ending point of the audio data, and when the energy value is less than the preset energy value, obtain the moment when the energy value is less than the preset energy value, and determine it as the second moment.
[0220] For further understanding of this solution, please refer to Fig. 9 , Fig. 9 This is another embodiment schematic diagram of the information generation method in the embodiment of the present application. The method may include: G1. The sending client opens the gallery display interface through the conversation interface between the sending client and the receiving client; G2. The sending client selects a set of images to be synthesized through the gallery display interface; G3. The sending client receives a floating control gesture input by the user, and when the floating control gesture successfully matches the preset floating control gesture, receives the audio data input by the user through the voice input module; G4. The sending client uses VAD technology to determine the voice information to be synthesized from the audio data input by the user; G5. The sending client synthesizes the set of images to be synthesized and the voice information to be synthesized to obtain the target image information; G6. The sending client saves the target image information locally or sends the target image information to the receiving client. It should be understood that Fig. 9 The examples are only for facilitating the understanding of this solution and are not intended to limit this solution.
[0221] In the embodiment of the present application, after receiving the audio data through the voice input module, the sending client uses the VAD technology to detect the effective voice starting point and the effective voice ending point from the audio data, that is, to determine the effective voice segment from the received audio data, and determine the voice to be synthesized based on the effective voice segment. In the above manner, the received audio data can be automatically edited, so that only the effective data in the audio data is retained in the voice information to be synthesized, which increases the proportion of effective information in the target image information and further improves the accuracy of information transmission.
[0222] Optionally, in the above Figure 2 On the basis of the corresponding multiple embodiments, in another optional embodiment of the information generation method provided in the embodiments of the present application, after the sending client generates the target image information according to the image set to be synthesized and the speech to be synthesized, the method further includes:
[0223] The sending client receives the information transmission instruction, wherein the information transmission instruction carries the receiver identification;
[0224] The sending client responds to the information transmission instruction and sends the target image information to the server, so that the server sends the target image information to the receiving client, so that the receiving client plays the voice information to be synthesized when displaying the set of images to be synthesized according to the target image information. The receiving client corresponds to the receiving identifier.
[0225] In the embodiment of the present application, after generating the target image information, the sending client can also receive the information transmission instruction input by the user, and send the target image information to the server in response to the information transmission instruction. Since the information transmission instruction carries the receiver identifier, the sending client can carry the receiver identifier when sending the target image information to the server, so that after receiving the target image information, the server can determine the receiver client corresponding to the receiver identifier, and send the target image information to the receiver client, so that the receiver client plays the voice information to be synthesized when displaying the image set to be synthesized according to the target image information. Specifically, in one case, the sending client generates the target image information through the conversation interface between the sending client and the receiver client, and when the user inputs the information transmission instruction, the information transmission instruction carries the receiver identifier corresponding to the receiver client; in another case, the sending client generates the target image information through the conversation interface between the sending client and the third-party client, and when the user inputs the information transmission instruction, the user needs to input the selection operation of the receiver client, so that the receiver identifier corresponding to the receiver client can be obtained, etc. Other ways of receiving information transmission instructions are not listed one by one here.
[0226] In the embodiment of the present application, after generating the target image information, the sending client receives the information transmission instruction carrying the receiving party's identification, and sends the target image information to the server in response to the information transmission instruction, so that the server forwards the target image information to the receiving client, so that the receiving client plays the voice information to be synthesized when displaying the set of images to be synthesized. Through the above method, a specific implementation scheme for the sending client to send the target image information to the receiving client is provided, which improves the integrity and feasibility of the scheme.
[0227] In the above Figures 2 to 9 Based on the corresponding embodiments, the present application embodiment also provides another method for generating information, please refer to Fig.10 Another embodiment of the method for generating information in the embodiment of the present application may include:
[0228] 201. Sending a client to receive a voice input command;
[0229] In this embodiment, the sending client may display an icon corresponding to the voice input instruction, and when the user performs a selection operation on the icon, the sending client receives the voice input instruction input by the user, wherein the selection operation may be a click operation, a double-click operation, etc. Specifically, the sending client may receive the voice input instruction through a conversation interface with the receiving client.
[0230] 202. The sending client responds to the voice input instruction and obtains the voice information to be synthesized;
[0231] In this embodiment, after receiving the voice input command, the sending client can receive the audio data input by the user through a microphone or other sound pickup software, and then regard all the received audio data as voice information to be synthesized, or use VAD technology to determine the voice information to be synthesized from the received audio data.
[0232] 203. The sending client receives an image input instruction according to the voice information to be synthesized;
[0233] In this embodiment, after obtaining the voice information to be synthesized, the sending client may input prompt information to the user whether to add an image, so as to receive the image input instruction input by the user, wherein the prompt information may be in text form or in voice form, etc. As an example, after obtaining the voice information to be synthesized, the sending client may pop up a text box containing prompt information and selection information, and the content of the prompt information is "Please ask whether to add an image to the voice information", and the selection information includes "OK and Cancel". When the user clicks the button corresponding to "OK", it is regarded as inputting the image input instruction; as another example, after obtaining the voice information to be synthesized, the sending client may output a voice prompt information of "Please ask whether to add an image to the voice information". If the user replies with an affirmative reply voice such as "Add" or "Yes", it is regarded as inputting the image input instruction, etc. It should be understood that the examples given here are only for the convenience of understanding this solution and are not used to limit this solution.
[0234] 204. The sending client obtains a set of images to be synthesized in response to the image input instruction, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0235] In this embodiment, after obtaining the image input instruction, the sending client can obtain a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized, and each image to be synthesized in the set of images to be synthesized can be presented as a still image or as a moving image composed of multiple frames of images. Specifically, after obtaining the image input instruction, the sending client can directly enter the media data set display interface to receive the user's image selection instruction, so that the sending client can obtain the set of images to be synthesized; after obtaining the image input instruction, the sending client can also turn on the camera module, so as to obtain the set of images to be synthesized through the camera module; after obtaining the image input instruction, the sending client can also display two icons corresponding to the camera module and the media data set respectively, so that the user can perform a selection operation on one of the two icons, and the sending client determines whether to enter the media data set display interface or turn on the camera module according to the user's selection operation, and then obtains the set of images to be synthesized.
[0236] 205. The sending client generates target voice information according to the voice information to be synthesized and the image set to be synthesized, wherein the target voice information includes the voice information to be synthesized and the image set to be synthesized.
[0237] In this embodiment, the sending client can synthesize a voice information to be synthesized with at least one image to be synthesized in a set of images to be synthesized to obtain target voice information carrying image information, and then the sending client can save the target voice information locally, or send the target voice information to the server, or send the target voice information to the receiving client through the server.
[0238] 206. The sending client sends the target voice information.
[0239] In this embodiment, after generating the target voice information, the sending client can send the target voice information to the server so that the server forwards the target voice information to the receiving client; it can also send the target voice information to the server so that the server searches according to the target voice information to send search results corresponding to the target voice information to the sending client, etc., and the specifics are not limited here.
[0240] Optionally, the sending client responds to the voice input instruction to obtain the voice information to be synthesized, which may include:
[0241] The sending client obtains the voice information to be synthesized from the preset voice information set in response to the voice input instruction, wherein the voice input instruction carries keyword information, the voice information to be synthesized carries keyword information, and the preset voice information set includes at least one voice information.
[0242] In this embodiment, the sending client can receive a voice input instruction input by a user, wherein the voice input instruction may carry keyword information, and a preset voice information set may be stored on the sending client, wherein the voice information set includes at least one voice information, and each voice information in the voice information set also carries keyword information. After obtaining the keyword information in the voice input instruction, the sending client can match the keyword information of each voice information in the preset voice information set, and then directly determine the target voice information that successfully matches as the voice information to be synthesized; and at least one voice information that successfully matches can also be displayed, so that the user can obtain the target voice information from the displayed at least one voice information. As an example, for example, the voice input instruction input by the user carries the keyword information "wedding dress", and there are three voice information carrying the keyword information "wedding dress" in the preset voice information set, namely "Is this wedding dress beautiful", "When to try on the wedding dress", and "How much is this wedding dress", then the above three voice information can be displayed to the user, so that the user can select the voice information to be synthesized from the three voice information.
[0243] In an embodiment of the present application, the user can only enter keyword information when inputting voice information, and the sending client obtains the voice information to be synthesized from a preset voice information set based on the keyword information. In this way, the amount of voice information that needs to be input by the user is reduced, and thus the amount of voice information that needs to be sent to the client for voice recognition is also reduced, which is beneficial to improving the accuracy of the voice recognition process and reducing the workload of the voice recognition process.
[0244] Optionally, the sending client obtains a set of images to be synthesized in response to the image input instruction, including:
[0245] The sending client responds to the image input instruction and obtains the set of images to be synthesized from the local computer;
[0246] or,
[0247] The sending client obtains a set of images to be synthesized from the server in response to the image input instruction.
[0248] In this embodiment, after receiving the image input instruction, the sending client can obtain the set of images to be synthesized from the local gallery, or obtain the set of images to be synthesized from the remote server. Specifically, the sending client can select and display at least one image matching the voice to be synthesized from the local gallery to receive the image selection instruction input by the user for the image to be synthesized in the at least one image, so that the sending client determines the set of images to be synthesized according to the image selection instruction input by the user; the sending client can also obtain and display at least one image matching the voice to be synthesized from the server to receive the image selection instruction input by the user for the image to be synthesized in the at least one image, so that the sending client determines the set of images to be synthesized according to the image selection instruction input by the user, etc. The specifics are not limited here.
[0249] In the embodiment of the present application, the sending client can not only obtain the set of images to be synthesized locally, but also obtain the set of images to be synthesized from the server, which enriches the channels for obtaining the set of images to be synthesized and improves the comprehensiveness of the present solution.
[0250] Optionally, the sending client receives an image input instruction according to the voice information to be synthesized, including:
[0251] The sending client displays a list of image selections based on the voice information to be synthesized;
[0252] The sending client receives the image input instruction through the image selection list;
[0253] The sending client responds to the image input instruction and obtains a set of images to be synthesized, including:
[0254] The sending client obtains a set of images to be synthesized from the image selection list in response to the image input instruction.
[0255] In this embodiment, the sending client can generate keyword information for each image according to the content of each image obtained from the gallery or the server, and after obtaining the voice information to be synthesized, extract the keyword information from the voice information to be synthesized, and use the keyword information of the voice information to be synthesized to match the keyword information of each image in the gallery, so as to determine an image selection list from at least one image in the gallery, and display the image selection list, wherein the image selection list includes at least one image, and there is a corresponding relationship between each image in the image selection list and the voice information to be synthesized; then the sending client can receive the image input instruction input by the user through the image selection list, specifically, the user input can be input by performing a click operation, a double-click operation, a gesture operation, a long press operation, a floating control operation, etc. on the selected image to input the image input instruction, so that the sending client responds to the image input instruction and obtains a set of images to be synthesized from the image selection list. As an example, if the voice information to be synthesized is "The sky is so blue today", the extracted keyword information may be "today", "sky" and "blue", so that the sending client can obtain the keyword information of each image from the gallery, determine at least one image (for example, 5 images) whose keyword information includes a shooting time of today, a shooting target of the sky, and a sky color of blue as at least one image included in the image selection list, and display the 5 images in the image selection list to the user to receive image input instructions from the user for the 5 images, and then determine a set of images to be synthesized from the 5 images.
[0256] In an embodiment of the present application, after the user inputs the voice information to be synthesized, the sending client can automatically match the image selection list according to the voice to be synthesized, so that the user can select the image set to be synthesized from the user selection list, thereby realizing the accurate push of the image set to be synthesized, improving the efficiency of the image set selection process to be synthesized, and helping to improve user stickiness.
[0257] For further understanding of this solution, please refer to Fig.11 , Fig.11 This is another schematic diagram of an example of the information generation method in the example of the present application. Fig.11 It includes three sub-schematic diagrams (a), (b) and (c), among which: Fig.11 The (a) sub-diagram shows a voice input command receiving interface, wherein H1 is used to receive voice input commands. When the user clicks H1, the client is sent to obtain the voice information to be synthesized. After the voice information to be synthesized is obtained, the client enters Fig.11 (b) Sub-schematic diagram of; Fig.11 The schematic diagram of sub-section (b) shows the image input instruction receiving interface. Fig.11In the example, the sending client outputs the prompt information in the form of a text box. Fig.11 The prompt message in the (b) sub-diagram is "Do you want to add an image?", and two buttons corresponding to the two options "OK" and "Cancel" are provided. When the user clicks H2, the user enters Fig.11 (c) sub-schematic diagram; Fig.11 The (c) sub-schematic diagram shows a media data set display interface (i.e., an image set acquisition interface to be synthesized), so that the user can Fig.11 The sub-schematic diagram (c) of the embodiment performs a selection operation on at least one image to be synthesized, then the sending client can obtain a set of images to be synthesized, and then perform a synthesis operation of the speech information to be synthesized and the set of images to be synthesized. It should be understood that Fig.11 The examples are only for facilitating the understanding of this solution and are not intended to limit this solution.
[0258] In the embodiment of the present application, after the sending client receives the voice input instruction, it can obtain the voice information to be synthesized, receive the image input instruction according to the voice information to be synthesized, and in response to the image input instruction, obtain a set of images to be synthesized including at least one image to be synthesized, and generate the target voice information according to the voice information to be synthesized and the set of images to be synthesized. Through the above method, on the basis of using voice information communication and using picture information communication, the function of combining voice and picture is realized, which improves the communication efficiency between users, makes information transmission more efficient and accurate, and thus enhances the flexibility of the solution.
[0259] In the above Figures 2 to 11 Based on the corresponding embodiments, the present application also provides a method for information display, please refer to Fig.12 , an embodiment of the information display method in the embodiment of the present application may include:
[0260] 301. A receiving client receives target image information sent by a sending client, where the set of images to be synthesized includes at least one image to be synthesized;
[0261] In this embodiment, the receiving client can receive target image information sent by the sending client, where the target image information includes a set of images to be synthesized and voice information to be synthesized, wherein each image to be synthesized in the set of images to be synthesized can be expressed as a still image or as a dynamic image composed of multiple frames of images. Specifically, since the set of images to be synthesized includes at least one image to be synthesized, when the set of images to be synthesized includes one image to be synthesized, the target image information can be expressed as an image synthesized with voice information; when the set of images to be synthesized includes at least two images to be synthesized, in one implementation, the target image information can be expressed as an image synthesized with voice information and at least one image without voice information. As an example, if the set of images to be synthesized includes an image of clouds and an image of the sea, the target image information can be expressed as an image of clouds carrying voice and an image of the sea without voice, and the cloud image carries the voice information of "The weather is so nice today"; in another implementation, the target image information can be expressed as two images synthesized with the same voice information. As an example, if the set of images to be synthesized includes two images of puppies, the target image information can be expressed as two images of puppies carrying voice, and each puppy image carries the voice information of "The puppy runs so fast", etc. The specifics are not limited here.
[0262] After the receiving client receives the target image information, it can display a thumbnail corresponding to the target image information. The thumbnail of the image synthesized with voice information can be different from the thumbnail of the image without voice information. Specifically, the image synthesized with voice information can be specifically expressed as an icon associated with the voice information added to the thumbnail of the image to be synthesized. More specifically, the icon can be set at the upper left corner, upper right corner, lower left corner, lower right corner, middle position, etc. of the image to be synthesized. The shape of the icon can be similar to a sound waveform, a heart shape, a pentagon, a triangle, etc. The shape of the specific icon and the position of the icon on the thumbnail of the image to be synthesized can be determined in combination with the actual product form, and are not limited here. Specifically, when the set of images to be synthesized includes at least two images to be synthesized, the receiving client can respectively display at least two thumbnails corresponding to the at least two images to be synthesized.
[0263] 302. The receiving client receives the information display instruction;
[0264] In this embodiment, the receiving client can receive the information display instruction through the thumbnail corresponding to the target image information. Specifically, the user can input the information display instruction by clicking on the thumbnail of the target image information; the user can also input the information display instruction by double-clicking the thumbnail of the target image information; the user can also input "open the target image information" in the form of voice to input the information display instruction, etc. The specific method of inputting the information display instruction is not limited here.
[0265] More specifically, when the set of images to be synthesized includes at least two images to be synthesized, since the receiving client respectively displays at least two thumbnails corresponding to the at least two images to be synthesized, the information display instruction received by the receiving client may carry an image identifier corresponding to the image to be synthesized, and the receiving client can determine the target image to be synthesized to be displayed from the set of images to be synthesized based on the image identifier.
[0266] 303. The receiving client responds to the information display instruction and plays the voice information to be synthesized while displaying the set of images to be synthesized.
[0267] In this embodiment, after receiving the information display instruction, the receiving client can parse the image to be synthesized that carries the voice information, thereby obtaining the image to be synthesized and the voice information to be synthesized respectively, and then play the voice information to be synthesized when displaying the image to be synthesized. Specifically, when the target image to be synthesized determined by step 203 is an image synthesized with voice information, the receiving client performs the parsing operation to play the voice information to be synthesized when displaying the set of images to be synthesized; when the target image to be synthesized determined by step 203 is an image not synthesized with voice information, the receiving client only displays the image to be synthesized without playing the voice information to be synthesized.
[0268] For further understanding of this solution, please refer to Fig.13 , Fig.13 This is a schematic diagram of an embodiment of the information display method in the embodiment of the present application. Fig.13 It includes two sub-schematic diagrams (a) and (b), where Fig.13 The schematic diagram (a) of the sub-schematic diagram is a schematic diagram showing that after the receiving client receives the target image information, it displays at least one thumbnail corresponding to the set of images to be synthesized. Fig.13 The (a) sub-diagram shows two thumbnails corresponding to the two images to be synthesized displayed by the receiving client. I1 is the image to be synthesized with voice information. When the user clicks on I1, the user enters Fig.13 (b) Sub-schematic diagram of; Fig.13The schematic diagram of the (b) sub-schematic diagram is a schematic diagram showing that the receiving client displays one of the images to be synthesized and plays the voice information to be synthesized. I2 represents that the voice information is in the playing state. The voice message played may be "Magic Girl Change Change Change". It should be understood that Fig.13 The examples are only for facilitating the understanding of this solution and are not intended to limit this solution.
[0269] In the embodiment of the present application, after receiving the target image information sent by the sending client, the receiving client can receive an information display instruction for the target image information, so as to play the voice information to be synthesized when displaying the image set to be synthesized. Through the above method, on the basis of using voice information communication and using picture information communication, the function of combining voice and picture is realized, which improves the communication efficiency between users and makes information transmission more efficient and accurate, thereby enhancing the flexibility of the solution.
[0270] In the above Figures 2 to 13 Based on the corresponding embodiments, the present application embodiment also provides another method for information display, please refer to Fig.14 Another embodiment of the information display method in the embodiment of the present application may include:
[0271] 401. The receiving client receives target voice information sent by the sending client, wherein the target voice information includes voice information to be synthesized and a set of images to be synthesized, and the set of images to be synthesized includes at least one image to be synthesized;
[0272] In this embodiment, after the receiving client receives the target voice information sent by the sending client, the icon corresponding to the target voice information can be displayed to remind the user that the target voice information has been received, wherein each image to be synthesized in the set of images to be synthesized can be presented as a still image or as a moving image composed of multiple frames of images. Specifically, since the set of images to be synthesized is synthesized in the target voice information, the icon of the target voice information can be different from the specific expression form of the icon of the voice information that is not synthesized in the set of images to be synthesized. As an example, for example, the icon of the target voice information can be superimposed with icons in the shape of a heart, cloud, pentagon, triangle or other shapes, etc., which are not limited here.
[0273] 402. The receiving client receives the information display instruction;
[0274] In this embodiment, the receiving client can receive the information display instruction through the icon corresponding to the target voice information. Specifically, the user can input the information display instruction by clicking the icon of the target voice information; the user can also input the information display instruction by double-clicking the icon of the target voice information; the user can also input "play the target voice information" in the form of voice to input the information display instruction, etc. The specific method of inputting the information display instruction is not limited here.
[0275] 403. The receiving client responds to the information display instruction and displays the set of images to be synthesized while playing the voice information to be synthesized.
[0276] In this embodiment, after receiving the information display instruction, the receiving client can parse the target voice information to obtain the voice information to be synthesized and the image set to be synthesized, so as to display the image set to be synthesized when playing the voice information to be synthesized. Specifically, when the image set to be synthesized includes one image to be synthesized, the one image to be synthesized is displayed when playing the voice information to be synthesized; when the image set to be synthesized includes at least two images to be synthesized, the at least two images to be synthesized are played when playing the voice information to be synthesized. The playback order of the at least two images to be synthesized can be random playback, or the first received image to be synthesized can be played first, etc., which is not limited here.
[0277] For further understanding of this solution, please refer to Fig.15 , Fig.15 This is a schematic diagram of an embodiment of the information display method in the embodiment of the present application. Fig.15 It includes two sub-schematic diagrams (a) and (b), where Fig.15 The (a) sub-schematic diagram shows a schematic diagram of displaying an icon corresponding to the target voice information after the receiving client receives the target voice information. J1 is used to receive the information display instruction input by the user. When the user clicks on J1, the user enters Fig.15 (b) Sub-schematic diagram of; Fig.15 The schematic diagram (b) of the sub-schematic diagram of FIG. 1 is a schematic diagram of the receiving client playing the voice information to be synthesized, and J2 represents that the voice information is in the playing state. It should be understood that Fig.15 The examples are only for facilitating the understanding of this solution and are not intended to limit this solution.
[0278] In the embodiment of the present application, after receiving the target voice information sent by the sending client, the receiving client can receive an information display instruction for the target voice information, so that the image set to be synthesized is displayed when playing the voice information to be synthesized. Through the above method, on the basis of using voice information communication and using picture information communication, the function of combining voice and picture is realized, the communication efficiency between users is improved, and the information transmission is more efficient and accurate, thereby enhancing the flexibility of the solution.
[0279] In the above Figures 2 to 15 Based on the corresponding embodiments, the information generating device and the information display device in this application are described in detail below. Fig.16 , Fig.16 This is a schematic diagram of an embodiment of an information generating device in an embodiment of the present application. The information generating device 50 may include:
[0280] An acquisition unit 501 is used to acquire a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0281] The receiving unit 502 is used to receive a voice input instruction according to the set of images to be synthesized obtained by the obtaining unit 501;
[0282] The acquisition unit 501 is further used to respond to the voice input instruction received by the receiving unit 502 and acquire the voice information to be synthesized;
[0283] The generating unit 503 is used to generate target image information according to the set of images to be synthesized and the speech to be synthesized acquired by the acquiring unit 501 .
[0284] In this embodiment, the acquisition unit 501 acquires a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized, the receiving unit 502 receives a voice input instruction according to the set of images to be synthesized acquired by the acquisition unit 501, the acquisition unit 501 responds to the voice input instruction received by the receiving unit 502, acquires the voice information to be synthesized, and the generation unit 503 generates the target image information according to the set of images to be synthesized acquired by the acquisition unit 501 and the voice to be synthesized.
[0285] In the embodiment of the present application, after the acquisition unit 501 acquires the set of images to be synthesized, the receiving unit 502 can receive a voice input instruction according to the set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized, and the acquisition unit 501 acquires the voice information to be synthesized according to the received voice input instruction, and then the generation unit 503 generates the target image information according to the set of images to be synthesized and the voice to be synthesized. Through the above method, the interactive mode of voice and picture can be realized, and the function of combining voice and picture is realized on the basis of using voice information communication and using picture information communication, which improves the communication efficiency between users and makes the information transmission more efficient and accurate, thereby enhancing the flexibility of the solution.
[0286] Optionally, in the above Fig.16 On the basis of the corresponding embodiment, in another embodiment of the information generating device 50 provided in the embodiment of the present application, the acquiring unit 501 is specifically used for:
[0287] Receiving an image selection instruction, wherein the image input instruction carries an image identifier corresponding to the set of images to be synthesized;
[0288] In response to the image input instruction, a set of images to be synthesized is obtained from the media data set.
[0289] Secondly, in the embodiment of the present application, the acquisition unit 501 can receive an image selection instruction, and select the image to be synthesized from the media data set according to the image identifier corresponding to the image set to be synthesized carried in the image selection instruction. Through the above method, the information generation device 50 can select the image set to be synthesized from the stored media data set, and then perform the synthesis operation of the image to be synthesized and the voice information, which provides a specific implementation method of the present solution and improves the feasibility of the present solution. Further, the information generation device 50 can receive the image selection instruction through the conversation interface with the receiving client, that is, the user can select an image to be synthesized from the gallery for voice synthesis during the chat with friends, thereby improving the convenience of the voice and picture combination function and improving the user stickiness of the client.
[0290] Optionally, in the above Fig.16 On the basis of the corresponding embodiment, in another embodiment of the information generating device 50 provided in the embodiment of the present application, the acquiring unit 501 is specifically used for:
[0291] receiving an image capturing instruction;
[0292] In response to an image capturing instruction, starting a camera module;
[0293] The image set to be synthesized is obtained through the camera module.
[0294] Secondly, in the embodiment of the present application, the acquisition unit 501 can receive an image shooting instruction and shoot the image to be synthesized according to the image shooting instruction. In the above manner, the information generation device 50 can obtain the set of images to be synthesized in real time, and then perform the synthesis operation of the image to be synthesized and the voice information, that is, the user can generate an image carrying voice information at any time and send it to the receiving client, which not only expands the application scenario of this solution, but also improves the flexibility of the voice and picture combination function.
[0295] Optionally, in the above Fig.16 On the basis of the corresponding embodiment, in another embodiment of the information generating device 50 provided in the embodiment of the present application, the acquiring unit 501 is specifically used for:
[0296] Receiving an image processing instruction through the image set to be synthesized acquired by the acquisition unit 501;
[0297] In response to the image processing instruction, a voice adding module is displayed, wherein the voice adding module is used to obtain voice information to be synthesized.
[0298] Optionally, in the above Fig.16 On the basis of the corresponding embodiment, in another embodiment of the information generating device 50 provided in the embodiment of the present application,
[0299] The receiving unit 502 is specifically configured to: receive a suspension control gesture, wherein the distance between the suspension control gesture and the screen of the terminal device is greater than a preset distance, and the suspension control gesture has a corresponding relationship with the set of images to be synthesized;
[0300] The acquisition unit 501 is specifically used for:
[0301] In response to the floating control gesture received by the receiving unit 502, determining whether the floating control gesture matches a preset floating control gesture;
[0302] If the floating control gesture successfully matches the preset floating control gesture, the voice information to be synthesized is obtained through the voice input module.
[0303] Secondly, in the embodiment of the present application, the receiving unit 502 can receive the floating control gesture input by the user, and the acquisition unit 501 can obtain the voice information to be synthesized through the voice input module when the floating control gesture input by the user successfully matches the preset floating control gesture. In the above manner, the user can input the voice input command by inputting the floating control gesture, which not only increases the fun of the voice input command process, but also the user can input the voice input command without directly touching the screen. Even if the terminal device deployed by the information generating device 50 is provided with a water-draining sleeve on the outside, the user can input the voice input command, which greatly expands the application scenario of the present solution and improves the user stickiness of the client.
[0304] Optionally, in the above Fig.16 On the basis of the corresponding embodiment, in another embodiment of the information generating device 50 provided in the embodiment of the present application,
[0305] The receiving unit 502 is specifically used to: receive an operation control gesture, wherein the operation control gesture has a corresponding relationship with the set of images to be synthesized, the operation control gesture acts on the screen of the terminal device, and the operation control gesture includes at least one of a long press gesture, a single click gesture, a double click gesture, and a track gesture;
[0306] The acquisition unit 501 is specifically used for:
[0307] In response to the operation control gesture received by the receiving unit 502, determining whether the operation control gesture matches a preset operation control gesture;
[0308] If the operation control gesture successfully matches the preset operation control gesture, the voice information to be synthesized is obtained through the voice input module.
[0309] Secondly, in the embodiment of the present application, the receiving unit 502 can receive the operation control gesture input by the user, and the obtaining unit 501 obtains the voice information to be synthesized through the voice input module when the operation control gesture input by the user successfully matches the preset operation control gesture. The user can input the voice input instruction by inputting the operation control gesture, which is convenient to operate, and various types of operation control gestures are provided in the present embodiment, which improves the feasibility of the present solution.
[0310] Optionally, in the above Fig.16 On the basis of the corresponding embodiment, in another embodiment of the information generating device 50 provided in the embodiment of the present application, the receiving unit 502 is specifically used for:
[0311] Receiving a first operation instruction through the set of images to be synthesized;
[0312] In response to the first operation instruction, displaying a voice adding module;
[0313] Receiving a second operation instruction through the voice adding module;
[0314] The acquiring unit 501 is specifically used for: responding to the second operation instruction received by the receiving unit 502, and acquiring the speech information to be synthesized through the speech input module.
[0315] Secondly, in the embodiment of the present application, the receiving unit 502 can receive the first operation instruction input by the user through the set of images to be synthesized, and then display the voice adding module, and receive the second operation instruction through the voice adding module, and obtain the voice information to be synthesized through the voice input module in response to the second operation instruction. This embodiment also provides a way to receive voice input instructions, thereby further enriching the implementation scenarios of this solution and improving the feasibility of this solution; further, the information generating device 50 can realize the merging of voice and pictures through the conversation interface with the third-party client, and forward it to the receiving and sending client, further improving the communication efficiency between users.
[0316] Optionally, in the above Fig.16 On the basis of the corresponding embodiment, in another embodiment of the information generating device 50 provided in the embodiment of the present application, the acquiring unit 501 is specifically used for:
[0317] receiving audio data through a voice input module;
[0318] Using voice boundary detection VAD to detect a valid voice start point and a valid voice end point from the audio data, wherein the valid voice start point corresponds to a first moment, and the valid voice end point corresponds to a second moment;
[0319] According to the effective speech starting point and the effective speech ending point, the speech information to be synthesized is determined from the audio data, wherein the starting time of the speech information to be synthesized is the first time, and the ending time of the speech information to be synthesized is the second time.
[0320] Secondly, in the embodiment of the present application, after receiving the audio data through the voice input module, the acquisition unit 501 uses the VAD technology to detect the effective voice starting point and the effective voice ending point from the audio data, that is, to determine the effective voice segment from the received audio data, and determine the voice to be synthesized according to the effective voice segment. In the above manner, the received audio data can be automatically edited, so that only the effective data in the audio data is retained in the voice information to be synthesized, which increases the proportion of effective information in the target image information and further improves the accuracy of information transmission.
[0321] Optionally, in the above Fig.16 Based on the corresponding embodiments, please refer to Fig.17 , Fig.17 Schematic diagram of another embodiment of the information generating device in the embodiment of the present application. In another embodiment of the information generating device 50 provided in the embodiment of the present application,
[0322] The receiving unit 502 is further configured to receive an information transmission instruction, wherein the information transmission instruction carries a receiver identifier;
[0323] The information generating device 50 may also include a sending unit 504, which is used to respond to the information transmission instruction received by the receiving unit 502, and send the target image information to the server, so that the server sends the target image information to the receiving client, so that the receiving client plays the voice information to be synthesized when displaying the set of images to be synthesized according to the target image information, and the receiving client corresponds to the receiving identifier.
[0324] Secondly, in the embodiment of the present application, after the generating unit 503 generates the target image information, the receiving unit 502 receives the information transmission instruction carrying the receiving party identifier, and the sending unit 504 sends the target image information to the server in response to the information transmission instruction, so that the server forwards the target image information to the receiving party client, so that the receiving party client plays the voice information to be synthesized when displaying the image set to be synthesized. Through the above method, a specific implementation scheme for the sending party client to send the target image information to the receiving party client is provided, which improves the integrity and feasibility of the scheme.
[0325] The present application also provides another information generating device. Fig.18 , Fig.18 This is another embodiment schematic diagram of the information generating device in the embodiment of the present application. The information generating device 60 provided in the embodiment of the present application may include:
[0326] The receiving unit 601 is used to receive a voice input instruction;
[0327] The acquisition unit 602 is used to respond to the voice input instruction received by the receiving unit 601 and acquire the voice information to be synthesized;
[0328] The receiving unit 601 is further configured to receive an image input instruction according to the to-be-synthesized speech information obtained by the obtaining unit 602;
[0329] The acquiring unit 602 is further configured to acquire a set of images to be synthesized in response to the image input instruction received by the receiving unit 601, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0330] A generating unit 603 is used to generate target voice information according to the voice information to be synthesized and the image set to be synthesized acquired by the acquiring unit 602, wherein the target voice information includes the voice information to be synthesized and the image set to be synthesized;
[0331] The sending unit 604 is used to send the target voice information generated by the generating unit 603.
[0332] In this embodiment, after the receiving unit 601 receives the voice input instruction, the acquisition unit 602 responds to the voice input instruction received by the receiving unit 601 to obtain the voice information to be synthesized, the receiving unit 601 receives the image input instruction according to the voice information to be synthesized obtained by the acquisition unit 602, and the acquisition unit 602 responds to the image input instruction received by the receiving unit 601 to obtain a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized, so that the generating unit 603 generates the target voice information according to the voice information to be synthesized obtained by the acquiring unit 602 and the set of images to be synthesized, wherein the target voice information includes the voice information to be synthesized and the set of images to be synthesized, and the sending unit 604 sends the target voice information generated by the generating unit 603.
[0333] In the embodiment of the present application, after the receiving unit 601 receives the voice input instruction, the acquisition unit 602 may acquire the voice information to be synthesized, the receiving unit 601 receives the image input instruction according to the voice information to be synthesized, the acquisition unit 602 responds to the image input instruction, acquires a set of images to be synthesized including at least one image to be synthesized, and then the generating unit 603 generates the target voice information according to the voice information to be synthesized and the set of images to be synthesized, and the sending unit 604 sends the target voice information generated by the generating unit 603. In the above manner, on the basis of using voice information communication and using picture information communication, the function of combining voice and picture is realized, the communication efficiency between users is improved, and the information transmission is more efficient and accurate, thereby enhancing the flexibility of the solution.
[0334] Optionally, the acquisition unit 602 is specifically used to: in response to the voice input instruction received by the receiving unit 601, obtain the voice information to be synthesized from a preset voice information set, wherein the voice input instruction carries keyword information, the voice information to be synthesized carries keyword information, and the preset voice information set includes at least one voice information.
[0335] Optionally, the acquiring unit 602 is specifically configured to:
[0336] In response to the image input instruction received by the receiving unit 601, a set of images to be synthesized is obtained locally;
[0337] or,
[0338] In response to the image input instruction received by the receiving unit 601, a set of images to be synthesized is obtained from the server.
[0339] Optionally, the receiving unit 601 is specifically configured to:
[0340] Displaying an image selection list according to the speech information to be synthesized acquired by the acquisition unit 602;
[0341] Receiving image input instructions through an image selection list;
[0342] The acquisition unit 602 is specifically used for:
[0343] In response to the image input instruction received by the receiving unit 601, a set of images to be synthesized is obtained from the image selection list.
[0344] The present application also provides an information display device. Fig.19 , Fig.19 This is a schematic diagram of an embodiment of an information display device in an embodiment of the present application. The information display device 70 provided in the embodiment of the present application may include:
[0345] A receiving unit 701 is configured to receive target image information sent by a sending client, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0346] The receiving unit 701 is further configured to receive an information display instruction;
[0347] The display unit 702 is used to respond to the information display instruction received by the receiving unit 701, and play the voice information to be synthesized received by the receiving unit 701 when displaying the image set to be synthesized received by the receiving unit 701.
[0348] In this embodiment, the receiving unit 701 receives target image information sent by the sending client, and the set of images to be synthesized includes at least one image to be synthesized. Then, the receiving unit 701 receives an information display instruction based on the target image information, and the display unit 702 responds to the information display instruction received by the receiving unit 701. When displaying the set of images to be synthesized received by the receiving unit 701, the voice information to be synthesized received by the receiving unit 701 is played.
[0349] In the embodiment of the present application, after receiving the target image information sent by the sending client, the receiving unit 701 can receive an information display instruction for the target image information, so that when the display unit 702 displays the set of images to be synthesized, the voice information to be synthesized is played. In the above manner, on the basis of using voice information communication and using picture information communication, the function of combining voice and picture is realized, the communication efficiency between users is improved, and the information transmission is more efficient and accurate, thereby enhancing the flexibility of the solution.
[0350] The present application also provides another information display device. Fig. 20 , Fig. 20 This is another embodiment schematic diagram of the information display device in the embodiment of the present application. The information display device 80 provided in the embodiment of the present application may include:
[0351] The receiving unit 801 is used to receive target voice information sent by a sending client, wherein the target voice information includes voice information to be synthesized and a set of images to be synthesized, and the set of images to be synthesized includes at least one image to be synthesized;
[0352] The receiving unit 801 is further used to receive an information display instruction;
[0353] The playing unit 802 is used to respond to the information display instruction received by the receiving unit 801, and display the image set to be synthesized received by the receiving unit 801 when playing the voice information to be synthesized received by the receiving unit 801.
[0354] In this embodiment, the receiving unit 801 receives target voice information sent by the sending client, wherein the target voice information includes voice information to be synthesized and a set of images to be synthesized, and the set of images to be synthesized includes at least one image to be synthesized. Then, the receiving unit 801 receives an information display instruction based on the target voice information, and the playing unit 802 responds to the information display instruction received by the receiving unit 801, and displays the set of images to be synthesized received by the receiving unit 801 when playing the voice information to be synthesized received by the receiving unit 801.
[0355] In the embodiment of the present application, after receiving the target voice information sent by the sending client, the receiving unit 801 can receive an information display instruction for the target voice information, so that the playing unit 802 displays the image set to be synthesized when playing the voice information to be synthesized. Through the above method, on the basis of using voice information communication and using picture information communication, the function of combining voice and picture is realized, the communication efficiency between users is improved, and the information transmission is more efficient and accurate, thereby enhancing the flexibility of the solution.
[0356] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0357] Next, the embodiment of the present application further provides a terminal device, on which the above-mentioned Fig.16 as well as Fig.17 The information generating device provided in the corresponding embodiment is used to execute Figures 2 to 9 The steps performed by the sending client in the corresponding embodiment. Alternatively, the terminal device may be equipped with the above Fig.18 The information generating device provided in the corresponding embodiment is used to execute Figure 10 to Figure 11 The steps performed by the sending client in the corresponding embodiment. Alternatively, the terminal device may be equipped with the above Fig.19 The information display device provided in the corresponding embodiment is used to execute Figure 12 to Figure 13The steps performed by the sending client in the corresponding embodiment. Alternatively, the terminal device may be equipped with the above Fig. 20 The information display device provided in the corresponding embodiment is used to execute Figure 14 to Figure 15 The steps performed by the sending client in the corresponding embodiment. Fig.21 For the sake of convenience, only the parts related to the embodiments of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiments of the present application. The information generating device or information display device can be any terminal device including a mobile phone, a tablet computer, a personal digital assistant (PDA), a point of sales (POS), a car computer, etc., taking the attribute information display device as a mobile phone as an example:
[0358] Fig.21 The block diagram shows a partial structure of a mobile phone related to the information generating device or information display device provided in the embodiment of the present application. Fig.21 The mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (WiFi) module 970, a processor 980, and a power supply 990. Those skilled in the art will understand that Fig.21 The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0359] Combine the following Fig.21 A detailed introduction to the various components of the mobile phone:
[0360] The RF circuit 910 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 980 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 910 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, etc. In addition, the RF circuit 910 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0361] The memory 920 can be used to store software programs and modules. The processor 980 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 920. The memory 920 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 920 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0362] The input unit 930 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 930 may include a touch panel 931 and other input devices 932. The touch panel 931, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 931 or near the touch panel 931 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 931 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 980, and can receive and execute the command sent by the processor 980. In addition, the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 931, the input unit 930 may further include other input devices 932. Specifically, the other input devices 932 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
[0363] The display unit 940 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display panel 941. Optionally, the display panel 941 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 931 may cover the display panel 941. When the touch panel 931 detects a touch operation on or near it, it is transmitted to the processor 980 to determine the type of touch event. Subsequently, the processor 980 provides a corresponding visual output on the display panel 941 according to the type of touch event. Although in Fig.21 In the embodiment, the touch panel 931 and the display panel 941 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 931 and the display panel 941 can be integrated to realize the input and output functions of the mobile phone.
[0364] The mobile phone may also include at least one sensor 950, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 941 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; As for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0365] The audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the mobile phone. The audio circuit 960 can transmit the received audio data to the speaker 961 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, which is received by the audio circuit 960 and converted into audio data, and then the audio data is output to the processor 980 for processing, and then sent to another mobile phone through the RF circuit 910, or the audio data is output to the memory 920 for further processing.
[0366] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 970. It provides users with wireless broadband Internet access. Fig.21 A WiFi module 970 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0367] The processor 980 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. It executes various functions of the mobile phone and processes data by running or executing software programs and / or modules stored in the memory 920, and calling data stored in the memory 920. Optionally, the processor 980 may include one or more processing units; optionally, the processor 980 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 980.
[0368] The mobile phone also includes a power supply 990 (such as a battery) for supplying power to various components. Optionally, the power supply can be logically connected to the processor 980 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.
[0369] Although not shown, the mobile phone may also include a camera module, a Bluetooth module, etc., which will not be described in detail here.
[0370] In the embodiment of the present application, when the terminal is used to execute Figures 2 to 9 In the corresponding embodiment, when the sending client performs the steps, the processor 980 included in the terminal device also has the following functions:
[0371] Acquire a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0372] receiving a voice input instruction according to the set of images to be synthesized;
[0373] In response to the voice input instruction, acquiring voice information to be synthesized;
[0374] Target image information is generated according to the set of images to be synthesized and the speech to be synthesized.
[0375] Optionally, the processor 980 is specifically configured to:
[0376] receiving an image selection instruction, wherein the image selection instruction carries an image identifier corresponding to the set of images to be synthesized;
[0377] In response to the image selection instruction, the set of images to be synthesized is obtained from a media data set.
[0378] Optionally, the processor 980 is specifically configured to:
[0379] receiving an image capturing instruction;
[0380] In response to the image capturing instruction, starting a camera module;
[0381] The set of images to be synthesized is acquired through the camera module.
[0382] Optionally, the processor 980 is specifically configured to:
[0383] receiving a suspension control gesture, wherein the distance between the suspension control gesture and the screen of the terminal device is greater than a preset distance, and the suspension control gesture has a corresponding relationship with the set of images to be synthesized;
[0384] In response to the suspension control gesture, determining whether the suspension control gesture matches a preset suspension control gesture;
[0385] If the floating control gesture successfully matches the preset floating control gesture, the voice information to be synthesized is obtained through a voice input module.
[0386] Optionally, the processor 980 is specifically configured to:
[0387] Receiving an operation control gesture, wherein the operation control gesture acts on a screen of a terminal device, and the operation control gesture includes at least one of a long press gesture, a single click gesture, a double click gesture, and a track gesture;
[0388] In response to the operation control gesture, determining whether the operation control gesture matches a preset operation control gesture;
[0389] If the operation control gesture successfully matches the preset operation control gesture, the voice information to be synthesized is obtained through a voice input module.
[0390] Optionally, the processor 980 is specifically configured to:
[0391] Receiving a first operation instruction through the set of images to be synthesized;
[0392] In response to the first operation instruction, displaying a voice adding module;
[0393] Receiving a second operation instruction through the voice adding module;
[0394] The step of obtaining the voice information to be synthesized in response to the voice input instruction includes:
[0395] In response to the second operation instruction, the voice information to be synthesized is acquired through a voice input module.
[0396] Optionally, the processor 980 is specifically configured to:
[0397] Receiving audio data through the voice input module;
[0398] Using voice boundary detection (VAD) to detect a valid voice start point and a valid voice end point from the audio data, wherein the valid voice start point corresponds to a first moment, and the valid voice end point corresponds to a second moment;
[0399] The speech information to be synthesized is determined from the audio data according to the effective speech starting point and the effective speech ending point, wherein the starting time of the speech information to be synthesized is the first time, and the ending time of the speech information to be synthesized is the second time.
[0400] Optionally, the processor 980 is further configured to execute the following steps:
[0401] receiving an information transmission instruction, wherein the information transmission instruction carries a recipient identifier;
[0402] In response to the information transmission instruction, the target image information is sent to the server, so that the server sends the target image information to the receiving client, so that the receiving client plays the voice information to be synthesized when displaying the set of images to be synthesized according to the target image information, and the receiving client corresponds to the receiving identifier.
[0403] In the embodiment of the present application, when the terminal is used to execute Figure 10 to Figure 11 In the corresponding embodiment, when the sending client performs the steps, the processor 980 included in the terminal device also has the following functions:
[0404] Receiving voice input commands;
[0405] In response to the voice input instruction, acquiring voice information to be synthesized;
[0406] receiving an image input instruction according to the voice information to be synthesized;
[0407] In response to the image input instruction, acquiring a set of images to be synthesized, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0408] The target speech information is generated according to the speech information to be synthesized and the set of images to be synthesized.
[0409] In the embodiment of the present application, when the terminal is used to execute Figure 12 to Figure 13 In the corresponding embodiment, when the receiving client performs the steps, the processor 980 included in the terminal device also has the following functions:
[0410] Receiving target image information sent by a sending client, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0411] receiving information display instructions;
[0412] In response to the information display instruction, the voice information to be synthesized is played when the set of images to be synthesized is displayed.
[0413] In the embodiment of the present application, when the terminal is used to execute Figure 14 to Figure 15 In the corresponding embodiment, when the receiving client performs the steps, the processor 980 included in the terminal device also has the following functions:
[0414] Receiving target voice information sent by a sending client, wherein the set of images to be synthesized includes at least one image to be synthesized;
[0415] receiving information display instructions;
[0416] In response to the information display instruction, the set of images to be synthesized is displayed when the voice information to be synthesized is played.
[0417] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0418] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0419] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0420] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0421] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0422] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for generating information, It is characterized in that include: Receiving voice input commands; In response to the voice input instruction, acquiring voice information to be synthesized, and extracting keyword information from the voice information to be synthesized; Get at least one image from the local gallery or server; generating keyword information for the at least one image based on the content of the at least one image; Matching the keyword information of the speech information to be synthesized with the keyword information of the at least one image to determine an image selection list from the at least one image, and displaying the image selection list; each image in the image selection list has a corresponding relationship with the speech information to be synthesized; receiving an image input instruction through the image selection list; In response to the image input instruction, determining a set of images to be synthesized from the image selection list, wherein the set of images to be synthesized includes at least one image to be synthesized; Generate target speech information according to the speech information to be synthesized and the set of images to be synthesized; The target voice information is sent.
2. The method according to claim 1, It is characterized in that The step of obtaining the voice information to be synthesized in response to the voice input instruction includes: In response to the voice input instruction, the voice information to be synthesized is obtained from a preset voice information set, wherein the voice input instruction carries keyword information and the preset voice information set includes at least one voice information.
3. An information generating device, It is characterized in that include: A receiving unit, used for receiving a voice input instruction; an acquiring unit, configured to acquire the speech information to be synthesized in response to the speech input instruction received by the receiving unit, and extract keyword information from the speech information to be synthesized; The device is also used to obtain at least one image in a local gallery or a server; generate keyword information for the at least one image according to the content of the at least one image; use the keyword information of the speech information to be synthesized and the keyword information of the at least one image to match, so as to determine an image selection list from the at least one image, and display the image selection list; each image in the image selection list has a corresponding relationship with the speech information to be synthesized; The receiving unit is further configured to receive an image input instruction through the image selection list; The acquisition unit is further configured to determine a set of images to be synthesized from the image selection list in response to the image input instruction received by the receiving unit, wherein the set of images to be synthesized includes at least one image to be synthesized; A generating unit, configured to generate target speech information according to the speech information to be synthesized acquired by the acquiring unit and the set of images to be synthesized; A sending module is used to send the target voice information generated by the generating unit.
4. The device according to claim 3, It is characterized in that The acquisition unit is specifically used for: In response to the voice input instruction, the voice information to be synthesized is obtained from a preset voice information set, wherein the voice input instruction carries keyword information and the preset voice information set includes at least one voice information.
5. A terminal device, It is characterized in that include: memories, transceivers, processors, and bus systems; Wherein, the memory is used to store programs; The processor is used to execute the program in the memory, including the following steps: Receiving voice input commands; In response to the voice input instruction, acquiring voice information to be synthesized, and extracting keyword information from the voice information to be synthesized; Get at least one image from the local gallery or server; generating keyword information for the at least one image based on the content of the at least one image; Matching the keyword information of the speech information to be synthesized with the keyword information of the at least one image to determine an image selection list from the at least one image, and displaying the image selection list; each image in the image selection list has a corresponding relationship with the speech information to be synthesized; receiving an image input instruction through the image selection list; In response to the image input instruction, determining a set of images to be synthesized from the image selection list, wherein the set of images to be synthesized includes at least one image to be synthesized; Generate target speech information according to the speech information to be synthesized and the set of images to be synthesized; Sending the target voice information; The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
6. A computer-readable storage medium comprising instructions, which, when executed on a computer, causes the computer to perform the method according to any one of claims 1 to 2.
Citation Information
Patent Citations
Picture sharing method and device
CN106506325A
