CN110554851B - Message prompting method and device, electronic equipment and readable storage medium - Google Patents

Message prompting method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN110554851B
CN110554851B CN201910712653.5A CN201910712653A CN110554851B CN 110554851 B CN110554851 B CN 110554851B CN 201910712653 A CN201910712653 A CN 201910712653A CN 110554851 B CN110554851 B CN 110554851B
Authority
CN
China
Prior art keywords
intensity
channel
prompt
application
new message
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
CN201910712653.5A
Other languages
Chinese (zh)
Other versions
CN110554851A (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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201910712653.5A priority Critical patent/CN110554851B/en
Publication of CN110554851A publication Critical patent/CN110554851A/en
Application granted granted Critical
Publication of CN110554851B publication Critical patent/CN110554851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure provides a message prompting method, a message prompting device, electronic equipment and a readable storage medium, wherein the method comprises the following steps: receiving a new message; determining an application to which the new message belongs; determining an intensity of each channel according to the application; and prompting the new message according to the strength of each sound channel. The new message can be prompted by adopting different channel intensities according to different applications, which is helpful for helping a user to quickly and accurately determine the application to which the new message belongs, so that the position of the new message is determined according to the position of the application.

Description

Message prompting method and device, electronic equipment and readable storage medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a message prompting method and apparatus, an electronic device, and a readable storage medium.
Background
As computer screens evolve, large screen displays appear, and scenes where the same computer employs multiple screens. The prompting of a new message thus needs to help the user quickly and accurately locate the new message on the screen.
In the prior art, new messages can be prompted by sound and icons. For example, when there is a new message, a preset audio may be played, and at the same time, an icon may be flashed, and at this time, the user may determine the prompting position of the new message according to the sound and the icon, so as to click the icon to view the new message.
However, the above solution does not help the user to quickly and accurately locate the new message when the screen is large or multiple screens.
Disclosure of Invention
Embodiments of the present disclosure provide a message prompting method, device, electronic device, and readable storage medium to solve the above-mentioned problem of determining the location of new information in the prior art.
According to a first aspect of embodiments of the present disclosure, there is provided a message prompting method, including:
receiving a new message;
determining an application to which the new message belongs;
determining an intensity of each channel according to the application;
and prompting the new message according to the strength of each sound channel.
Optionally, the step of determining the intensity of each channel according to the application comprises:
and acquiring the intensity of each sound channel corresponding to the application from preset configuration information.
Optionally, the step of determining the intensity of each channel according to the application comprises:
determining a prompt position corresponding to the application;
and acquiring the intensity of each sound channel corresponding to the prompt position from preset configuration information.
Optionally, the configuration information is generated by:
receiving a prompt position set by a user aiming at a candidate application;
determining the intensity of each sound channel corresponding to the prompt position;
and storing the candidate application, the prompt position and the intensity of each sound channel into configuration information according to the corresponding relation.
Optionally, the channels include a first channel and a second channel, and the determining the intensity of each channel corresponding to the cue position includes:
acquiring a screen display area;
if the prompt position is the first position of the screen display area, setting the intensity of a first sound channel corresponding to the prompt position as the maximum intensity, and setting the intensity of a second sound channel corresponding to the prompt position as the minimum intensity;
if the prompt position is a second position of the screen display area, setting the intensity of a first sound channel corresponding to the prompt position as the minimum intensity, and setting the intensity of a second sound channel corresponding to the prompt position as the maximum intensity;
and if the prompt position is located at the rest positions of the screen display area, determining the intensity of the first sound channel and the second sound channel corresponding to the prompt position according to a preset intensity interval.
Optionally, the first position is a leftmost position, the first channel is a left channel, the second position is a rightmost position, and the second channel is a right channel.
Optionally, the step of prompting the new message according to the intensity of each channel includes:
acquiring a prompt audio preset for the new message;
and simultaneously playing the prompt audio with corresponding strength through each sound channel.
Optionally, after the step of simultaneously playing the cue audio through each channel at the corresponding intensity, the method further includes:
and recording the playing process of the prompt audio to obtain the prompt audio corresponding to the prompt position.
According to a second aspect of embodiments of the present disclosure, there is provided a message alert apparatus, the apparatus including:
the message receiving module is used for receiving a new message;
the application determining module is used for determining the application to which the new message belongs;
an intensity determination module to determine an intensity of each channel according to the application;
and the message prompting module is used for prompting the new message according to the intensity of each sound channel.
Optionally, the intensity determination module includes:
and the first sound channel intensity obtaining sub-module is used for obtaining the intensity of each sound channel corresponding to the application from preset configuration information.
Optionally, the channel intensity determination module includes:
the prompt position determining submodule is used for determining a prompt position corresponding to the application;
and the second channel intensity obtaining submodule is used for obtaining the intensity of each channel corresponding to the prompt position from preset configuration information.
Optionally, the configuration information is generated by:
the prompt position receiving module is used for receiving a prompt position set by a user aiming at the candidate application;
the sound channel intensity setting module is used for determining the intensity of each sound channel corresponding to the prompt position;
and the configuration information storage module is used for storing the candidate application, the prompt position and the intensity of each sound channel into configuration information according to the corresponding relation.
Optionally, the channels include a first channel and a second channel, and the determining the intensity of each channel corresponding to the cue position includes:
the display area acquisition module is used for acquiring a screen display area;
the first sound channel intensity setting submodule is used for setting the intensity of a first sound channel corresponding to the prompt position as the maximum intensity and setting the intensity of a second sound channel corresponding to the prompt position as the minimum intensity if the prompt position is the first position of the screen display area;
a second channel intensity setting submodule, configured to set, if the prompt position is a second position of the screen display area, intensity of a first channel corresponding to the prompt position to be minimum intensity, and set intensity of a second channel corresponding to the prompt position to be maximum intensity;
and the third sound channel intensity setting submodule is used for determining the intensity of the first sound channel and the second sound channel corresponding to the prompt position according to a preset intensity interval if the prompt position is located in the rest positions of the screen display area.
Optionally, the first position is a leftmost position, the first channel is a left channel, the second position is a rightmost position, and the second channel is a right channel.
Optionally, the message prompting module includes:
the prompt audio acquisition submodule is used for acquiring a prompt audio preset for the new message;
and the prompt audio playing sub-module is used for simultaneously playing the prompt audio with corresponding strength through each sound channel.
Optionally, the apparatus further comprises:
and the playing recording sub-module is used for recording the playing process of the prompting audio to obtain the prompting audio corresponding to the prompting position.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the aforementioned message alert method when executing the program.
According to a fourth aspect of embodiments of the present disclosure, there is provided a readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the aforementioned message alert method.
The embodiment of the disclosure provides a message prompting method, a message prompting device, electronic equipment and a readable storage medium, wherein the method comprises the following steps: receiving a new message; determining an application to which the new message belongs; determining an intensity of each channel according to the application; and prompting the new message according to the strength of each sound channel. The new message can be prompted by adopting different channel intensities according to different applications, which is helpful for helping a user to quickly and accurately determine the application to which the new message belongs, so that the position of the new message is determined according to the position of the application.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments of the present disclosure will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 shows a flow diagram of message prompting method steps in one embodiment of the present disclosure;
FIG. 2 shows a flow diagram of message prompting method steps in another embodiment of the present disclosure;
FIG. 3(A, B, C) shows a schematic diagram of setting a prompt position in one embodiment of the present disclosure;
FIG. 4 shows a block diagram of a message prompt apparatus in an embodiment of the present disclosure;
FIG. 5 shows a block diagram of a message prompt apparatus in another embodiment of the present disclosure;
FIG. 6 shows a block diagram of an electronic device in an embodiment of the disclosure.
Detailed Description
Technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments, which can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present disclosure, belong to the protection scope of the embodiments of the present disclosure.
Example one
Referring to fig. 1, a flowchart illustrating steps of a message prompting method in an embodiment of the present disclosure is shown, which is described in detail as follows.
Step 101, a new message is received.
The new message may be a non-sent message, a user message sent by the opposite terminal, or the like. For example, the non-sent message may be a preset alarm ring, an update message of a system or application software version, and the like, and the user message may be a message sent by other users received on various social applications or short messages.
Step 102, determining the application to which the new message belongs.
In the embodiments of the present disclosure, the system may also be used as an application, so that the application mentioned in the present disclosure is a broad application.
Based on the above description, when a new message is sent through a social application, the application to which the new message belongs may be the social application; when the new message is a short message, the application to which the new message belongs is a system; when the new message is a preset alarm clock ring, the application to which the new message belongs is an alarm clock application; when the new message is a software version update message of the system, the application to which the new message belongs is the system; and when the new message is a software version update message of the application, the application to which the new message belongs is the application.
In the embodiment of the present disclosure, the new message usually carries the application identifier to which the new message belongs, so that the application to which the new message belongs can be determined.
Step 103, determining the intensity of each channel according to the application.
The sound channels may be different according to different practical applications, and in general, the sound channels include two sound channels, namely a left sound channel and a right sound channel, and may be divided into an upper sound channel and a lower sound channel according to a special application scene. The embodiments of the present disclosure do not impose limitations on the division of the channels. The channel configuration of the device can be directly obtained to obtain a plurality of channels.
In embodiments of the present disclosure, different intensities may be set for each channel for different applications. For example, for application a, the intensity of the left channel may be set to be greater and the intensity of the right channel may be set to be less; for the application B, the intensity of the left channel can be set to be small, and the intensity of the right channel can be set to be large, so that different applications can be easily distinguished according to the intensity of the channels, and a user can be helped to quickly determine the application to which the new message belongs.
And 104, prompting the new message according to the intensity of each sound channel.
It is understood that when the application does not set a ring alert, a default ring alert may be played; when the application presets a prompting ring tone, the ring tone is played.
Specifically, each channel is controlled to play the alert ringtone at the corresponding intensity simultaneously. For example, when the intensity of the left channel is I1 and the intensity of the right channel is I2, the left channel is controlled to play the alert ringtone with the intensity of I1 and the right channel with the intensity of I2 simultaneously.
In summary, an embodiment of the present disclosure provides a message prompting method, where the method includes: receiving a new message; determining an application to which the new message belongs; determining an intensity of each channel according to the application; and prompting the new message according to the strength of each sound channel. The new message can be prompted by adopting different channel intensities according to different applications, which is helpful for helping a user to quickly and accurately determine the application to which the new message belongs, so that the position of the new message is determined according to the position of the application.
Example two
Referring to fig. 2, a flowchart illustrating specific steps of a message alert method in another embodiment of the present disclosure is shown, which is described in detail as follows.
Step 201, receiving a prompt position set by a user for a candidate application.
Wherein, the prompt position is: and when a new message corresponding to the candidate application is received, prompting the display position of the prompting information of the new message. For example, the prompt position is set to the lower right corner of the screen for application a, so that when a new message for application a is received, prompt information is presented in the lower right corner of the screen, e.g., an icon of application a is flashed in the lower right corner of the screen.
Specifically, a prompt position may be set on the interface, and first, a user selects candidate applications on the first interface, as shown in fig. 3(a), five applications A, B, C, D, E exist as applications that the system may set, and the user may select one of the applications (for example, application a) as a candidate application and enter the second interface; then, the user can set the prompting position on the second interface, for example, as shown in fig. 3(B), the system has two left and right channels, the user can slide the slider left and right to adjust the prompting position, and the total area in fig. 3(B) is the total area that can be displayed on the screen.
It can be understood that, in order to describe the prompt position of the application more accurately, the slider can be slid not only left and right, but also up and down. When the intensity of the vocal tract is related to only the difference in the horizontal direction of the cue position, the cue position may be set by sliding only in the left-right direction as shown in fig. 3 (B); when the intensity of the vocal tract is related to only the difference in the cue position in the vertical direction, the cue position may be set only by sliding in the up-down direction, as shown in fig. 3 (C); when the intensity of the vocal tract is related not only to the difference in the vertical direction but also to the difference in the horizontal direction in the cue position, the cue position may be set by sliding in both the up-down and left-right directions as shown in fig. 3(B) and 3 (C).
Step 202, determining the intensity of each sound channel corresponding to the prompt position.
Specifically, different channel intensities may be set for different prompt positions according to a certain rule, so that as shown in fig. 3(B) or (C), when the user slides the slider, the intensity of the channel changes as the prompt position changes. For example, for fig. 3(B), when sliding left, the intensity of the left channel increases and the intensity of the right channel decreases; when sliding to the right, the intensity of the left sound channel is reduced, and the intensity of the right sound channel is increased; for fig. 3(C), as one slides up, the intensity of the up channel increases and the intensity of the down channel decreases; when sliding downward, the intensity of the up channel decreases and the intensity of the down channel increases.
Optionally, in another embodiment of the present disclosure, the channels include a first channel and a second channel, and step 202 includes sub-steps a1 to a 4:
sub-step a1, obtain the screen presentation area.
The screen display area is a screen area for displaying the prompt information, and may be all areas or a part of areas of the screen. In practical application, a part of the divided areas in the screen can be used for displaying the prompt information only, and other areas are not used for displaying the prompt information, so that the screen display area is the divided part of the area.
Optionally, in an embodiment of the present disclosure, the sub-step a1 includes sub-steps a11 to a 12:
sub-step a11, if there are multiple screens, get the show sub-area of each screen.
Embodiments of the present disclosure may be applied to a display device having a plurality of screens, for example, two or more screens are simultaneously accessed by the same computer host.
It will be appreciated that the presentation sub-area of each screen is related to the screen size.
And a sub-step A12, splicing the display sub-regions of each screen into a screen display region.
In the embodiment of the disclosure, the display sub-regions of each screen may be spliced into the screen display region according to a certain splicing sequence, and in a general case, the splicing manner and the splicing sequence of the screen may be set when the screen is connected to the host, so that the screen may be spliced according to the splicing manner and the splicing sequence, for example, there are two hosts of the screen a and the screen B, and for the left and right splicing manner, the display sub-regions of the screen a may be spliced at the left of the display sub-regions of the screen B to obtain the screen display region, or the display sub-regions of the screen a may be spliced at the right of the display sub-regions of the screen B to obtain the screen display region; for the up-and-down splicing mode, the display sub-region of the screen a can be spliced above the display sub-region of the screen B to obtain the screen display region, and the display sub-region of the screen a can also be spliced below the display sub-region of the screen B to obtain the screen display region.
In sub-step a2, if the prompt position is the first position of the screen display area, setting the intensity of the first channel corresponding to the prompt position as the maximum intensity, and setting the intensity of the second channel corresponding to the prompt position as the minimum intensity.
The first position is a position where the intensity of the first sound channel is maximum and the intensity of the second sound channel is minimum, and the first position may be one end of the screen display area. For example, the leftmost end as shown in fig. 3(B) is the first position, and the uppermost end as shown in fig. 3(C) is the first position.
In sub-step a3, if the prompt position is the second position of the screen display area, setting the intensity of the first channel corresponding to the prompt position as the minimum intensity, and setting the intensity of the second channel corresponding to the prompt position as the maximum intensity.
The second position is a position where the intensity of the second channel is maximum and the intensity of the first channel is minimum, and the second position may be the other end of the screen display area relative to the first position. For example, the rightmost end as shown in fig. 3(B) is the second position, and for example, the bottommost end as shown in fig. 3(C) is the second position.
And a substep a4, determining the intensities of the first channel and the second channel corresponding to the prompt position according to a preset intensity interval if the prompt position is located in the rest positions of the screen display area.
The intensity interval can be determined according to preset maximum intensity, minimum intensity and the number of prompt positions. It will be appreciated that the greater the difference between the maximum intensity and the minimum intensity, and the fewer the number of cue positions, the greater the intensity interval; the intensity interval is smaller as the difference between the maximum intensity and the minimum intensity is smaller and the number of cue positions is larger.
Specifically, the intensities of the first channel and the second channel corresponding to the cue position can be obtained by the following formula:
Figure BDA0002154299040000091
wherein, I1 and I2 are the intensity of the first channel and the second channel respectively, I1max、I2maxThe maximum intensity of the first channel and the second channel respectively, S is the cue position, S1 and S2 are the first position and the second position respectively, and II1 and II2 are the preset intensity intervals of the first channel and the second channel respectively.
In an embodiment of the present disclosure, the intensities of the first channel and the second channel corresponding to the cue position may be further obtained by the following formula:
Figure BDA0002154299040000092
wherein, I1min、I2minThe minimum intensity of the first channel and the second channel respectively.
It is understood that when I1minAnd I2minSame, and I1maxAnd I2maxMeanwhile, II1 is the same as II 2; when I1minAnd I2minDifferent, or I1maxAnd I2maxDifferent, and I1max-I1minAnd I2max-I2minAt the same time, II1 differs from II 2.
It can be seen that equation (2) above is relatively simple to calculate (1), and thus equation (2) can be preferentially chosen to determine the intensity of the first channel and the second channel.
Optionally, in another embodiment of the present disclosure, the first position is a leftmost position, the first channel is a left channel, the second position is a rightmost position, and the second channel is a right channel.
In the embodiment of the present disclosure, since a common channel is divided into a left channel and a right channel, the present disclosure may set a cue position according to a manner as shown in fig. 3(B) and determine the intensities of the left channel and the right channel.
Step 203, storing the candidate application, the prompt position and the intensity of each sound channel into configuration information according to the corresponding relation.
The embodiment of the disclosure can store the preset strength configuration of the sound channel, thereby facilitating subsequent direct calling and being beneficial to improving the real-time performance of prompting new messages.
Step 204, a new message is received.
This step can refer to the detailed description of step 101, and is not described herein again.
Step 205, determine the application to which the new message belongs.
This step can refer to the detailed description of step 102, and is not described herein again.
Step 206, determining the intensity of each channel according to the application.
This step can refer to the detailed description of step 103, which is not repeated herein.
Optionally, in another embodiment of the present disclosure, step 206 includes sub-step a 1:
and a substep a1 of obtaining the intensity of each channel corresponding to the application from preset configuration information.
Specifically, the intensity of the channel may be directly obtained from the configuration information generated in step 203 according to the correspondence relationship between the intensities applied to the channels.
The embodiment of the disclosure can directly determine the strength of the sound channel according to the application, and the application identifier can be directly extracted from the new message, thereby being beneficial to improving the time consumed for determining the strength of the sound channel and improving the real-time performance for prompting the new message.
Optionally, in another embodiment of the present disclosure, step 206 includes sub-steps B1-B2:
and step B1, determining the prompt position corresponding to the application.
Specifically, when the new message carries the prompt position, the prompt position can be directly extracted from the new message; when only the application identifier is carried in the new message, the cue position corresponding to the application may be extracted from the configuration of the correspondence between the application and the cue position, and the intensity of the channel may be acquired from the configuration information generated in step 203 according to the cue position, and at this time, step 203 may generate only the configuration information based on the correspondence between the cue position and the intensity of the channel.
And step B2, obtaining the intensity of each sound channel corresponding to the prompt position from preset configuration information.
In practical applications, various types of applications result in a large number of applications, and embodiments of the present disclosure may generate configuration information based on a correspondence relationship between cue positions and intensities of channels, which greatly reduces the data amount of the configuration information because the cue positions are small relative to the number of applications.
And step 207, acquiring a preset prompt audio for the new message.
In practical applications, the system may set a default prompt audio for the application, and the user may also set a personalized prompt audio for the application.
And step 208, simultaneously playing the prompt audio through each sound channel at the corresponding intensity.
For example, the cue audio is played simultaneously through the left channel at the intensity of the left channel and the right channel at the intensity of the right channel; or simultaneously playing the prompt audio through the intensity of the upper channel and the intensity of the lower channel.
And 209, recording the playing process of the prompt audio to obtain the prompt audio corresponding to the prompt position.
The embodiment of the disclosure can record the prompt audio played at the intensities of different sound channels for subsequent direct playing, does not need to determine the intensity again, and is favorable for prompting the real-time property of a new message. For example, if there is recorded cue audio at the cue location of the next application, the cue audio is played directly without first determining the intensity and then playing.
In summary, an embodiment of the present disclosure provides a message prompting method, where the method includes: receiving a new message; determining an application to which the new message belongs; determining an intensity of each channel according to the application; and prompting the new message according to the strength of each sound channel. The new message can be prompted by adopting different channel intensities according to different applications, which is helpful for helping a user to quickly and accurately determine the application to which the new message belongs, so that the position of the new message is determined according to the position of the application.
EXAMPLE III
Referring to fig. 4, a block diagram of a message prompting device in another embodiment of the present disclosure is shown, as follows.
A message receiving module 301, configured to receive a new message.
An application determining module 302, configured to determine an application to which the new message belongs.
An intensity determination module 303, configured to determine an intensity of each channel according to the application.
A message prompt module 304, configured to prompt the new message according to the intensity of each channel.
In summary, an embodiment of the present disclosure provides a message prompting apparatus, where the apparatus includes: the message receiving module is used for receiving a new message; the application determining module is used for determining the application to which the new message belongs; an intensity determination module to determine an intensity of each channel according to the application; and the message prompting module is used for prompting the new message according to the intensity of each sound channel. The new message can be prompted by adopting different channel intensities according to different applications, which is helpful for helping a user to quickly and accurately determine the application to which the new message belongs, so that the position of the new message is determined according to the position of the application.
The third embodiment is an embodiment of the apparatus corresponding to the first embodiment, and the detailed description may refer to the first embodiment, which is not repeated herein.
Example four
Referring to fig. 5, a block diagram of a message prompt apparatus in one embodiment of the present disclosure is shown, as follows.
A prompt position receiving module 401, configured to receive a prompt position set by a user for a candidate application.
A channel intensity setting module 402, configured to determine an intensity of each channel corresponding to the cue position.
A configuration information storage module 403, configured to store the candidate application, the prompt position, and the intensity of each channel in configuration information according to a corresponding relationship.
A message receiving module 404, configured to receive a new message.
An application determining module 405, configured to determine an application to which the new message belongs.
A channel intensity determination module 406 for determining the intensity of each channel according to the application.
A message prompt module 407, configured to prompt the new message according to the intensity of each channel; optionally, in this embodiment of the present disclosure, the message prompting module 407 includes:
and the prompt audio acquiring submodule 4071 is configured to acquire a prompt audio preset for the new message.
The prompt audio playing sub-module 4072 is configured to play the prompt audio through each channel at the corresponding intensity simultaneously.
And the playing recording submodule 4073 is used for recording the playing process of the prompt audio to obtain the prompt audio corresponding to the prompt position.
Optionally, in another embodiment of the present disclosure, the channels include a first channel and a second channel, and the channel strength setting module 402 includes:
and the display area acquisition submodule is used for acquiring a screen display area.
And the first sound channel intensity setting submodule is used for setting the intensity of the first sound channel corresponding to the prompt position to be the maximum intensity and setting the intensity of the second sound channel corresponding to the prompt position to be the minimum intensity if the prompt position is the first position of the screen display area.
A second channel intensity setting submodule, configured to set, if the prompt position is a second position of the screen display area, intensity of a first channel corresponding to the prompt position to be minimum intensity, and set intensity of a second channel corresponding to the prompt position to be maximum intensity;
and the third sound channel intensity setting submodule is used for determining the intensity of the first sound channel and the second sound channel corresponding to the prompt position according to a preset intensity interval if the prompt position is located in the rest positions of the screen display area.
Optionally, in another embodiment of the present disclosure, the first position is a leftmost position, the first channel is a left channel, the second position is a rightmost position, and the second channel is a right channel.
Optionally, in another embodiment of the present disclosure, the display area obtaining sub-module includes:
the display sub-region acquisition unit is used for acquiring a display sub-region of each screen if a plurality of screens exist;
and the screen splicing unit is used for splicing the display sub-areas of each screen into a screen display area.
Optionally, in another embodiment of the present disclosure, the channel strength determining module 406 includes:
and the first sound channel intensity obtaining sub-module is used for obtaining the intensity of each sound channel corresponding to the application from preset configuration information.
Optionally, in another embodiment of the present disclosure, the channel strength determining module 406 includes:
and the prompt position determining submodule is used for determining a prompt position corresponding to the application.
And the second channel intensity obtaining submodule is used for obtaining the intensity of each channel corresponding to the prompt position from preset configuration information.
In summary, an embodiment of the present disclosure provides a message prompting apparatus, where the apparatus includes: the message receiving module is used for receiving a new message; the application determining module is used for determining the application to which the new message belongs; an intensity determination module to determine an intensity of each channel according to the application; and the message prompting module is used for prompting the new message according to the intensity of each sound channel. The new message can be prompted by adopting different channel intensities according to different applications, which is helpful for helping a user to quickly and accurately determine the application to which the new message belongs, so that the position of the new message is determined according to the position of the application.
The fourth embodiment is an embodiment of the apparatus corresponding to the second embodiment, and details can be found in the second embodiment and are not described herein again.
An embodiment of the present disclosure also provides an electronic device, referring to fig. 6, including: a processor 501, a memory 502 and a computer program 5021 stored on the memory 502 and operable on the processor, the processor 501 implementing the message alert method of the foregoing embodiments when executing the program.
Embodiments of the present disclosure also provide a readable storage medium, and instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the message prompting method of the foregoing embodiments.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present disclosure are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the embodiments of the present disclosure as described herein, and any descriptions of specific languages are provided above to disclose the best modes of the embodiments of the present disclosure.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the disclosure, various features of the embodiments of the disclosure are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that is, claimed embodiments of the disclosure require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of an embodiment of this disclosure.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
The various component embodiments of the disclosure may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a message prompting device according to embodiments of the present disclosure. Embodiments of the present disclosure may also be implemented as an apparatus or device program for performing a portion or all of the methods described herein. Such programs implementing embodiments of the present disclosure may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit embodiments of the disclosure, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the disclosure may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above description is only for the purpose of illustrating the preferred embodiments of the present disclosure and is not to be construed as limiting the embodiments of the present disclosure, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the embodiments of the present disclosure are intended to be included within the scope of the embodiments of the present disclosure.
The above description is only a specific implementation of the embodiments of the present disclosure, but the scope of the embodiments of the present disclosure is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the embodiments of the present disclosure, and all the changes or substitutions should be covered by the scope of the embodiments of the present disclosure. Therefore, the protection scope of the embodiments of the present disclosure shall be subject to the protection scope of the claims.

Claims (11)

1. A message prompting method comprises the following steps:
receiving a new message;
determining an application to which the new message belongs;
determining an intensity of each channel according to the application;
prompting the new message according to the strength of each sound channel;
wherein the step of determining the intensity of each channel according to the application comprises:
determining a prompt position corresponding to the application;
and acquiring the intensity of each sound channel corresponding to the prompt position from preset configuration information.
2. The method of claim 1, wherein the determining the intensity of each channel according to the application comprises:
and acquiring the intensity of each sound channel corresponding to the application from preset configuration information.
3. The method of claim 1 or 2, wherein the configuration information is generated by:
receiving a prompt position set by a user aiming at a candidate application;
determining the intensity of each sound channel corresponding to the prompt position;
and storing the candidate application, the prompt position and the intensity of each sound channel into configuration information according to the corresponding relation.
4. The method of claim 3, wherein the channels comprise a first channel and a second channel, and wherein determining the intensity of each channel corresponding to the cue position comprises:
acquiring a screen display area;
if the prompt position is the first position of the screen display area, setting the intensity of a first sound channel corresponding to the prompt position as the maximum intensity, and setting the intensity of a second sound channel corresponding to the prompt position as the minimum intensity;
if the prompt position is a second position of the screen display area, setting the intensity of a first sound channel corresponding to the prompt position as the minimum intensity, and setting the intensity of a second sound channel corresponding to the prompt position as the maximum intensity;
and if the prompt position is located at the rest positions of the screen display area, determining the intensity of the first sound channel and the second sound channel corresponding to the prompt position according to a preset intensity interval.
5. The method of claim 4, wherein the first position is a leftmost position, the first channel is a left channel, the second position is a rightmost position, and the second channel is a right channel.
6. The method of claim 4, wherein the step of obtaining the screen presentation area comprises:
if a plurality of screens exist, acquiring a display sub-area of each screen;
and splicing the display sub-areas of each screen into a screen display area.
7. The method of claim 1, wherein said prompting the new message according to the intensity of the each channel comprises:
acquiring a prompt audio preset for the new message;
and simultaneously playing the prompt audio with corresponding strength through each sound channel.
8. The method of claim 7, wherein after the step of concurrently playing the cue audio at the corresponding intensity through each channel, respectively, the method further comprises:
and recording the playing process of the prompt audio to obtain the prompt audio corresponding to the prompt position.
9. A message prompting apparatus, the apparatus comprising:
the message receiving module is used for receiving a new message;
the application determining module is used for determining the application to which the new message belongs;
a channel intensity determination module for determining an intensity of each channel according to the application;
the message prompting module is used for prompting the new message according to the intensity of each sound channel;
wherein the channel strength determination module is further configured to:
determining a prompt position corresponding to the application;
and acquiring the intensity of each sound channel corresponding to the prompt position from preset configuration information.
10. An electronic device, comprising:
processor, memory and computer program stored on the memory and executable on the processor, characterized in that the processor implements the message alert method according to one or more of claims 1-8 when executing the program.
11. A readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the message alert method as claimed in one or more of method claims 1-8.
CN201910712653.5A 2019-08-02 2019-08-02 Message prompting method and device, electronic equipment and readable storage medium Active CN110554851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910712653.5A CN110554851B (en) 2019-08-02 2019-08-02 Message prompting method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910712653.5A CN110554851B (en) 2019-08-02 2019-08-02 Message prompting method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110554851A CN110554851A (en) 2019-12-10
CN110554851B true CN110554851B (en) 2020-12-11

Family

ID=68736898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910712653.5A Active CN110554851B (en) 2019-08-02 2019-08-02 Message prompting method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110554851B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7133924B1 (en) * 2000-03-08 2006-11-07 Music Choice Personalized audio system and method
CN105530171A (en) * 2015-12-23 2016-04-27 腾讯科技(深圳)有限公司 Method and apparatus for playing instant message sound on vehicle-mounted terminal
CN106162446A (en) * 2016-06-28 2016-11-23 乐视控股(北京)有限公司 Audio frequency playing method, device and earphone
CN106791042A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of Voice Navigation processing method, device and terminal
CN107122158A (en) * 2017-04-14 2017-09-01 北京小米移动软件有限公司 The method and device of broadcast information prompting audio, electronic equipment
CN107678614A (en) * 2017-09-05 2018-02-09 努比亚技术有限公司 A kind of method, equipment and computer-readable recording medium for realizing information alert

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180081618A1 (en) * 2016-09-16 2018-03-22 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Audio segment playback coordination
CN106982294A (en) * 2017-02-28 2017-07-25 努比亚技术有限公司 A kind of tone playing equipment channel properties alarm set and method
CN109413261A (en) * 2018-09-03 2019-03-01 珠海格力电器股份有限公司 Prompting method in application interaction and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7133924B1 (en) * 2000-03-08 2006-11-07 Music Choice Personalized audio system and method
CN105530171A (en) * 2015-12-23 2016-04-27 腾讯科技(深圳)有限公司 Method and apparatus for playing instant message sound on vehicle-mounted terminal
CN106162446A (en) * 2016-06-28 2016-11-23 乐视控股(北京)有限公司 Audio frequency playing method, device and earphone
CN106791042A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of Voice Navigation processing method, device and terminal
CN107122158A (en) * 2017-04-14 2017-09-01 北京小米移动软件有限公司 The method and device of broadcast information prompting audio, electronic equipment
CN107678614A (en) * 2017-09-05 2018-02-09 努比亚技术有限公司 A kind of method, equipment and computer-readable recording medium for realizing information alert

Also Published As

Publication number Publication date
CN110554851A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
US11030987B2 (en) Method for selecting background music and capturing video, device, terminal apparatus, and medium
US11218739B2 (en) Live video broadcast method, live broadcast device and storage medium
US10514885B2 (en) Apparatus and method for controlling audio mixing in virtual reality environments
US11175968B2 (en) Embedding an interface of one application into an interface of another application
RU2625336C2 (en) Method and device for content control in electronic device
CN106651761B (en) A kind of method and mobile terminal for adding filter for picture
US20110007086A1 (en) Method and apparatus for virtual object based image processing
CN111346376B (en) Interaction method and device based on multimedia resources, electronic equipment and storage medium
CN109120997A (en) Method for processing video frequency, device, terminal and medium
US9392190B2 (en) Method and device for acquiring image
JP6149862B2 (en) Display control device, display control system, and display control method
CN112153307A (en) Method and device for adding lyrics in short video, electronic equipment and storage medium
CN109947979A (en) Song recognition method, apparatus, terminal and storage medium
US9076489B1 (en) Circular timeline for video trimming
CN108228278B (en) Method and device for loading video desktop
WO2020221076A1 (en) Hosted application generation method and device
CN114363687B (en) Three-dimensional scene interactive video creation method and creation device
CN111652986A (en) Stage effect presentation method and device, electronic equipment and storage medium
US20240163501A1 (en) Media data playing method and device, storage medium and electronic device
CN110554851B (en) Message prompting method and device, electronic equipment and readable storage medium
KR20180122137A (en) Method for giving dynamic effect to video and electronic device thereof
WO2015193748A1 (en) Information acquiring apparatus and method, and electronic device
CN105491440A (en) Application method for playing control, terminal and server
CN111913635B (en) Three-dimensional panoramic picture display method and device, mobile terminal and storage medium
TWI759004B (en) Target object display method, electronic device and computer-readable 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
GR01 Patent grant
GR01 Patent grant