CN113259228B - Voice message playing method - Google Patents

Voice message playing method Download PDF

Info

Publication number
CN113259228B
CN113259228B CN202110630564.3A CN202110630564A CN113259228B CN 113259228 B CN113259228 B CN 113259228B CN 202110630564 A CN202110630564 A CN 202110630564A CN 113259228 B CN113259228 B CN 113259228B
Authority
CN
China
Prior art keywords
voice message
playing
character
voice
language
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
CN202110630564.3A
Other languages
Chinese (zh)
Other versions
CN113259228A (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.)
Guangzhou Lango Electronic Science and Technology Co Ltd
Original Assignee
Guangzhou Lango Electronic Science and Technology 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 Guangzhou Lango Electronic Science and Technology Co Ltd filed Critical Guangzhou Lango Electronic Science and Technology Co Ltd
Priority to CN202110630564.3A priority Critical patent/CN113259228B/en
Publication of CN113259228A publication Critical patent/CN113259228A/en
Application granted granted Critical
Publication of CN113259228B publication Critical patent/CN113259228B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a voice message playing method, which comprises the following steps: when instant communication software is opened, detecting and judging whether an unread voice message exists in the instant communication software session, if so, executing a conversion step; if not, executing other operations; converting the unread voice message into a first character; judging whether the voice playing mode of the instant communication software is voice playing or not, if so, executing the voice playing step; if not, executing a character display step; acquiring a configuration language of instant messaging software, translating a first character into a second character according to the configuration language, and performing voice playing according to the second character; and acquiring the configuration language of the instant messaging software, translating the configuration language into a second character according to the first character and displaying the second character. The invention can meet the requirements of different users by flexibly controlling the voice message.

Description

