CN109787880B - Voice transmission method and device of shortcut interface, computer equipment and storage medium - Google Patents

Voice transmission method and device of shortcut interface, computer equipment and storage medium Download PDF

Info

Publication number
CN109787880B
CN109787880B CN201811512413.2A CN201811512413A CN109787880B CN 109787880 B CN109787880 B CN 109787880B CN 201811512413 A CN201811512413 A CN 201811512413A CN 109787880 B CN109787880 B CN 109787880B
Authority
CN
China
Prior art keywords
voice
terminal
interface
voice information
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811512413.2A
Other languages
Chinese (zh)
Other versions
CN109787880A (en
Inventor
黄燕霞
杨晟
胡燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811512413.2A priority Critical patent/CN109787880B/en
Publication of CN109787880A publication Critical patent/CN109787880A/en
Application granted granted Critical
Publication of CN109787880B publication Critical patent/CN109787880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a voice transmission method and device of a shortcut interface, computer equipment and a storage medium. The method comprises the following steps: the method comprises the steps that a second terminal receives a message sent by a first terminal, and the message sent by the first terminal is displayed on a current interface of the second terminal in a shortcut interface display mode; receiving a voice input instruction triggered by a user on the shortcut interface, executing voice information input operation in the shortcut interface, and displaying a voice information editing frame so as to preprocess the input voice information; and receiving a voice sending instruction triggered on the shortcut interface by a user, and sending the preprocessed voice information to the first terminal. The invention ensures that the voice information content is clear and distinguishable by preprocessing the voice information, thereby ensuring that a receiver of the voice information can accurately acquire the content of the voice information.

Description

Voice transmission method and device of shortcut interface, computer equipment and storage medium
Technical Field
The present invention relates to the field of voice transmission technologies, and in particular, to a method and an apparatus for transmitting a voice over a shortcut interface, a computer device, and a storage medium.
Background
With the development of internet communication technology, people can communicate with others by using mobile terminals to realize the way of transmitting text information, voice information, video information and the like through networks.
In the prior art, when a mobile terminal receives notification information sent by another person, if the mobile terminal is in a standby state or a current interface is not a session interface corresponding to the information, the information is usually displayed in a shortcut interface manner.
Disclosure of Invention
The invention aims to solve at least one of the technical defects, in particular to the technical defect that whether the recorded voice information content is clear and recognizable cannot be ensured.
In order to solve the technical problem, the invention provides a voice transmission method of a quick interface. The method comprises the following steps:
the method comprises the steps that a second terminal receives a message sent by a first terminal, and the message sent by the first terminal is displayed on a current interface of the second terminal in a shortcut interface display mode;
receiving a voice input instruction triggered on the shortcut interface, executing voice information input operation in the shortcut interface, and displaying a voice information editing frame so as to preprocess the input voice information;
and receiving a voice sending instruction triggered on the shortcut interface, and sending the preprocessed voice information to the first terminal.
Optionally, the step of the second terminal receiving the message sent by the first terminal and displaying the message sent by the first terminal on a current interface of the second terminal in a shortcut interface display manner includes:
when the second terminal receives the message sent by the first terminal, judging whether the current interface of the second terminal is in a session interface corresponding to the message sent by the first terminal;
and when the judgment result shows that the current interface of the second terminal is not in the session interface corresponding to the message sent by the first terminal, displaying the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display mode.
Optionally, a voice entry control used for triggering the voice entry instruction is arranged on the shortcut interface;
the receiving is in voice input instruction that triggers on the swift interface execute voice information input operation in the swift interface to show the voice information edit box, in order to carry out the step of preliminary treatment to the voice information of type, can also include:
monitoring whether the voice input control is pressed or not;
and when it is monitored that the voice input control is pressed, executing voice information input operation, and simultaneously displaying the voice information editing frame so as to preprocess the input voice information.
Optionally, the voice information edit box has at least one of the following controls: listening for the control, modifying the control and deleting the control.
Optionally, when the speech information edit box has an audition control, the step of receiving a speech input instruction triggered on the shortcut interface, executing a speech information input operation in the shortcut interface, and displaying the speech information edit box to preprocess the input speech information includes:
detecting whether the voice input control is dragged to a first trigger position corresponding to the audition control;
and when the detection result is that the voice input control is dragged to the first trigger position corresponding to the audition control, the input voice information is played in a voice mode.
Optionally, when the voice information edit box has a modification control, the step of receiving a voice input instruction triggered on the shortcut interface, executing a voice information input operation in the shortcut interface, and displaying the voice information edit box to preprocess the input voice information includes:
detecting whether the voice input control is dragged to a second trigger position corresponding to the modification control;
and when the detection result is that the voice input control is dragged to a second trigger position corresponding to the modification control, displaying a volume bar of the voice information, wherein a sliding clip control is arranged in the volume bar and is used for selecting the voice content of the part, which needs to be modified, in the volume bar.
Optionally, when the voice information edit box has a delete control, the step of receiving a voice input instruction triggered on the shortcut interface, executing a voice information input operation in the shortcut interface, and displaying the voice information edit box to preprocess the input voice information includes:
detecting whether the voice input control is dragged to a third trigger position corresponding to the deleting control;
and when the detection result is that the voice input control is dragged to a third trigger position corresponding to the deletion control, deleting the input voice information and hiding the voice edit box so as to restore the shortcut interface to the initial state.
In order to solve the above technical problem, the present invention further provides a voice transmission device of a shortcut interface, where the voice transmission device of the shortcut interface includes:
the display module is used for the second terminal to receive the message sent by the first terminal and display the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display mode;
the processing module is used for receiving a voice input instruction triggered on the shortcut interface, executing voice information input operation in the shortcut interface and displaying a voice information editing frame so as to preprocess the input voice information;
and the execution module is used for receiving a voice sending instruction triggered on the shortcut interface and sending the preprocessed voice information to the first terminal.
Optionally, the voice transmission device of the shortcut interface may further include:
the first judging submodule is used for judging whether the current interface of the second terminal is in a session interface corresponding to the message sent by the first terminal or not when the second terminal receives the message sent by the first terminal;
and the first execution submodule is used for displaying the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display mode.
Optionally, the shortcut interface is provided with a voice entry control for triggering the voice entry instruction; the voice transmission device of the shortcut interface may further include:
the first monitoring sub-module is used for monitoring whether the voice input control is pressed or not;
and the second execution sub-module is used for executing voice information entry operation when the voice entry control is monitored to be pressed, and displaying the voice information editing frame so as to preprocess the entered voice information.
Optionally, when the speech information editing frame has an audition control, the speech transmission device of the shortcut interface may further include:
the first detection sub-module is used for detecting whether the voice input control is dragged to a first trigger position corresponding to the audition control;
and the third execution sub-module is used for playing the recorded voice information in a voice mode when the detection result shows that the voice recording control is dragged to the first trigger position corresponding to the audition control.
Optionally, when the voice information edit box has a modification control, the voice transmission apparatus of the shortcut interface may further include:
the second detection sub-module is used for detecting whether the voice input control is dragged to a second trigger position corresponding to the modification control;
and the fourth execution sub-module is used for displaying a volume bar of the voice information when the detection result is that the voice input control is dragged to the second trigger position corresponding to the modification control, and the volume bar is provided with a sliding clip control and used for selecting the voice content of the part, needing to be modified, in the volume bar.
Optionally, when the voice information edit box has a delete control, the voice transmission device of the shortcut interface may further include:
the third detection sub-module is used for detecting whether the voice input control is dragged to a third trigger position corresponding to the deletion control;
and the fifth execution sub-module is used for deleting the input voice information and hiding the voice editing frame when the detection result is that the voice input control is dragged to a third trigger position corresponding to the deletion control, so that the shortcut interface is restored to the initial state.
In order to solve the technical problem, the present invention further provides a computer device, which includes a memory and a processor, where the memory stores computer-readable instructions, and the computer-readable instructions, when executed by the processor, cause the processor to execute the steps of the voice transmission method of the shortcut interface.
In order to solve the above technical problem, the present invention further provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the voice transmission method of the shortcut interface.
The invention has the beneficial effects that:
according to the method, when a second terminal receives a message sent by a first terminal, the message sent by the first terminal is displayed on a current interface of the second terminal in a shortcut interface display mode; the user can carry out voice information on the shortcut interface and carry out preprocessing on the input voice information, then the voice information which is preprocessed is sent to the first terminal, so that the voice transmission operation is directly carried out on the shortcut interface to reply the message sent by the first terminal, the user can reply the message conveniently and quickly, and the sending process of the voice information is simplified. Moreover, the recorded voice information can be preprocessed before the voice information is sent, so that the content of the voice information is clear and recognizable, and a receiver of the voice information can accurately acquire the content of the voice information.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a schematic basic flow chart of a voice transmission method of a shortcut interface according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a terminal interface when a message is displayed in a shortcut interface form in the voice transmission method of a shortcut interface according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating another method of a voice transmission method of a shortcut interface according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a method for inputting voice information and preprocessing the input voice information in the voice transmission method of the shortcut interface according to the embodiment of the present invention;
fig. 5 is a schematic interface diagram illustrating a pop-up display of a voice edit box on a shortcut interface in the voice transmission method of the shortcut interface according to the embodiment of the present invention;
fig. 6 is a schematic flowchart of a method for performing a voice audition process in the voice transmission method of the shortcut interface according to the embodiment of the present invention;
fig. 7 is a schematic interface diagram when performing a voice audition process in the voice transmission method for a shortcut interface according to the embodiment of the present invention;
fig. 8 is a schematic flowchart of a method for performing a voice modification process in the voice transmission method of the shortcut interface according to the embodiment of the present invention;
fig. 9 is a schematic interface diagram when performing a voice modification process in the voice transmission method of a shortcut interface according to an embodiment of the present invention;
fig. 10 is a schematic view of another interface when performing a voice modification process in the voice transmission method of the shortcut interface according to the embodiment of the present invention;
fig. 11 is a schematic flowchart of a method for performing voice deletion processing in the voice transmission method of the shortcut interface according to the embodiment of the present invention;
fig. 12 is a schematic interface diagram when performing a voice deletion process in the voice transmission method for a shortcut interface according to the embodiment of the present invention;
fig. 13 is a schematic interface diagram illustrating voice preprocessing performed in the voice transmission method of the shortcut interface according to the embodiment of the present invention;
fig. 14 is a block diagram of a basic structure of a voice transmission apparatus of a shortcut interface according to an embodiment of the present invention;
fig. 15 is a block diagram of a basic structure of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention.
In some flows described in the specification and claims of this specification and above-described figures, a number of operations are included which occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel, and the order of the operations is merely to distinguish between various operations, which by themselves do not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present invention.
Examples
As will be appreciated by those skilled in the art, "terminal" as used herein includes both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that include receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. The "terminal" and "terminal Device" used herein may also be a communication terminal, a Internet access terminal, and a music/video playing terminal, and may be, for example, a PDA, an MID (Mobile Internet Device), and/or a Mobile phone with music/video playing function, and may also be a smart television, a set-top box, and other devices.
The user terminal mentioned in this embodiment is the above terminal.
Referring to fig. 1, fig. 1 is a basic flow chart illustrating a voice transmission method of a shortcut interface according to an embodiment of the present invention.
As shown in fig. 1, the voice transmission method of the shortcut interface includes the following steps:
s100: and the second terminal receives the message sent by the first terminal and displays the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display mode.
Referring to fig. 2, fig. 2 is a schematic diagram of a terminal interface when a message is displayed in a shortcut interface form in the voice transmission method of a shortcut interface according to an embodiment of the present invention. In this embodiment, the first terminal is a terminal used by a first user that sends a message, and the second terminal is a terminal used by a second user that receives the message. When the second terminal receives the message sent by the first terminal, whether the message sent by the first terminal is displayed on the current interface of the second terminal in a shortcut interface mode is determined by judging whether the current interface of the second terminal is in a session interface corresponding to the message sent by the first terminal. When the current interface of the second terminal is in a session interface corresponding to the information sent by the first terminal, directly displaying the information on the session interface; and when the current interface of the second terminal is not in the session interface corresponding to the information sent by the first terminal, displaying the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display mode.
In some embodiments, please refer to fig. 3, and fig. 3 is a flowchart illustrating another method of a voice transmission method of a shortcut interface according to an embodiment of the present invention.
As shown in fig. 3, the step S100 includes a step S110 and a step S120. Wherein, S110: when the second terminal receives the message sent by the first terminal, judging whether the current interface of the second terminal is in a session interface corresponding to the message sent by the first terminal; and S120, when the judgment result shows that the current interface of the second terminal is not in the session interface corresponding to the message sent by the first terminal, displaying the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display mode.
In this embodiment, when determining whether the current interface of the second terminal is in the session interface corresponding to the message sent by the first terminal, the determination may be made by detecting whether a screen of the second terminal is in a screen lock state or detecting whether an application program corresponding to the message received by the second terminal is in a background running state. When the second terminal is in a screen locking state or an application program corresponding to a message received by the second terminal is in a background running state, it is indicated that the second terminal is not in a session interface corresponding to the message sent by the first terminal, and at this time, the message sent by the first terminal is displayed on a current interface of the second terminal in a shortcut interface display mode.
S200: and receiving a voice input instruction triggered on the shortcut interface, executing voice information input operation in the shortcut interface, and displaying a voice information editing frame so as to preprocess the input voice information.
When the second user receives the message sent by the first user through the second terminal and the second terminal is not in the session interface corresponding to the sent message, the second terminal displays the message on the current interface of the second terminal in a shortcut interface mode. Besides the specific content of the received message is displayed in the shortcut interface, a voice input control is further arranged, and the second user can press the voice input control in the shortcut interface to trigger a voice input instruction of the second terminal. And when the second terminal detects that the voice input instruction is triggered, starting a recording function of the second terminal so as to enable the second user to execute voice information input operation. And when the second user presses the voice input control on the shortcut interface, popping up and displaying a voice information editing frame in a floating window mode on the shortcut interface. After the second user completes the voice information input operation, the second user can preprocess the input voice information by dragging the pressed voice input control to the corresponding position in the voice information editing frame.
In some embodiments, please refer to fig. 4, where fig. 4 is a schematic flow diagram illustrating a method for inputting voice information and preprocessing the input voice information in the voice transmission method of a quick interface according to the embodiment of the present invention.
As shown in fig. 4, the step S200 further includes a step S201 and a step S202. Wherein, S201: monitoring whether the voice input control is pressed or not; s202: and when it is monitored that the voice input control is pressed, executing voice information input operation, and simultaneously displaying the voice information editing frame so as to preprocess the input voice information.
In this embodiment, whether the voice entry instruction is triggered is determined by monitoring whether a voice entry control provided in the shortcut interface is pressed. When the voice input control is pressed for a long time, the voice input instruction is determined to be triggered, at the moment, the recording function of the second terminal is started, the second user can face the second terminal to execute voice information input operation, and meanwhile, a voice information editing frame is popped out and displayed in the quick interface so that the voice information input by the second user can be preprocessed.
S300: and receiving a voice sending instruction triggered on the shortcut interface, and sending the preprocessed voice information to the first terminal.
The second user accomplishes voice information and types the operation and right voice information that types checks or revises or deletes the preliminary treatment such as, confirms voice information that needs to send is accurate and clearly can discern after, will voice type the controlling part drags back initial position and unclamp voice type the controlling part, works as the second terminal monitors voice type the controlling part is dragged back initial position and when unclamping, triggers voice sending instruction, will pass through the preliminary treatment voice information send to first terminal to realize carrying out voice preprocessing and voice transmission function on swift interface.
According to the voice transmission method of the shortcut interface in the embodiment, when a second terminal receives a message sent by a first terminal, the message sent by the first terminal is displayed on a current interface of the second terminal in a shortcut interface display mode; the user can carry out voice information on the swift interface and carry out the preliminary treatment to the voice information who types, then will pass through the preliminary treatment voice information send to first terminal, in order to realize directly carrying out the speech transmission on the swift interface and replying the message that first terminal sent for the user can convenient and fast reply the message, simplifies voice information's transmitting process. Moreover, the recorded voice information can be preprocessed before the voice information is sent, so that the quality of voice information recording is improved, the content of the voice information is clear and recognizable, and a receiver of the voice information can accurately acquire the content of the voice information.
Referring to fig. 5, fig. 5 is a schematic interface diagram illustrating a pop-up display of a voice edit box on a shortcut interface in a voice transmission method of the shortcut interface according to an embodiment of the present invention. In some embodiments, the pre-processing comprises at least one of: audition processing, modification processing and deletion processing. Correspondingly, the voice editing frame 500 is provided with a listening test control, a modification control and a deletion control. Specifically, in this embodiment, each control has an icon representing a control function and a corresponding trigger position, so as to instruct the user to perform a voice information preprocessing operation in the voice edit box. For example, the trial listening icon 511 corresponds to having a first trigger position 512; modified icon 521 corresponds to having second trigger position 522; the delete icon 531 corresponds to the third trigger position 532. After the second user presses the voice input control to complete the voice input operation, the second user can drag the pressed voice input control to the trigger position corresponding to the control in the voice editing frame according to the requirement of the second user, and then corresponding voice information preprocessing such as voice audition, voice modification or voice deletion can be carried out on the input voice information.
In the present embodiment, please refer to fig. 6 and fig. 7 together, and fig. 6 is a schematic flow chart of a method for performing a voice audition process in the voice transmission method of the shortcut interface according to the embodiment of the present invention; fig. 7 is a schematic interface diagram when performing a voice listening trial process in the voice transmission method of the shortcut interface according to the embodiment of the present invention.
As shown in fig. 6 and 7, when the audio edit box is provided with an audio trial control, the step S200 further includes a step S211 and a step S212. Wherein, S211: detecting whether the voice input control is dragged to a first trigger position corresponding to the audition control; s212: and when the detection result is that the voice input control is dragged to the first trigger position corresponding to the audition control, the input voice information is played in a voice mode.
In this embodiment, after the second user presses the voice entry control to complete the voice entry operation, if the second user wants to listen to the entered voice information on trial, the pressed voice entry control can be dragged to the first trigger position corresponding to the listen-on trial control in the voice editing frame and the voice entry control is released, at this time, the second terminal can detect the voice entry control at the first trigger position corresponding to the listen-on trial control, and then trigger a voice playing instruction and start a voice listen-on trial function, so as to perform voice playing processing on the voice information entered by the second user.
In the present embodiment, please refer to fig. 8, and fig. 8 is a flowchart illustrating a method for performing a voice modification process in a voice transmission method of a shortcut interface according to an embodiment of the present invention.
As shown in fig. 8, when a modification control is set in the voice edit box, the step S200 further includes a step S221 and a step S222. Wherein, S221: detecting whether the voice input control is dragged to a second trigger position corresponding to the modification control; s222: and when the detection result is that the voice input control is dragged to a second trigger position corresponding to the modification control, displaying a volume bar of the voice information, wherein a sliding clip control is arranged in the volume bar and is used for selecting the voice content of the part, which needs to be modified, in the volume bar.
In this embodiment, after the second user presses the voice entry control to complete the voice entry operation, if the second user wants to modify the entered voice information, the pressed voice entry control may be dragged to a second trigger position corresponding to the modification control in the voice edit box and the voice entry control is released, at this time, the second terminal may detect the voice entry control at the second trigger position corresponding to the audition control, and then trigger a voice modification instruction and display a volume bar of the voice information, where a slide clip control is provided in the volume bar, so as to select the voice content of a portion of the volume bar that needs to be modified. The second user can modify the voice information input by the second user by sliding the sliding clip control on the volume bar.
Referring to fig. 9, fig. 9 is a schematic interface diagram illustrating a voice modification process performed in the voice transmission method of a shortcut interface according to an embodiment of the present invention. For example, when the voice information entered by the user is "i want to shift in work at night today and do not go back to eat", if a pause abnormality occurs in the voice information, so that the voice becomes "i want to shift in work at night today and do not go back to eat", "- - - -" indicates a place where the voice pause is abnormal, the user can respectively slide the start and end of the slide clipping control on the volume bar to the start and end positions corresponding to "- - - -" in the volume bar, and click the "confirm" button, so as to clip the voice content corresponding to the pause abnormality position in the volume bar, so as to modify the entered voice information, thereby enabling the voice to be coherent and improving the voice quality.
Referring to fig. 10, fig. 10 is a schematic view of another interface for performing a voice modification process in the voice transmission method of the shortcut interface according to the embodiment of the present invention. For another example, when the voice information input by the user is "i want to shift over at night today and do not go back to eat", if the voice information is mixed with other sounds, so that the voice individual word sound is unclear and becomes "i want to shift over at night today and do not go back to □ □, and" □ □ "represents a place where the voice individual word sound is unclear, the user can delete the voice content corresponding to the unclear sound position in the volume bar and perform a voice supplementary recording operation on the voice information by sliding the start and end of the sliding clipping control on the volume bar to the start and end positions corresponding to" □ □ "in the volume bar and clicking the" ok "button, so as to modify the input voice information, so that the voice is clear and the voice quality is improved. In some specific embodiments, the specific operations of deleting and complementing may be: and performing a cutting and deleting operation on the voice unclear part 'no-return □ □ meal', and then dragging the voice input button back to the position where the voice is originally recorded to continue the voice recording of 'no-return meal'.
In some embodiments, please refer to fig. 11, where fig. 11 is a schematic flowchart illustrating a method for performing voice deletion processing in the voice transmission method of a shortcut interface according to an embodiment of the present invention.
As shown in fig. 11, when a deletion control is set in the voice edit box, the step S200 further includes a step S231 and a step S232. Wherein, S231: detecting whether the voice input control is dragged to a third trigger position corresponding to the deletion control; s232: and when the detection result is that the voice input control is dragged to a third trigger position corresponding to the deletion control, deleting the input voice information and hiding the voice edit box so as to restore the shortcut interface to the initial state.
In this embodiment, after the second user presses the voice entry control to complete the voice entry operation, if the second user wants to delete the entered voice information, the pressed voice entry control may be dragged to the third trigger position corresponding to the deletion control in the voice edit box and the voice entry control is released, the second terminal may detect the voice entry control at the third trigger position corresponding to the deletion control, and then trigger a voice deletion instruction, at this time, the second terminal deletes the entered voice information and hides the voice edit box, so that the shortcut interface is restored to the initial state, and the voice deletion processing is performed on the voice information entered by the second user.
Referring to fig. 12, fig. 12 is a schematic interface diagram illustrating a voice deletion process performed in the voice transmission method of the shortcut interface according to the embodiment of the present invention. For example, when the voice information input by the user is "i want to shift in work at night today and do not go back to eat a meal", if the voice information is mixed with other sounds, so that the word sound in the voice is unclear, the method changes into "i need to add □ on □ □ at present and do not go back to □ to eat □", and because the unclear part of the voice is more, the additional recording operation is difficult to perform, at this time, the voice can be deleted. Specifically, the pressed voice input control is dragged to a third trigger position corresponding to the deletion control in the voice editing frame, and the voice input control is released, so that the input voice information can be deleted and the voice editing frame is hidden, and the shortcut interface is restored to the initial state. At this time, the user may press the voice entry control again to re-enter the voice.
According to the embodiment, the pre-processing operations such as audition, modification and deletion can be carried out on the recorded voice information on the quick interface, so that the recording quality of the voice information is improved, the content of the voice information is clear and distinguishable, and a receiver of the voice information can accurately acquire the content of the voice information.
Referring to fig. 13, fig. 13 is a schematic interface diagram illustrating voice preprocessing performed in a voice transmission method of a shortcut interface according to an embodiment of the present invention.
As shown in fig. 13, in some embodiments, when the user drags the held voice entry control to a position close to the trigger position corresponding to one of the icons in the voice editing box, the remaining icons in the voice editing box may also be set to be in a hidden state or changed to be in an unselected state, so as to avoid the user from generating a misoperation when processing the entered voice information.
In order to solve the above technical problem, an embodiment of the present invention further provides a voice transmission device of a shortcut interface. Referring to fig. 14, fig. 14 is a block diagram of a basic structure of a voice transmission device of a shortcut interface according to an embodiment of the present invention.
As shown in fig. 14, a voice transmission device of a shortcut interface includes: the device comprises a display module, a processing module and an execution module. The display module is used for the second terminal to receive the message sent by the first terminal and display the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display mode; the processing module is used for receiving a voice input instruction triggered on the shortcut interface, executing voice information input operation in the shortcut interface and displaying a voice information editing frame so as to preprocess the input voice information; the execution module is used for receiving a voice sending instruction triggered on the shortcut interface and sending the preprocessed voice information to the first terminal.
The voice transmission device of the shortcut interface in the embodiment displays the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display mode when the second terminal receives the message sent by the first terminal; the user can carry out voice information on the shortcut interface and carry out preprocessing on the input voice information, then the voice information which is preprocessed is sent to the first terminal, so that the voice transmission operation is directly carried out on the shortcut interface to reply the message sent by the first terminal, the user can reply the message conveniently and quickly, and the sending process of the voice information is simplified. Moreover, the recorded voice information can be preprocessed before the voice information is sent, so that the content of the voice information is clear and distinguishable, and a receiver of the voice information can accurately acquire the content of the voice information.
In some embodiments, the voice transmission device of the shortcut interface may further include: a first judgment submodule and a first execution submodule. The first judging submodule is used for judging whether the current interface of the second terminal is in a session interface corresponding to the message sent by the first terminal when the second terminal receives the message sent by the first terminal; the first execution submodule is used for displaying the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display mode.
In some embodiments, the shortcut interface has a voice entry control thereon for triggering the voice entry instruction; the voice transmission device of the shortcut interface may further include: a first monitoring submodule and a second execution submodule. The first monitoring sub-module is used for monitoring whether the voice input control is pressed or not; and the second execution sub-module is used for executing voice information entry operation when the voice entry control is monitored to be pressed, and displaying the voice information editing frame to preprocess the entered voice information.
In some embodiments, when the voice information editing frame has an audition control, the voice transmission device of the shortcut interface may further include: a first detection submodule and a third execution submodule. The first detection sub-module is used for detecting whether the voice input control is dragged to a first trigger position corresponding to the audition control; and the third execution sub-module is used for playing the recorded voice information in a voice mode when the detection result is that the voice recording control is dragged to the first trigger position corresponding to the audition control.
In some embodiments, when the voice information edit box has a modification control therein, the voice transmission device of the shortcut interface may further include: a second detection submodule and a fourth execution submodule. The second detection submodule is used for detecting whether the voice input control is dragged to a second trigger position corresponding to the modification control; and the fourth execution sub-module is used for displaying a volume bar of the voice information when the detection result is that the voice input control is dragged to a second trigger position corresponding to the modification control, and the volume bar is provided with a sliding clip control and used for selecting the voice content of the part, needing to be modified, in the volume bar.
In some embodiments, when the voice information edit box has a delete control therein, the voice transmission device of the shortcut interface may further include: a third detection submodule and a fifth execution submodule. The third detection submodule is used for detecting whether the voice input control is dragged to a third trigger position corresponding to the deletion control; and the fifth execution sub-module is used for deleting the input voice information and hiding the voice editing frame when the detection result is that the voice input control is dragged to a third trigger position corresponding to the deletion control, so that the quick interface is restored to the initial state.
In order to solve the technical problem, an embodiment of the present invention further provides a computer device. Referring to fig. 15, fig. 15 is a block diagram of a basic structure of a computer device according to an embodiment of the present invention.
As shown in fig. 15, the internal structure of the computer device is schematically illustrated. As shown in fig. 15, the computer apparatus includes a processor, a nonvolatile storage medium, a memory, and a network interface connected through a system bus. The non-volatile storage medium of the computer device stores an operating system, a database and computer readable instructions, the database can store control information sequences, and when the computer readable instructions are executed by the processor, the processor can realize a voice transmission method of a shortcut interface. The processor of the computer device is used for providing calculation and control capability and supporting the operation of the whole computer device. The memory of the computer device may have stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform a method for voice transmission of a shortcut interface. The network interface of the computer device is used for connecting and communicating with the terminal. Those skilled in the art will appreciate that the architecture shown in fig. 14 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In the present embodiment, the processor is configured to execute specific functions of the display module 10, the processing module 20 and the execution module 30 in fig. 14, and the memory stores program codes and various types of data required for executing the modules. The network interface is used for data transmission between user terminals or servers. The memory in this embodiment stores program codes and data required for executing all the sub-modules in the voice transmission device of the shortcut interface, and the server can call the program codes and data of the server to execute the functions of all the sub-modules.
The computer device in the above embodiment displays the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display manner when the second terminal receives the message sent by the first terminal; the user can carry out voice information on the swift interface and carry out the preliminary treatment to the voice information who types, then will pass through the preliminary treatment voice information send to first terminal, in order to realize directly carry out the speech transmission operation on the swift interface and reply the message that first terminal sent for the user can convenient and fast reply message, simplifies voice information's transmitting process. Moreover, the recorded voice information can be preprocessed before the voice information is sent, so that the content of the voice information is clear and recognizable, and a receiver of the voice information can accurately acquire the content of the voice information.
The present invention also provides a storage medium storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to perform the steps of the voice transmission method of the shortcut interface according to any of the embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A voice transmission method of a shortcut interface is characterized by comprising the following steps:
a second terminal receives a message sent by a first terminal, and displays the message sent by the first terminal on a current interface of the second terminal in a shortcut interface display mode;
receiving a voice input instruction triggered on the shortcut interface, executing voice information input operation in the shortcut interface, and displaying a voice information editing frame so as to preprocess the input voice information;
receiving a voice sending instruction triggered on the shortcut interface, and sending the preprocessed voice information to the first terminal;
the voice information editing frame is provided with at least one control as follows: audition controls, modification controls, and deletion controls;
when the voice information edit box is provided with an audition control, receiving a voice input instruction triggered on the shortcut interface, executing voice information input operation in the shortcut interface, and displaying the voice information edit box so as to preprocess the input voice information, wherein the steps comprise:
detecting whether a voice input control is dragged to a first trigger position corresponding to the audition control;
and when the detection result is that the voice recording control is dragged to a first trigger position corresponding to the audition control, the recorded voice information is played in a voice mode.
2. The voice transmission method of a shortcut interface according to claim 1, wherein the step of the second terminal receiving the message sent by the first terminal and displaying the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display manner comprises:
when the second terminal receives the message sent by the first terminal, judging whether the current interface of the second terminal is in a session interface corresponding to the message sent by the first terminal;
and when the judgment result shows that the current interface of the second terminal is not in the session interface corresponding to the message sent by the first terminal, displaying the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display mode.
3. The voice transmission method of a shortcut interface according to claim 1, wherein the shortcut interface has a voice entry control for triggering the voice entry command;
the receiving is in voice input instruction that triggers on the swift interface execute voice information input operation in the swift interface to show the voice information edit box, in order to carry out the step of preliminary treatment to the voice information of type, can also include:
monitoring whether the voice input control is pressed or not;
and when it is monitored that the voice input control is pressed, executing voice information input operation, and simultaneously displaying the voice information editing frame so as to preprocess the input voice information.
4. The voice transmission method of a shortcut interface according to claim 1, wherein when the voice message edit box has a modification control, the step of receiving a voice input instruction triggered on the shortcut interface, executing a voice message input operation in the shortcut interface, and displaying the voice message edit box to preprocess the input voice message comprises:
detecting whether the voice input control is dragged to a second trigger position corresponding to the modification control;
and when the detection result is that the voice input control is dragged to a second trigger position corresponding to the modification control, displaying a volume bar of the voice information, wherein a sliding clipping control is arranged in the volume bar and is used for selecting the voice content of the part, which needs to be modified, in the volume bar.
5. The voice transmission method of a shortcut interface according to claim 1, wherein when the voice message edit box has a delete control, the step of receiving a voice input instruction triggered on the shortcut interface, executing a voice message input operation in the shortcut interface, and displaying the voice message edit box to preprocess the input voice message comprises:
detecting whether the voice input control is dragged to a third trigger position corresponding to the deletion control;
and when the detection result is that the voice input control is dragged to a third trigger position corresponding to the deleting control, deleting the input voice information and hiding the voice information editing frame so as to restore the shortcut interface to the initial state.
6. A voice transmission device for a shortcut interface, comprising:
the display module is used for the second terminal to receive the message sent by the first terminal and display the message sent by the first terminal on the current interface of the second terminal in a shortcut interface display mode;
the processing module is used for receiving a voice input instruction triggered on the shortcut interface, executing voice information input operation in the shortcut interface and displaying a voice information editing frame so as to preprocess the input voice information;
the execution module is used for receiving a voice sending instruction triggered on the shortcut interface and sending the preprocessed voice information to the first terminal;
the voice information editing frame is provided with at least one control as follows: audition controls, modification controls, and deletion controls;
when the speech information editing frame has an audition control, the processing module is specifically configured to:
detecting whether the voice recording control is dragged to a first trigger position corresponding to the audition control;
and when the detection result is that the voice input control is dragged to the first trigger position corresponding to the audition control, the input voice information is played in a voice mode.
7. An electronic device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the method of voice transmission of a shortcut interface of any one of claims 1 to 5.
8. A storage medium storing computer-readable instructions which, when executed by one or more processors, cause the one or more processors to perform the method for voice transmission of a shortcut interface of any one of claims 1 to 5.
CN201811512413.2A 2018-12-11 2018-12-11 Voice transmission method and device of shortcut interface, computer equipment and storage medium Active CN109787880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811512413.2A CN109787880B (en) 2018-12-11 2018-12-11 Voice transmission method and device of shortcut interface, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811512413.2A CN109787880B (en) 2018-12-11 2018-12-11 Voice transmission method and device of shortcut interface, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109787880A CN109787880A (en) 2019-05-21
CN109787880B true CN109787880B (en) 2022-09-20

Family

ID=66496706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811512413.2A Active CN109787880B (en) 2018-12-11 2018-12-11 Voice transmission method and device of shortcut interface, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109787880B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110943908A (en) * 2019-11-05 2020-03-31 上海盛付通电子支付服务有限公司 Voice message sending method, electronic device and medium
CN113485670A (en) * 2021-07-23 2021-10-08 维沃移动通信(杭州)有限公司 Voice information processing method and device and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005116992A1 (en) * 2004-05-27 2005-12-08 Koninklijke Philips Electronics N.V. Method of and system for modifying messages
CN103197911A (en) * 2013-04-12 2013-07-10 广东国笔科技股份有限公司 Method, system and device for providing speech input
CN105763716A (en) * 2014-12-19 2016-07-13 中兴通讯股份有限公司 Short message processing method and short message processing terminal
CN105797380B (en) * 2016-03-14 2020-06-19 广州趣丸网络科技有限公司 Method and system for realizing information interaction among group members in mobile terminal game
CN107305459A (en) * 2016-04-25 2017-10-31 阿里巴巴集团控股有限公司 The sending method and device of voice and Multimedia Message
CN106027785A (en) * 2016-05-26 2016-10-12 深圳市金立通信设备有限公司 Voice processing method and terminal
CN106775647A (en) * 2016-11-24 2017-05-31 珠海格力电器股份有限公司 A kind of control method of mobile terminal, control device and mobile terminal
CN108847237A (en) * 2018-07-27 2018-11-20 重庆柚瓣家科技有限公司 continuous speech recognition method and system

Also Published As

Publication number Publication date
CN109787880A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
US20230088677A1 (en) Information sending method and apparatus and electronic device
CN109871165B (en) Expression response display method and device, terminal equipment and server
US9164664B2 (en) System and method for avatar cloning
CN106815041B (en) Method and device for loading application program entry information in task manager
US10901573B2 (en) Generating predictive action buttons within a graphical user interface
CN109787880B (en) Voice transmission method and device of shortcut interface, computer equipment and storage medium
HUE035270T2 (en) Method and device for communication channel selection
CN107948048B (en) Method and device for forwarding chat information and electronic equipment
US20220407900A1 (en) Targeted transcription
CN105635266A (en) Data reporting method and device and terminal
CN113094143A (en) Cross-application message sending method and device, electronic equipment and readable storage medium
CN112083853A (en) Account reporting method, account checking device, electronic equipment and storage medium
CN110505072B (en) Method, terminal device and computer readable medium for backing up chat records
CN107341013A (en) One kind start fault handling method, equipment and computer-readable recording medium
US8402043B2 (en) Analytics of historical conversations in relation to present communication
US8195718B2 (en) Methods and systems for aggregating content in an instant messaging system
CN113992615A (en) Display method and device of withdrawal message, electronic equipment and storage medium
CN107733781B (en) Instant messaging processing method, equipment and computer storage medium
CN111581664B (en) Information protection method and device
US20200313920A1 (en) Method for recording a multimedia call by common consent via an instant communication software program, and electronic devices and computer program products that implement the same
CN110109597B (en) Singing list switching method, device, system, terminal and storage medium
CN116192789A (en) Cloud document processing method and device and electronic equipment
CN114285657B (en) Firewall security policy change verification method and device
CN103905614A (en) Contact information processing method and device thereof
EP4351117A1 (en) Information display method and apparatus, and electronic device

Legal Events

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