CN113934397A - Broadcast control method in electronic equipment and electronic equipment - Google Patents

Broadcast control method in electronic equipment and electronic equipment Download PDF

Info

Publication number
CN113934397A
CN113934397A CN202111201929.7A CN202111201929A CN113934397A CN 113934397 A CN113934397 A CN 113934397A CN 202111201929 A CN202111201929 A CN 202111201929A CN 113934397 A CN113934397 A CN 113934397A
Authority
CN
China
Prior art keywords
application
voice message
electronic equipment
time interval
navigation
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.)
Pending
Application number
CN202111201929.7A
Other languages
Chinese (zh)
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.)
Shenzhen Enou Electronics Co ltd
Original Assignee
Shenzhen Enou Electronics 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 Shenzhen Enou Electronics Co ltd filed Critical Shenzhen Enou Electronics Co ltd
Priority to CN202111201929.7A priority Critical patent/CN113934397A/en
Publication of CN113934397A publication Critical patent/CN113934397A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a broadcast control method in electronic equipment and the electronic equipment, when the electronic equipment detects that a user plays a control operation aiming at a first voice message of a first application, whether the electronic equipment still runs a second application supporting an audio playing function is detected, if the electronic equipment runs the second application, a reference time interval is determined according to the first voice message, whether an audio playing requirement exists in the reference time interval in the second application is judged according to the running state of the second application, and if the requirement exists for playing reference audio information, the first voice message and the reference audio information are played and controlled. Therefore, the problem of mixing sound during voice playing caused by the fact that the first voice message and the reference audio information are played through the same loudspeaker at the same time can be avoided, and the use experience of a user is improved.

Description