Voice message playing method
Technical Field
The invention relates to voice playing control, in particular to a voice message playing method.
Background
With the rapid development of computers, instant messaging functions are also widely used, and people realize interaction requirements by using instant messaging software installed on mobile equipment. Particularly, the method brings greater convenience to the interaction requirements of people aiming at the application of voice messages in instant messaging software. However, when receiving a voice message, the requirements for playing the voice message are different for different people or different places where people are located, and therefore, flexible control over playing of the voice message in instant messaging software is a problem which needs to be solved urgently at present.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a voice message playing method which can solve the problems that the playing of voice messages in instant messaging software in the prior art is not flexible enough and the like.
The purpose of the invention is realized by adopting the following technical scheme:
the voice message playing method comprises the following steps:
a detection step: when instant communication software is opened, detecting and judging whether an unread voice message exists in the instant communication software session, if so, executing a conversion step; if not, executing other operations;
a conversion step: converting the unread voice message into a first character;
a judging step: judging whether the voice playing mode of the instant communication software is voice playing or not, if so, executing the voice playing step; if not, executing a character display step;
a voice playing step: acquiring a configuration language of instant messaging software, translating a first character into a second character according to the configuration language, and performing voice playing according to the second character;
and a character display step: and acquiring the configuration language of the instant messaging software, translating the configuration language into a second character according to the first character and displaying the second character.
Further, the voice playing step comprises judging whether the first character is matched with the configured language, and if so, directly playing the voice according to the first character; if not, the first character is translated into a second character according to the configuration language.
Further, the text display step further comprises: judging whether the first characters are matched with the configuration language or not, and if so, displaying the first characters; if not, the first character is translated into a second character according to the configuration language.
Further, the configuration language is any one of mandarin, cantonese, english, japanese, and french.
Further, the method also comprises the step of interrupting: in the process of playing the unread voice message, when a voice message playing interruption instruction is received, pausing the currently played voice message, marking the currently played voice message as a incompletely played voice message, and simultaneously recording the sending time of the incompletely played voice message.
Further, the method also comprises the following recovery steps: when the instant messaging software is opened, judging whether the voice message which is not completely played exists in the instant messaging software session, if so, executing the detection step and simultaneously recording the voice message which is not completely played as an unread voice message; if not, executing the detection step.
Further, in the recovering step, when there is an incomplete playing voice message and an unread voice message in the instant messaging software session, if the time interval between the sending time of the incomplete playing voice message and the sending time of the unread voice message with the earliest sending time is greater than the preset time interval, the incomplete playing voice message is not processed, and then the detecting step is executed.
Further, the voice playing mode of the instant messaging software in the judging step is obtained through a local configuration file.
Further, the configuration language is derived through a local configuration file or derived through a system language.
Further, the method also comprises the following playing steps: and when the touch area of the voice message is touched, matching corresponding characters from the system according to the voice message and playing according to the voice playing mode input by the user.
Compared with the prior art, the invention has the beneficial effects that:
the invention selects voice playing or text playing according to the configured voice playing mode for the unread voice message in the instant communication software, namely, the playing of the voice message is flexibly controlled, thereby being convenient for the user to use, and simultaneously avoiding the problem that unnecessary trouble is brought to the user when the voice message cannot be flexibly controlled in the prior art.
Drawings
FIG. 1 is a flow chart of a method for playing a voice message according to the present invention;
fig. 2 is a flowchart of voice message playing interruption in the voice message playing method provided by the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
The invention provides a voice message playing method which can meet different requirements of users by flexibly controlling the playing of voice messages in instant messaging software and avoid bringing unnecessary troubles to the users.
The present invention provides a preferred embodiment, a method for playing a voice message, as shown in fig. 1-2, comprising the following steps:
step S1, when the instant communication software is opened, detecting and judging whether an unread voice message exists in the instant communication software session, if yes, executing step S2; if not, entering a state of waiting for receiving the user instruction or executing other operations.
Step S2, converting the unread voice message into a first text.
Step S3, obtaining and judging whether the voice playing mode of the instant communication software is voice playing, if so, executing step S4; if not, step S5 is executed.
Generally, the voice playing mode includes voice playing and text playing. The voice playing refers to playing in a voice mode, and the text playing refers to converting voice into text and displaying. Because in some scenes, such as occasions of meetings, forums, offices and the like, which need to be kept silent, the display is carried out in a text playing mode, and the interference to the work of a user or the influence on other people are avoided.
For some old people or scenes where the characters are inconvenient to view, the characters are played in a voice playing mode, and great convenience is brought to users.
The voice playing mode is generally configured in advance through a local configuration file, for example, a user can configure the voice playing mode according to own use habits. In addition, when the language playing mode is configured, the language playing mode can be directly configured, and can also be configured according to the use time and the use scene of the mobile phone. For example, during the working hours of 9:00 to 18:00, the voice playing mode is set as a text playing mode, that is, in the time period, if the user opens the instant messaging software, the text playing mode is adopted for playing the unread voice messages; in other time periods, the unread voice message can be played in a voice playing mode. For another example, when the mobile phone is set to a conference mode, a flight mode, or other scenes, the voice playing mode is set to a text display mode, and when the mobile phone is in the conference mode or the flight mode, if the user opens the instant messaging software, the text playing mode is adopted for the unread voice messages. The configuration of the voice playing mode may be specifically set according to the use habit of the user, and is not limited to the specific mode given in this embodiment.
And step S4, acquiring the configuration language of the instant messaging software and playing the unread voice message according to the configuration language.
The configuration language refers to a language configured by a user in advance, and may include, for example, common languages: english, mandarin chinese, cantonese, japanese, french, and the like. The configuration language can be obtained through a local configuration file or can be obtained through recognition of a system language of the mobile device.
Specifically, step S4 further includes: firstly, determining the configuration language of the instant communication software, then translating the first character into a second character according to the configuration language, and finally carrying out voice playing on the second character.
The invention converts the unread voice message into the voice message of the corresponding language through the pre-configured language and plays the voice message to the user, thereby being convenient for the user. For example, when a user sending a voice message speaks cantonese, most people cannot understand cantonese, so that the voice message of cantonese can be translated into various voices such as mandarin, english and the like in the above manner, and further, barrier-free communication between users is facilitated.
More preferably, after the configuration language is obtained, whether the first character is matched with the configuration language is judged, and if yes, voice playing is directly performed according to the first character; if not, the first character is translated into a second character according to the configuration language.
Step S5, obtaining the configuration language of the instant communication software and converting the unread voice message into corresponding words and displaying the words according to the configuration language. Specifically, the first words are translated into second words according to the configuration language and displayed.
Similarly, the words are expressed differently depending on the language. Therefore, the user can recognize the second words by playing the unread voice message as the first words and then translating the first words into the second words to be displayed to the user. For example, the English voice message is converted into Chinese characters, or the Guangdong voice message is translated into Mandarin characters, so that the method is convenient for users.
After the configuration language is obtained, judging whether the first character is matched with the configuration language, if so, displaying the first character; if not, the first character is translated into a second character and then displayed.
More preferably, when the first word is matched with the configured language, the current voice message is considered to be recognized by the user and to be directly played or displayed, otherwise, the current voice message is translated and then played or displayed. More specifically, when the first character is matched with the configuration language, the matching can be implemented according to the writing method, the grammar, the expression mode of the word, and the like of the word.
Preferably, the method further includes step S6, during the playing of the unread voice message, when a voice message playing interruption instruction is received, pausing the currently playing voice message and marking the currently and normally playing voice message as a incompletely played voice message, and simultaneously recording the sending time of the incompletely played voice message.
Further, still include: step S7, when the instant communication software is opened again, judging whether the voice message which is not completely played exists in the instant communication software session, if yes, executing step S1 and marking the voice message which is not completely played as an unread voice message; if not, step S1 is executed.
More preferably, in step S7: when there is an incompletely played voice message and an unread voice message in the instant messaging software session, if the time interval between the sending time of the incompletely played voice message and the sending time of the unread voice message with the earliest sending time is greater than the preset time interval, the incompletely played voice message is not processed, and then step S1 is executed.
That is, when the sending time of the incompletely played voice message is earlier, the voice message does not need to be played again, and the user is prevented from knowing the specific content of the voice message again by knowing the content before and after the voice message. In this way, the user can be made quickly aware of the latest voice message.
Preferably, the present invention further comprises: and when the touch area of the voice message is touched, matching corresponding characters from the system according to the voice message and playing according to the voice playing mode input by the user.
For example, when a user wants to know the specific content of a certain voice message that has been played, the user can manually touch the touch area of the voice message and select a corresponding voice playing mode to play the voice message, so that the user can play a certain specific voice message conveniently. Wherein the touch area is typically a bubble area of a voice message. When the user clicks the bubble area, the user can select the voice playing mode by popping up the corresponding selection button.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (7)