Broadcast control method in electronic equipment and electronic equipment
Technical Field
The application belongs to the field of general data processing of the Internet industry, and particularly relates to a broadcast control method in electronic equipment and the electronic equipment.
Background
At present, a plurality of applications in the electronic device can support audio playing, and when voice information needs to be played in the plurality of applications simultaneously, because the voice information is played by the same speakers, the problem of audio mixing during voice message playing can occur, so that a user cannot clearly hear the specific voice information, and the user experience is not high.
Disclosure of Invention
The application provides a broadcast control method in electronic equipment and the electronic equipment, so that the problem that sound mixing occurs during voice playing due to the fact that the same loudspeaker plays voice information of multiple applications at the same time is avoided, and the use experience of a user is improved.
In a first aspect, an embodiment of the present application provides a broadcast control method in an electronic device, including:
when detecting the playing control operation of a user for a first voice message of a first application, detecting whether electronic equipment still runs a second application supporting an audio playing function;
if the electronic equipment is detected to run the second application, determining a reference time interval according to the first voice message, and judging whether the second application has an audio playing requirement in the reference time interval according to the running state of the second application;
and if the second application is judged to have the requirement of playing the reference audio information in the reference time interval, playing the first voice message and the reference audio information to avoid simultaneously playing the first voice message and the reference audio information through the same loudspeaker.
It can be seen that, in the embodiment of the present application, when detecting a play control operation of a first voice message of a first application by an electronic device, detecting whether the electronic device further runs a second application supporting an audio play function, if the electronic device runs the second application, determining a reference time interval according to the first voice message, and determining whether an audio play requirement exists in the reference time interval according to a running state of the second application, and if the audio play requirement exists, performing play control on the first voice message and the reference audio information. Therefore, the problem of sound mixing during voice playing caused by the fact that the first voice message and the reference audio information are played through the same loudspeaker at the same time can be avoided, and the use experience of a user is improved.
In a second aspect, an embodiment of the present application provides an apparatus for controlling broadcast in an electronic device, including a processing unit and a communication unit, where,
the processing unit is used for detecting whether the electronic equipment runs a second application supporting an audio playing function or not when the communication unit detects that a user plays a control operation for playing a first voice message of a first application; if the electronic equipment is detected to run the second application, determining a reference time interval according to the first voice message, and judging whether the second application has an audio playing requirement in the reference time interval according to the running state of the second application; and if the second application is judged to have the requirement of playing the reference audio information in the reference time interval, playing the first voice message and the reference audio information to avoid simultaneously playing the first voice message and the reference audio information through the same loudspeaker.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a communication interface; the memory and the communication interface are connected with the processor; the memory is adapted to store computer program code comprising instructions which, when executed by the processor, cause the electronic device to perform the method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
Drawings
Fig. 1 is a schematic flowchart illustrating a broadcast control method in an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 3 is a block diagram illustrating functional units of a broadcast control apparatus in an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be described below accurately and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
As shown in fig. 1, fig. 1 is a schematic flowchart of a broadcast control method in an electronic device according to an embodiment of the present disclosure.
As shown in the figure, the broadcast control method in the electronic device includes:
step 201, when detecting a play control operation of a user for a first voice message of a first application, detecting whether a second application supporting an audio play function is still running on the electronic device.
The application types of the first application and the second application may be the same, and the first application and the second application may also be different application types. The application types may include chat applications, navigation applications, video music applications, and the like. That is, the first application and the second application may both be chat applications, or the first application may be a chat application and the second application may be a navigation application. Specifically, the second application may start playing the voice without the operation of the user during the running process, that is, when the second application runs, the voice information may be automatically played after the condition is met. For example, when the second application is a navigation application, the navigation application automatically plays navigation information after the user arrives at the preset address, or the second application is also a chat application, and because the chat application has a plurality of voices to be played, when the electronic device detects that the user plays the first voice, the chat application automatically plays the subsequent plurality of voices until the voice playing on the chat interface is completed.
Step 202, if it is detected that the electronic device runs the second application, determining a reference time period according to the first voice message.
Wherein the reference time period is greater than or equal to a message duration of the first voice message. And if the second application is not detected to be operated by the electronic equipment, playing the first voice message through a loudspeaker.
Step 203, judging whether the second application has an audio playing requirement in the reference time interval according to the running state of the second application.
The operation state may be used to characterize whether the second application is allowed to use the speaker to play audio in the operation, and if not, it may be determined that there is no audio playing requirement in the reference time period. The running state may also be used to represent whether the second application is currently playing audio and has not yet been played, or whether there is audio to be played in the reference time period, and if so, it is determined that there is an audio playing requirement in the reference time period.
Step 204, if it is determined that the second application has a need to play the reference audio information within the reference time period, performing play control on the first voice message and the reference audio information.
The reference audio information is audio information that needs to be played in a reference time interval by the second application. The play control is used for controlling the play time of the first voice message and the reference audio information so as to avoid that the first voice message and the reference audio information are played simultaneously through the same loudspeaker.
In this example, when the electronic device detects a play control operation of a user on a first voice message of a first application, it detects whether the electronic device further runs a second application supporting an audio play function, if the electronic device runs the second application, determines a reference time interval according to the first voice message, and determines whether the second application has an audio play requirement in the reference time interval according to a running state of the second application, and if the second application has the requirement for playing reference audio information, the electronic device controls playing of the first voice message and the reference audio information. Therefore, the problem of sound mixing during voice playing caused by the fact that the first voice message and the reference audio information are played through the same loudspeaker at the same time can be avoided, and the use experience of a user is improved.
In one possible example, the determining a reference period from the first voice message comprises: detecting whether a second voice message which is positioned behind the first voice message and has no text message interval with the first voice message exists in the first application; if so, determining the reference time interval according to the duration of the first voice message and the duration of the second voice message; and if not, determining the reference time interval according to the duration of the first voice message.
The second voice message may be a plurality of continuous voice messages, that is, the second voice message also includes a plurality of voice messages to be played continuously after the first voice message. The electronic device may automatically play the second voice message after receiving a play control operation for the first voice message.
In a specific implementation, when the second voice message includes a plurality of pieces, it may be determined whether a sender of the second voice message is the same as a sender of the first voice message, and if both are the same, the reference time interval is determined according to a duration of the first voice message and a duration of the second voice message; if the first voice message and the second voice message are different, determining the reference time interval according to the duration of the first voice message; and if a third voice message which is the same as the sender of the first voice message exists in the second voice message, determining the number of the voice messages spaced between the third voice message and the first voice message, and if the number of the voice messages spaced between the third voice message and the first voice message is less than the preset number, determining the reference time interval according to the first voice message, the third voice message and the duration of the voice messages between the first voice message and the third voice message. Therefore, the user can completely acquire the message which the sender of the first voice message wants to convey, and the excessive time of the loudspeaker is not occupied.
Therefore, in this example, the reference time interval is obtained according to the duration of the first voice message, so that the user can completely obtain the voice content.
In one possible example, the second application is a navigation application, and the running state of the second application includes navigation route information that the navigation application is running, and the position of the electronic device; the determining whether the second application has an audio playing requirement in the reference time period according to the running state of the second application includes: predicting a local navigation route to be passed by the electronic equipment in the reference time period according to the navigation route information in which the navigation application is running and the position of the electronic equipment; judging whether a position needing voice prompt exists in the local navigation route or not; if so, judging that the second application has an audio playing requirement in the reference time interval; if not, judging that the second application does not have the audio playing requirement in the reference time interval.
Wherein, predicting a local navigation route to be passed by the electronic device in the reference period according to the navigation route information in which the navigation application is running and the position of the electronic device may include: the method comprises the steps of obtaining a current first moving speed of the electronic equipment, determining a first moving distance of the electronic equipment according to the first moving speed and the reference time interval, determining a road condition in a route with the position of the electronic equipment as a starting point according to the navigation route information, moving the first moving distance, correcting the first moving speed according to the road condition to obtain a second moving speed, determining a second moving distance according to the second moving speed and the reference time, and predicting a local navigation route to be passed through according to the navigation route information of the second moving distance and the position of the electronic equipment.
In this example, when the second application is the navigation application, whether an audio playing requirement exists in the reference time is determined according to the position of the electronic device and the navigation route, the audio playing requirement of the second application can be predicted in advance, the problems of audio mixing and the like caused by the fact that the first voice message and the voice message of the navigation application are played through the same loudspeaker are avoided, and the user experience is improved.
In one possible example, the playing controlling the first voice message and the reference audio information to avoid simultaneously playing the first voice message and the reference audio information through the same speaker includes: predicting familiarity of a user with navigation route information on which the navigation application is running; if the familiarity is greater than or equal to a preset familiarity, calling a loudspeaker of the electronic equipment to play a reference voice message of the first voice, and simultaneously prohibiting the calling of the navigation application to the loudspeaker of the electronic equipment until the reference voice message exceeds a timing range of the reference time period, wherein the reference voice message at least comprises the first voice message; if the familiarity is less than the preset familiarity, predicting a target time interval when the interval duration between two adjacent voice reminding events in the non-driving route of the navigation application is greater than the reference time interval, calling a loudspeaker of the electronic equipment to play the reference audio information according to an instruction of the navigation application, and calling the loudspeaker of the electronic equipment to play the reference voice message of the first application after the target time interval is delayed.
The target time interval is an interval time interval between two navigation voice reminding events, namely the time interval from the playing of the first navigation voice to the starting point of the second navigation voice. When the familiarity of the user with the navigation route information is high, the dependence of the user on the navigation voice is relatively small, the reference voice message of the first application can be played preferentially, and when the familiarity of the user with the navigation route information is low, the dependence degree of the user on the navigation voice is high, so that the navigation voice is played preferentially to ensure that the user travels smoothly. However, since the first navigation voice and the second navigation voice are separated by the target time interval, the voice of the first application can be played in the target time interval. And when the first application comprises a plurality of voice messages to be played, the plurality of voice messages can be played in the interval period, or at least the first voice message needs to be played. Specifically, the duration of the interval period of the two navigation speeches is less than the duration of the reference period, the speech message of the first application may be played in the interval period until the next interval period is reached, and then the speech message that has not been played in the first application is played continuously.
Therefore, in this example, according to the familiarity degree of the user with the navigation route information, the playing mode of the navigation voice and the voice of the first application is controlled, so that the problems of sound mixing and the like caused by the fact that the first voice message and the voice message of the navigation application are played through the same loudspeaker at the same time can be avoided, the smooth travel of the user is guaranteed, and the user experience is improved.
In one possible example, the predicting familiarity of the user with navigation route information that the navigation application is running includes: querying historical navigation data of the electronic equipment according to navigation route information of the navigation application in operation, and determining the use times of the navigation route information; and determining the familiarity of the user with the navigation route information which is operated by the navigation application according to the using times.
When the number of times of use is greater than the preset number of times, it can be determined that the familiarity of the user with the running navigation route is greater than the preset familiarity, and otherwise, the familiarity is less than the preset familiarity. Specifically, determining the familiarity of the user with the navigation route information on which the navigation application is running according to the number of uses may further include: and determining a destination attribute of the navigation route, and determining familiarity according to the destination attribute and the using times of the navigation route information. When the destination attribute is a frequent address such as "home", "company", etc., it can be determined that the user's familiarity with the navigation route information is greater than a preset familiarity even if the number of uses is less than a preset number.
Therefore, in this example, the familiarity of the user with the navigation route information in operation is determined according to the historical navigation data of the user, and the accuracy of the electronic equipment in controlling the audio playing can be improved.
In one possible example, the playing controlling the first voice message and the reference audio information to avoid simultaneously playing the first voice message and the reference audio information through the same speaker includes: inquiring a preset application priority list to obtain a first priority of the first application and a second priority of the navigation application; if the first priority is higher than the second priority, calling a loudspeaker of the electronic equipment to play a reference voice message of the first voice, and simultaneously prohibiting the navigation application from calling the loudspeaker of the electronic equipment until the reference time interval exceeds a timing range, wherein the reference voice message at least comprises the first voice message; if the first priority is smaller than the second priority, predicting that the interval duration between two adjacent voice reminding events in the non-driving route of the navigation application is larger than the target time interval of the reference time interval, calling a loudspeaker of the electronic equipment to play the reference audio information according to the instruction of the navigation application, and calling the loudspeaker of the electronic equipment to play the reference voice message of the first application after the target time interval is delayed.
The application priority list may be divided according to application names or application types. For example, the application priority list includes the priority information of the application a, the application B, and the application C, respectively, or the application priority list includes the priority information of the chat application, the navigation application, and the video playing application, respectively. When the priority division is performed according to the application types, the priority division can be performed on the applications with different names of the same type again. The priority of each application type or application name in the application priority list may be factory set or determined by user modification.
When the priority of the navigation application is lower, the audio message of the first application is preferentially played, and particularly, if the first application includes a plurality of voice messages to be played, the voice messages of the navigation application need to be played after the plurality of voice messages are played, or at least the voice messages of the navigation application need to be played after the first voice message is played. When the priority of the navigation application is higher, the voice message of the navigation application is played preferentially, and because an interval exists between every two voice messages of the navigation application, the voice message of the first application can be played in the interval of the interval. Specifically, the duration of the interval period of the two navigation speeches is less than the duration of the reference period, the speech message of the first application may be played in the interval period until the next interval period is reached, and then the speech message that has not been played in the first application is played continuously.
Therefore, in this example, the playing control is performed according to the priority corresponding to the first voice message and the reference audio information, so that the problems of sound mixing and the like caused by the fact that the first voice message and the voice message of the navigation application are played through the same loudspeaker at the same time can be avoided, and the user experience is improved.
In one possible example, before the delaying invokes the speaker of the electronic device to play the reference voice message of the first application by the target period, the method further comprises: and detecting that the interval duration between the starting time of the target time interval and the current system time is less than a preset duration.
When the interval duration between the start time of the target time interval and the current system time is less than the preset duration, the playing of the first voice message can be started quickly, and the start time of the target time interval is the time for starting playing the first voice message of the first application.
Therefore, when the interval duration between the starting time of the target time interval and the current system time is less than the preset time duration, the playing time of the first voice message is delayed to the target time interval, so that the problems of sound mixing and the like caused by the fact that the first voice message and the voice message of the navigation application are played simultaneously through the same loudspeaker can be avoided, and the user can be ensured to hear the voice message of the first application in time.
In one possible example, the method further comprises: detecting that the interval duration between the starting time of the target time interval and the current system time is greater than or equal to the preset duration; and performing character conversion on the reference voice message of the first application, and displaying a character conversion result.
If the interval duration between the starting time of the target time interval and the current system time is greater than or equal to the preset duration, it means that the user cannot hear the voice message of the first application in time, but in order to enable the user to obtain the content corresponding to the voice message and to ensure that the voice message in the navigation application can be clearly conveyed to the user, the voice message of the first application can be firstly subjected to text conversion so that the user can know the content corresponding to the voice message. After the text conversion result is displayed, a user identifier may be obtained, and when the user identifier indicates that the user has read, the reference voice message is not played again in the target time period, and when the user identifier indicates that the user has not read, the reference voice message is played in the target time period. The method for acquiring the user identifier may include receiving a click operation of the user on the reference voice information, determining that the user identifier indicates that the user has read, and otherwise, determining that the user identifier indicates that the user has not read.
In this embodiment, the reference voice message is converted into a text and displayed when the interval duration between the starting time of the target time interval and the current system time is greater than or equal to the preset duration, so that the problems of audio mixing and the like caused by the fact that the first voice message and the voice message of the navigation application are played simultaneously through the same loudspeaker can be avoided, and the user can be ensured to obtain the content of the voice message of the first application in time.
Consistent with the above method embodiments, please refer to fig. 2, and fig. 2 is a schematic structural diagram of an electronic device 200 according to an embodiment of the present application, and as shown in the figure, the electronic device 200 includes a processor 210, a memory 220, a communication interface 220, and one or more programs 221, where the one or more programs 221 are stored in the memory 220 and configured to be executed by the processor 210, and the one or more programs 221 include instructions for performing any step in the above method embodiments.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 3 is a block diagram illustrating functional units of a broadcast control apparatus in an electronic device according to an embodiment of the present disclosure. The broadcast control device 3 in the electronic equipment comprises a processing unit 30 and a communication unit 31, wherein the processing unit 30 is used for detecting whether the electronic equipment runs a second application supporting an audio playing function when a play control operation of a user on a first voice message of a first application is detected through the communication unit 31; if the electronic equipment is detected to run the second application, determining a reference time interval according to the first voice message, and judging whether the second application has an audio playing requirement in the reference time interval according to the running state of the second application; and if the second application is judged to have the requirement of playing the reference audio information in the reference time interval, playing the first voice message and the reference audio information to avoid simultaneously playing the first voice message and the reference audio information through the same loudspeaker.
In one possible example, in the aspect of determining the reference period according to the first voice message, the processing unit 30 is specifically configured to: detecting whether a second voice message which is positioned behind the first voice message and has no text message interval with the first voice message exists in the first application; if so, determining the reference time interval according to the duration of the first voice message and the duration of the second voice message; and if not, determining the reference time interval according to the duration of the first voice message.
In a possible example, the second application is a navigation application, the running state of the second application includes navigation route information that the navigation application is running, and a location of the electronic device, and in the aspect of determining whether there is an audio playing requirement for the second application in the reference time period according to the running state of the second application, the processing unit 30 is specifically configured to: predicting a local navigation route to be passed by the electronic equipment in the reference time period according to the navigation route information in which the navigation application is running and the position of the electronic equipment; judging whether a position needing voice prompt exists in the local navigation route or not; if so, judging that the second application has an audio playing requirement in the reference time interval; if not, judging that the second application does not have the audio playing requirement in the reference time interval.
In one possible example, in terms of the controlling the playing of the first voice message and the reference audio information to avoid the first voice message and the reference audio information being played simultaneously through the same speaker, the processing unit 30 is specifically configured to: predicting familiarity of a user with navigation route information on which the navigation application is running; if the familiarity is greater than or equal to a preset familiarity, calling a loudspeaker of the electronic equipment to play a reference voice message of the first voice, and simultaneously prohibiting the calling of the navigation application to the loudspeaker of the electronic equipment until the reference voice message exceeds a timing range of the reference time period, wherein the reference voice message at least comprises the first voice message; if the familiarity is less than the preset familiarity, predicting a target time interval when the interval duration between two adjacent voice reminding events in the non-driving route of the navigation application is greater than the reference time interval, calling a loudspeaker of the electronic equipment to play the reference audio information according to an instruction of the navigation application, and calling the loudspeaker of the electronic equipment to play the reference voice message of the first application after the target time interval is delayed.
In one possible example, the processing unit 30 is specifically configured to, in terms of the predicted familiarity of the user with the navigation route information that the navigation application is running: querying historical navigation data of the electronic equipment according to navigation route information of the navigation application in operation, and determining the use times of the navigation route information; and determining the familiarity of the user with the navigation route information which is operated by the navigation application according to the using times.
In one possible example, in terms of the controlling the playing of the first voice message and the reference audio information to avoid the first voice message and the reference audio information being played simultaneously through the same speaker, the processing unit 30 is specifically configured to: inquiring a preset application priority list to obtain a first priority of the first application and a second priority of the navigation application;
if the first priority is higher than the second priority, calling a loudspeaker of the electronic equipment to play a reference voice message of the first voice, and simultaneously prohibiting the navigation application from calling the loudspeaker of the electronic equipment until the reference time interval exceeds a timing range, wherein the reference voice message at least comprises the first voice message; if the first priority is smaller than the second priority, predicting that the interval duration between two adjacent voice reminding events in the non-driving route of the navigation application is larger than the target time interval of the reference time interval, calling a loudspeaker of the electronic equipment to play the reference audio information according to the instruction of the navigation application, and calling the loudspeaker of the electronic equipment to play the reference voice message of the first application after the target time interval is delayed.
In a possible example, before the delay reaches the target period and the speaker of the electronic device is called to play the reference voice message of the first application, the processing unit 30 is specifically configured to: and detecting that the interval duration between the starting time of the target time interval and the current system time is less than a preset duration.
In one possible example, the processing unit 30 is further configured to: detecting that the interval duration between the starting time of the target time interval and the current system time is greater than or equal to the preset duration; and performing character conversion on the reference voice message of the first application, and displaying a character conversion result.
All relevant contents of each scene related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. The address query device 3 in the navigation scenario may perform the steps in the address query method in the navigation scenario shown in fig. 1.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer instructions or the computer program are loaded or executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire or wirelessly. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more collections of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A broadcast control method in an electronic device is characterized by comprising the following steps:
when detecting the playing control operation of a user for a first voice message of a first application, detecting whether electronic equipment still runs a second application supporting an audio playing function;
if the electronic equipment is detected to run the second application, determining a reference time interval according to the first voice message, and judging whether the second application has an audio playing requirement in the reference time interval according to the running state of the second application;
and if the second application is judged to have the requirement of playing the reference audio information in the reference time interval, playing the first voice message and the reference audio information to avoid simultaneously playing the first voice message and the reference audio information through the same loudspeaker.
2. The method of claim 1, wherein determining the reference time period from the first voice message comprises:
detecting whether a second voice message which is positioned behind the first voice message and has no text message interval with the first voice message exists in the first application;
if so, determining the reference time interval according to the duration of the first voice message and the duration of the second voice message;
and if not, determining the reference time interval according to the duration of the first voice message.
3. The method according to claim 1 or 2, wherein the second application is a navigation application, and the running state of the second application comprises navigation route information on which the navigation application is running, the position of the electronic device;
the determining whether the second application has an audio playing requirement in the reference time period according to the running state of the second application includes:
predicting a local navigation route to be passed by the electronic equipment in the reference time period according to the navigation route information in which the navigation application is running and the position of the electronic equipment;
judging whether a position needing voice prompt exists in the local navigation route or not;
if so, judging that the second application has an audio playing requirement in the reference time interval;
if not, judging that the second application does not have the audio playing requirement in the reference time interval.
4. The method of claim 3, wherein the controlling the playing of the first voice message and the reference audio information to avoid the first voice message and the reference audio information being played simultaneously through the same speaker comprises:
predicting familiarity of a user with navigation route information on which the navigation application is running;
if the familiarity is greater than or equal to a preset familiarity, calling a loudspeaker of the electronic equipment to play a reference voice message of the first voice, and simultaneously prohibiting the calling of the navigation application to the loudspeaker of the electronic equipment until the reference voice message exceeds a timing range of the reference time period, wherein the reference voice message at least comprises the first voice message;
if the familiarity is less than the preset familiarity, predicting a target time interval when the interval duration between two adjacent voice reminding events in the non-driving route of the navigation application is greater than the reference time interval, calling a loudspeaker of the electronic equipment to play the reference audio information according to an instruction of the navigation application, and calling the loudspeaker of the electronic equipment to play the reference voice message of the first application after the target time interval is delayed.
5. The method of claim 4, wherein predicting user familiarity with navigation route information on which the navigation application is running comprises:
querying historical navigation data of the electronic equipment according to navigation route information of the navigation application in operation, and determining the use times of the navigation route information;
and determining the familiarity of the user with the navigation route information which is operated by the navigation application according to the using times.
6. The method of claim 3, wherein the controlling the playing of the first voice message and the reference audio information to avoid the first voice message and the reference audio information being played simultaneously through the same speaker comprises:
inquiring a preset application priority list to obtain a first priority of the first application and a second priority of the navigation application;
if the first priority is higher than the second priority, calling a loudspeaker of the electronic equipment to play a reference voice message of the first voice, and simultaneously prohibiting the navigation application from calling the loudspeaker of the electronic equipment until the reference time interval exceeds a timing range, wherein the reference voice message at least comprises the first voice message;
if the first priority is smaller than the second priority, predicting that the interval duration between two adjacent voice reminding events in the non-driving route of the navigation application is larger than the target time interval of the reference time interval, calling a loudspeaker of the electronic equipment to play the reference audio information according to the instruction of the navigation application, and calling the loudspeaker of the electronic equipment to play the reference voice message of the first application after the target time interval is delayed.
7. The method of claim 4 or 6, wherein before the delaying to the target period invokes a speaker of the electronic device to play the reference voice message of the first application, the method further comprises:
and detecting that the interval duration between the starting time of the target time interval and the current system time is less than a preset duration.
8. The method of claim 7, further comprising:
detecting that the interval duration between the starting time of the target time interval and the current system time is greater than or equal to the preset duration;
and performing character conversion on the reference voice message of the first application, and displaying a character conversion result.
9. The broadcast control device in the electronic equipment is characterized by comprising a processing unit and a communication unit, wherein,
the processing unit is used for detecting whether the electronic equipment runs a second application supporting an audio playing function or not when the communication unit detects that a user plays a control operation for playing a first voice message of a first application; if the electronic equipment is detected to run the second application, determining a reference time interval according to the first voice message, and judging whether the second application has an audio playing requirement in the reference time interval according to the running state of the second application; and if the second application is judged to have the requirement of playing the reference audio information in the reference time interval, playing the first voice message and the reference audio information to avoid simultaneously playing the first voice message and the reference audio information through the same loudspeaker.
10. An electronic device comprising a processor, a memory, and a communication interface; the memory and the communication interface are connected with the processor; the memory for storing computer program code comprising instructions which, when executed by the processor, the electronic device performs the method of any of claims 1-8.
CN202111201929.7A 2021-10-15 2021-10-15 Broadcast control method in electronic equipment and electronic equipment Pending CN113934397A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111201929.7A CN113934397A (en) 2021-10-15 2021-10-15 Broadcast control method in electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111201929.7A CN113934397A (en) 2021-10-15 2021-10-15 Broadcast control method in electronic equipment and electronic equipment

Publications (1)

Publication Number Publication Date
CN113934397A true CN113934397A (en) 2022-01-14

Family

ID=79279905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111201929.7A Pending CN113934397A (en) 2021-10-15 2021-10-15 Broadcast control method in electronic equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN113934397A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114333827A (en) * 2022-03-02 2022-04-12 安徽淘云科技股份有限公司 Breakpoint continuous playing method and device, electronic equipment and storage medium
CN116700660A (en) * 2022-11-15 2023-09-05 荣耀终端有限公司 Audio playing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111399797A (en) * 2020-03-09 2020-07-10 北京达佳互联信息技术有限公司 Voice message playing method and device, electronic equipment and storage medium
CN111735472A (en) * 2020-05-22 2020-10-02 百度在线网络技术(北京)有限公司 Navigation audio playing method, device, equipment and computer storage medium
CN112751971A (en) * 2020-12-30 2021-05-04 维沃移动通信有限公司 Voice playing method and device and electronic equipment
CN113423007A (en) * 2021-06-17 2021-09-21 元心信息科技集团有限公司 Control method and device for multi-audio playing, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111399797A (en) * 2020-03-09 2020-07-10 北京达佳互联信息技术有限公司 Voice message playing method and device, electronic equipment and storage medium
CN111735472A (en) * 2020-05-22 2020-10-02 百度在线网络技术(北京)有限公司 Navigation audio playing method, device, equipment and computer storage medium
CN112751971A (en) * 2020-12-30 2021-05-04 维沃移动通信有限公司 Voice playing method and device and electronic equipment
CN113423007A (en) * 2021-06-17 2021-09-21 元心信息科技集团有限公司 Control method and device for multi-audio playing, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114333827A (en) * 2022-03-02 2022-04-12 安徽淘云科技股份有限公司 Breakpoint continuous playing method and device, electronic equipment and storage medium
CN116700660A (en) * 2022-11-15 2023-09-05 荣耀终端有限公司 Audio playing method and electronic equipment
CN116700660B (en) * 2022-11-15 2024-05-14 荣耀终端有限公司 Audio playing method and electronic equipment