1. The voice message playing method is characterized by comprising the following steps:
a detection step: when instant communication software is opened, detecting and judging whether an unread voice message exists in the instant communication software session, if so, executing a conversion step; if not, executing other operations;
a conversion step: converting the unread voice message into a first character;
a judging step: judging whether the voice playing mode of the instant communication software is voice playing or not, if so, executing the voice playing step; if not, executing a character display step;
a voice playing step: acquiring a configuration language of instant messaging software, translating a first character into a second character according to the configuration language, and performing voice playing according to the second character;
and a character display step: acquiring a configuration language of instant messaging software, translating the configuration language into a second character according to the first character and displaying the second character; further comprising the step of interrupting: in the process of playing the unread voice message, when a voice message playing interruption instruction is received, pausing the currently played voice message, marking the currently played voice message as a incompletely played voice message, and simultaneously recording the sending time of the incompletely played voice message; further comprising a recovery step: when the instant messaging software is opened, judging whether the voice message which is not completely played exists in the instant messaging software session, if so, executing the detection step and simultaneously recording the voice message which is not completely played as an unread voice message; if not, executing a detection step; in the recovery step, when the voice message which is not completely played exists in the instant communication software session and the unread voice message exists, if the time interval between the sending time of the incompletely played voice message and the sending time of the unread voice message with the earliest sending time is greater than the preset time interval, the incompletely played voice message is not processed, and then the detection step is executed; and in the judging step, the voice playing mode of the instant messaging software is obtained through a local configuration file.
2. The method of claim 1, wherein the step of playing the voice message includes determining whether the first text matches the configured language, and if so, playing the voice message directly according to the first text; if not, the first character is translated into a second character according to the configuration language.
3. The method of claim 1, wherein the text display step further comprises: judging whether the first characters are matched with the configuration language or not, and if so, displaying the first characters; if not, the first character is translated into a second character according to the configuration language.
4. The method of claim 1, wherein the configuration language is any one of mandarin, cantonese, english, japanese and french.
5. The method for playing voice message according to claim 1, wherein the voice playing mode of the instant messaging software in the determining step is obtained through a local configuration file.
6. The method of claim 1, wherein the configuration language is derived from a local configuration file or from a system language.
7. The voice message playing method according to claim 1, further comprising the step of playing: and when the touch area of the voice message is touched, matching corresponding characters from the system according to the voice message and playing according to the voice playing mode input by the user.
CN202110630564.3A 2021-06-07 2021-06-07 Voice message playing method Active CN113259228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110630564.3A CN113259228B (en) 2021-06-07 2021-06-07 Voice message playing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110630564.3A CN113259228B (en) 2021-06-07 2021-06-07 Voice message playing method