Similar Documents

Publication Publication Date Title
KR100597670B1 (en) mobile communication terminal capable of reproducing and updating multimedia content, and method for reproducing the same
CN113934397A (en) Broadcast control method in electronic equipment and electronic equipment
CN106098056B (en) Voice news processing method, news server and system
CN106302997B (en) Output control method, electronic equipment and system
CN104346217A (en) Method and system for prompting push information
US9848215B1 (en) Methods, systems, and media for identifying and presenting users with multi-lingual media content items
EP3846020A1 (en) Sound effect adjusting method and apparatus, electronic device, and storage medium
CN110267113B (en) Video file processing method, system, medium, and electronic device
EP2744181B1 (en) Alarm Operation Method and Mobile Terminal Supporting the Same
CN113271380A (en) Audio processing method and device
US11665406B2 (en) Verbal queries relative to video content
JP2006050563A (en) Bell sound reproducing method of mobile terminal equipment
CN110018806A (en) A kind of method of speech processing and device
CN112533188A (en) Output processing method and device of playing source
US9203966B2 (en) Method and device for modifying a compounded voice message
CN112866066B (en) Interaction method, device, system, electronic equipment and storage medium
CN113157245A (en) Electronic book presentation information playing interaction method, computing device and storage medium
CN111159462A (en) Method and terminal for playing songs
JP2008182319A (en) Stream data reproduction system and reproducing method, and portable terminal device
CN108491473A (en) Audio file playing method and device, electronic equipment and medium
CN108650544A (en) A kind of media playing method, device and media play system
CN113329125B (en) Broadcast control method and device based on message content identification in near-field broadcast scene
CN114358747B (en) Calendar event reminding method and device, storage medium and electronic equipment
JP7119939B2 (en) Information processing device, information processing method and program
US11138260B2 (en) Method and apparatus for determining output information

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