Publications (2)

Publication Number Publication Date
CN113259228A CN113259228A (en) 2021-08-13
CN113259228B true CN113259228B (en) 2022-01-11

Family

ID=77186788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110630564.3A Active CN113259228B (en) 2021-06-07 2021-06-07 Voice message playing method

Country Status (1)

Country Link
CN (1) CN113259228B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5632002A (en) * 1992-12-28 1997-05-20 Kabushiki Kaisha Toshiba Speech recognition interface system suitable for window systems and speech mail systems
CN1705026A (en) * 2004-06-03 2005-12-07 松下电器产业株式会社 Information playback method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965824A (en) * 2015-06-11 2015-10-07 胡开标 Real-time text and speech translation system
CN106550146A (en) * 2016-10-28 2017-03-29 努比亚技术有限公司 A kind of chat message dispensing device and method
CN107124352B (en) * 2017-05-26 2019-10-15 维沃移动通信有限公司 A kind of processing method and mobile terminal of voice messaging
CN107707454A (en) * 2017-09-19 2018-02-16 广东小天才科技有限公司 A kind of information processing method and device based on instant messaging or social networking application
CN108848019A (en) * 2018-05-04 2018-11-20 毛勇 A kind of instant communication method and system
CN109995947A (en) * 2019-04-11 2019-07-09 上海连尚网络科技有限公司 For the method for played voice message, electronic equipment and computer-readable medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5632002A (en) * 1992-12-28 1997-05-20 Kabushiki Kaisha Toshiba Speech recognition interface system suitable for window systems and speech mail systems
CN1705026A (en) * 2004-06-03 2005-12-07 松下电器产业株式会社 Information playback method

Also Published As

Publication number Publication date
CN113259228A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
KR101143034B1 (en) Centralized method and system for clarifying voice commands
CN107632980B (en) Voice translation method and device for voice translation
US7092496B1 (en) Method and apparatus for processing information signals based on content
KR102108500B1 (en) Supporting Method And System For communication Service, and Electronic Device supporting the same
US8294680B2 (en) System and method for touch-based text entry
CN108289244B (en) Video subtitle processing method, mobile terminal and computer readable storage medium
US20170085506A1 (en) System and method of bidirectional transcripts for voice/text messaging
US20090234655A1 (en) Mobile electronic device with active speech recognition
US20070038943A1 (en) Interactive text communication system
EP1486949A1 (en) Audio video conversion apparatus and method, and audio video conversion program
JP2000056792A (en) Method and device for recognizing user's utterance
CN110493123B (en) Instant messaging method, device, equipment and storage medium
US20060271365A1 (en) Methods and apparatus for processing information signals based on content
US8606560B2 (en) Automatic simultaneous interpertation system
CN110033769B (en) Recorded voice processing method, terminal and computer readable storage medium
JP2020003925A (en) Interaction system control method, interaction system and program
CN111898388A (en) Video subtitle translation editing method and device, electronic equipment and storage medium
CN107123418A (en) The processing method and mobile terminal of a kind of speech message
US20040176139A1 (en) Method and wireless communication device using voice recognition for entering text characters
JP2017167247A (en) False recognition correction method, false recognition correction device, and false recognition correction program
KR101968669B1 (en) Method for providing call service and computer program for executing the method
CN113259228B (en) Voice message playing method
WO2019174612A1 (en) Content input method and apparatus
JP6950708B2 (en) Information processing equipment, information processing methods, and information processing systems
WO2022213943A1 (en) Message sending method, message sending apparatus, electronic device, and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 238, room 406, 1 Yichuang street, Huangpu District, Guangzhou, Guangdong 510700

Applicant after: Guangzhou langguo Electronic Technology Co.,Ltd.

Address before: Room 238, room 406, 1 Yichuang street, Huangpu District, Guangzhou, Guangdong 510700

Applicant before: GUANGZHOU LANGO ELECTRONIC SCIENCE & TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant