CN107656719B - Electronic equipment prompt tone setting method and electronic equipment - Google Patents
Electronic equipment prompt tone setting method and electronic equipment Download PDFInfo
- Publication number
- CN107656719B CN107656719B CN201710791419.7A CN201710791419A CN107656719B CN 107656719 B CN107656719 B CN 107656719B CN 201710791419 A CN201710791419 A CN 201710791419A CN 107656719 B CN107656719 B CN 107656719B
- Authority
- CN
- China
- Prior art keywords
- audio
- application scene
- user
- trigger event
- prompt tone
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Abstract
The invention provides a setting method of an electronic equipment prompt tone and electronic equipment, wherein the method comprises the following steps: monitoring a triggering event of the electronic device; wherein, different trigger events correspond to different application scenarios; when a trigger event is monitored, acquiring a unique identifier of the trigger event from the trigger event, and inquiring a mapping relation between the unique identifier and an application scene identifier according to the unique identifier to acquire an application scene corresponding to the trigger event; and acquiring a prompt tone corresponding to the application scene, and playing the prompt tone to the user. According to the method, the application scene corresponding to the trigger event is obtained through the mapping relation between the trigger event and the application scene, the prompt tone corresponding to the application scene is obtained, when the prompt event occurs, the prompt tone is played according to the application scene, and different application scenes have different application requirements, so that the prompt tone is played according to the application scene corresponding to the prompt event, and the requirements of a user are met better.
Description
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a setting method of an electronic equipment prompt tone and the electronic equipment.
Background
With the acceleration of the rhythm of life of people, in order to plan time better, equipment such as cell-phone, stereo set play prompt tone, come to remind the user should do something. At present, usually, the prompt tones are preset in the device, and a user can select one of the prompt tones according to the requirement of the user.
However, with the above method for setting the alert tone, the set alert tone is generally fixed, and cannot well meet the actual requirements of the user.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first object of the present invention is to provide a method for setting a prompt tone of an electronic device, which can obtain a prompt tone corresponding to an application scene according to the application scene corresponding to a prompt event, so that the setting of the prompt tone better meets the requirements of a user.
A second object of the present invention is to provide an electronic device.
A third object of the invention is to propose another electronic device.
A fourth object of the invention is to propose a computer program product.
A fifth object of the invention is to propose a non-transitory computer-readable storage medium.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a method for setting an alert tone of an electronic device, including:
monitoring a triggering event of the electronic device; wherein, different trigger events correspond to different application scenarios;
when the trigger event is monitored, acquiring a unique identifier of the trigger event from the trigger event, and inquiring a mapping relation between the unique identifier and an application scene identifier according to the unique identifier to acquire an application scene corresponding to the trigger event;
and acquiring a prompt tone corresponding to the application scene, and playing the prompt tone to a user.
As an optional implementation manner of the embodiment of the first aspect of the present invention, the obtaining a prompt tone corresponding to the application scenario includes:
randomly selecting one audio frequency from the candidate audio frequencies in the application scene as a target audio frequency; alternatively, the first and second electrodes may be,
counting the playing times of each candidate audio in the application scene, and selecting one audio with the largest playing time from the candidate audio in the application scene as the target audio; alternatively, the first and second electrodes may be,
identifying a latest added audio from the candidate audio in the application scene, and taking the latest added audio as the target audio;
and taking the target audio as a sound source corresponding to the prompt tone.
As an optional implementation manner of the embodiment of the first aspect of the present invention, the playing the alert tone to the user includes:
extracting the moment of occurrence of the trigger event from the trigger event;
determining the time period to which the moment belongs;
and automatically adjusting the volume of the prompt tone according to the affiliated time period, and playing the prompt tone to the user according to the adjusted volume.
As an optional implementation manner of the embodiment of the first aspect of the present invention, before the monitoring the trigger event of the electronic device, the method further includes:
sending a first request carrying an application scene to the user; the first request is used for requesting audio corresponding to the application scene from the user;
receiving a first audio selected locally by the user, and saving the first audio to a position corresponding to the application scene; wherein the location corresponds to identity information of the user.
As an optional implementation manner of the embodiment of the first aspect of the present invention, the obtaining a prompt tone corresponding to the application scenario includes:
pulling the first audio uploaded by the user from the position corresponding to the application scene;
and taking the first audio as a sound source corresponding to the prompt tone.
As an optional implementation manner of the embodiment of the first aspect of the present invention, before the monitoring the trigger event of the electronic device, the method further includes:
at least one audio corresponding to the application scene is issued to the terminal equipment corresponding to the user;
receiving a selected audio selected by the user and edit data of the selected audio by the user, and editing the audio according to the edit data to form a second audio; wherein the edit data comprises a start time point and an end time point and/or a format of the audio;
storing the second audio to a position corresponding to the application scene; wherein the location corresponds to identity information of the user.
The method for setting the prompt tone of the electronic equipment comprises the steps of monitoring trigger events of the electronic equipment, wherein different trigger events correspond to different application scenes, obtaining a unique identifier of the trigger event from the trigger events after the trigger events are monitored, inquiring a mapping relation between the unique identifier and an application scene identifier according to the unique identifier, obtaining the application scenes corresponding to the trigger events, obtaining the prompt tone corresponding to the application scenes, and playing the prompt tone to a user. In the embodiment, the application scene corresponding to the trigger event is acquired through the mapping relation between the trigger event and the application scene, and the prompt tone corresponding to the application scene is acquired, so that when the prompt event occurs, the prompt tone is played according to the application scene, and different application scenes have different application requirements, so that the prompt tone is played according to the application scene corresponding to the prompt event, and the requirements of a user are met better.
To achieve the above object, a second embodiment of the present invention provides an electronic device, including:
the monitoring module is used for monitoring a trigger event of the electronic equipment; wherein, different trigger events correspond to different application scenarios;
the acquisition module is used for acquiring the unique identifier of the trigger event from the trigger event after the trigger event is monitored, inquiring the mapping relation between the unique identifier and the application scene identifier according to the unique identifier, and acquiring the application scene corresponding to the trigger event;
and the playing module is used for acquiring the prompt tone corresponding to the application scene and playing the prompt tone to the user.
The electronic device of the embodiment of the invention acquires the unique identifier of the trigger event from the trigger event by monitoring the trigger event of the electronic device, inquires the mapping relation between the unique identifier and the application scene identifier according to the unique identifier, acquires the application scene corresponding to the trigger event, acquires the prompt tone corresponding to the application scene and plays the prompt tone to the user. In the embodiment, the application scene corresponding to the trigger event is acquired through the mapping relation between the trigger event and the application scene, and the prompt tone corresponding to the application scene is acquired, so that when the prompt event occurs, the prompt tone is played according to the application scene, and different application scenes have different application requirements, so that the prompt tone is played according to the application scene corresponding to the prompt event, and the requirements of a user are met better.
To achieve the above object, an embodiment of a third aspect of the present invention provides another electronic device, including: a processor and a memory; the processor reads the executable program code stored in the memory to run a program corresponding to the executable program code, so as to implement the setting method of the electronic device alert tone according to the embodiment of the first aspect.
To achieve the above object, a fourth aspect of the present invention provides a computer program product, where instructions of the computer program product, when executed by a processor, are used to implement the method for setting an alert tone of an electronic device according to the first aspect.
To achieve the above object, a fifth embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for setting an alert tone of an electronic device according to the first embodiment.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a method for setting an alert tone of an electronic device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another setting method of an alert tone of an electronic device according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a setting method of an alert tone of an electronic device according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A setting method of an electronic apparatus alert tone and an electronic apparatus according to an embodiment of the present invention are described below with reference to the drawings.
Fig. 1 is a schematic flowchart of a method for setting an alert tone of an electronic device according to an embodiment of the present invention.
As shown in fig. 1, the method for setting the prompt tone of the electronic device includes the following steps:
The electronic device includes, but is not limited to, a watch, a sound device, and the like.
In this embodiment, the user may set an event and time that need to be prompted on the electronic device in advance, for example, getting up half at 6 a morning, getting out 20 at 7 a morning, sleeping at 11 a evening, and the like.
After the electronic equipment is turned on, the electronic equipment monitors whether a trigger instruction exists in real time. Specifically, the trigger instruction can be monitored in real time by arranging a monitor. When the preset prompting time of the event is reached, a triggering instruction is generated, so that the electronic equipment can monitor the triggering event through the monitor.
Wherein different trigger events correspond to different application scenarios. For example, for a getting-up event, the user is in a sleep state, the environment is quite, the prompt tone is not too loud, and the user is prevented from being disturbed and the emotion of the user is influenced. For the event of going out, in order to avoid the user's late arrival, the user should be given a sense of urgency, and the alert tone may be music with a fast tempo. It can be seen that the application scenario corresponding to the getting-up event is a relatively quiet environment, and the application scenario corresponding to the going-out event is a relatively cheerful environment.
In this embodiment, when the user sets a reminder event, the electronic device may generate a unique identifier for each trigger event. And a mapping relation between the unique identifier of the trigger event and the application scene identifier is established in advance, and the mapping relation is stored on the electronic equipment.
When the electronic equipment monitors a trigger event, a unique identifier of the trigger event is obtained from the trigger event, a mapping relation between the unique identifier and an application scene identifier is inquired according to the unique identifier of the trigger event, the application scene identifier corresponding to the trigger event is obtained, and then the application scene corresponding to the trigger event is obtained according to the application scene identifier.
And 103, acquiring a prompt tone corresponding to the application scene, and playing the prompt tone to the user.
In this embodiment, the electronic device may pre-store a warning tone corresponding to each application scene, where the warning tone is matched with the application scene. For example, a slow rhythm warning tone in a quiet environment, a fast rhythm warning tone in a cheerful environment, and the like
After the application scene corresponding to the trigger event is acquired, the electronic equipment acquires a prompt tone corresponding to the application scene and plays the prompt tone to the user so as to remind the user that the event needs to be carried out.
For example, the application scene corresponding to the going-out event is a cheering environment, the prompt tone corresponding to the cheering environment is a rhythm cheering prompt tone, and after the electronic device acquires the prompt tone corresponding to the cheering environment, the corresponding prompt tone is played to prompt the user that the user should go out.
In order to enable the setting of the prompt tone to better meet the requirements of users, the volume of the played prompt tone can be adjusted according to the time period to which the moment of the occurrence of the trigger event belongs. The following describes a setting method of an electronic device alert tone according to another embodiment of the present invention.
As shown in fig. 2, the method for setting the alert tone of the electronic device includes the following steps:
In the present embodiment, the steps 201-202 are similar to the steps 101-102 in the above embodiments, and therefore, the description thereof is omitted.
In this embodiment, each application scene may correspond to multiple audios, that is, there are multiple candidate audios corresponding to each application scene, so that the user has more choices, and the diversity of the alert tones is improved.
And after the application scene corresponding to the trigger event is obtained, obtaining the target audio from the candidate audio corresponding to the application scene. Specifically, one audio may be randomly selected from the candidate audios as the target audio, or the number of times of playing each candidate audio in the application scene is counted, and the audio with the largest number of times of playing is taken as the target audio. The latest added audio can be selected from the candidate audios according to the time of adding the candidate audio into each audio in the candidate audios, and the latest added audio is taken as the target audio.
And step 204, taking the target audio as a sound source corresponding to the prompt tone.
And after the target audio is obtained, the target audio is taken as a sound source of a prompt tone of the trigger event, and the target audio is played when the prompt tone is played.
In this embodiment, when the user sets the prompt event, the time when the event occurs needs to be set, so that after the electronic device acquires the target audio, the time when the trigger event occurs can be extracted from the trigger event.
Because the user's demand for the warning tone is different in different time periods during the day, for example, the volume of the warning tone is smaller when the night is quieter, and the volume of the warning tone can be larger during the day compared with that at night. Therefore, one day may be divided into a plurality of time periods in advance. For example, day is divided into day from 6 am to 6 pm, and night is divided into night from 6 pm to 6 am, so that one day is divided into two time periods of day and night.
After the time periods are divided, the corresponding relation between the time periods and the volume is established. For example, the volume is divided into three levels, namely high level, medium level and low level, and the volume corresponding to night can be set as low level, and the volume corresponding to daytime can be set as medium level or high level.
After the moment of occurrence of the trigger event is obtained, the time period to which the moment of occurrence of the trigger event belongs is inquired according to the division of the time periods.
And step 207, automatically adjusting the volume of the prompt tone according to the affiliated time period, and playing the prompt tone to the user according to the adjusted volume.
And after the time period to which the moment of occurrence of the trigger event belongs is determined, adjusting the volume of the prompt tone according to the requirement of the time period on the volume. Then, the electronic device such as a sound can play the prompt tone according to the adjusted volume.
In this embodiment, through the time quantum that the moment that takes place according to the trigger event is located, the broadcast volume of adjustment warning sound to satisfied the different demands of user different time quantums to the volume, made the setting of warning sound satisfy user's diversified demand more.
In the above embodiment, one audio is selected from the candidate audio as the target audio, and as another possible implementation form, the audio selected by the user may also be used as the target audio. The following describes a setting method of an electronic device alert tone according to another embodiment of the present invention.
As shown in fig. 3, the method for setting the alert tone of the electronic device includes the following steps:
In this embodiment, when the user uses the electronic device for the first time, the electronic device may prompt the user to register through the display screen on the control panel. When the user uses the electronic equipment, the user can log in through an account number and a password. For example, when the user uses the audio device, the user can log in on a login page displayed on a display screen of the audio device through an account number and a password.
After the user logs in, the electronic device may send a first request carrying the application scenario to the user by popping up a prompt box. As an example, the user may be requested to select a corresponding audio for a certain application scene through the prompt box, and after the user finishes selecting, the user is requested to select a corresponding audio for the next application scene, and requests for selecting corresponding audios for all application scenes are sequentially sent.
In this embodiment, a user may click and select one of the audios in the audio list according to the audio list provided by the electronic device, so as to locally select the first audio corresponding to the application scene. The electronic equipment receives a first audio selected locally by a user according to a clicking operation, and stores the first audio to a position corresponding to an application scene according to user identity information such as account information.
Wherein the location corresponds to identity information of the user. That is, the electronic device stores the audio selected by the user to the corresponding location according to the identity information of the user, that is, the electronic device can store the audio selected by different users for the application scene.
The steps 303-304 in the present embodiment are similar to the steps 201-202 in the above-mentioned embodiment, and therefore, the description thereof is omitted.
And 305, pulling the first audio uploaded by the user from the position corresponding to the application scene.
After the application scene corresponding to the trigger event is obtained, the electronic device can find a position corresponding to the application scene according to the application scene and the user identity information, and pull the first audio uploaded by the user from the position.
And step 306, taking the first audio as a sound source corresponding to the prompt tone.
After the first audio uploaded by the user is obtained, the first audio is used as a sound source corresponding to the prompt tone of the trigger event.
And step 308, determining the time period to which the time belongs.
And 309, automatically adjusting the volume of the prompt tone according to the affiliated time period, and playing the prompt tone to the user according to the adjusted volume.
The steps 307-309 in this embodiment are similar to the steps 205-207 in the above embodiment, and therefore will not be described herein.
Further, in order to increase the personalized demand of the user, before step 303, the method may further include:
in this embodiment, the electronic device has an interface for connecting with a terminal device such as a mobile phone and a palm computer. After the electronic device is connected with the terminal device used by the user through the wireless connection or the USB interface, the electronic device can issue at least one audio corresponding to the application scene to the corresponding terminal device through the wireless or USB interface.
The user can edit the audio through the terminal device, such as resetting the start time point and the end time point of the audio, or changing the format of the audio, and the like, to obtain the selected audio. And after the user finishes editing the audio, uploading the selected audio to the electronic equipment through the terminal equipment through wireless connection or a USB interface.
The electronic equipment receives the selected audio selected by the user and the edit data of the selected audio by the user. The audio is then edited to form a second audio based on edit data, such as the audio's start and end time points and/or format. And finally, storing the second audio to a position corresponding to the application scene according to the identity information of the user. Wherein the location corresponds to identity information of the user.
In this embodiment, the user can edit the audio corresponding to the application scene provided by the electronic device as needed, so as to meet the personalized requirements of the user.
The method for setting the prompt tone of the electronic equipment comprises the steps of monitoring trigger events of the electronic equipment, wherein different trigger events correspond to different application scenes, obtaining a unique identifier of the trigger event from the trigger events after the trigger events are monitored, inquiring a mapping relation between the unique identifier and an application scene identifier according to the unique identifier, obtaining the application scenes corresponding to the trigger events, obtaining the prompt tone corresponding to the application scenes, and playing the prompt tone to a user. In the embodiment, the application scene corresponding to the trigger event is acquired through the mapping relation between the trigger event and the application scene, and the prompt tone corresponding to the application scene is acquired, so that when the prompt event occurs, the prompt tone is played according to the application scene, and different application scenes have different application requirements, so that the prompt tone is played according to the application scene corresponding to the prompt event, and the requirements of a user are met better.
In order to implement the above embodiments, the present invention further provides an electronic device.
As shown in fig. 4, the electronic apparatus includes: a monitoring module 410, an obtaining module 420 and a playing module 430.
The monitoring module 410 is used for monitoring a trigger event of the electronic device; wherein different trigger events correspond to different application scenarios.
The obtaining module 420 is configured to, after the trigger event is monitored, obtain the unique identifier of the trigger event from the trigger event, query a mapping relationship between the unique identifier and the application scene identifier according to the unique identifier, and obtain the application scene corresponding to the trigger event.
The playing module 430 is configured to obtain a prompt tone corresponding to the application scene, and play the prompt tone to the user.
The explanation of the embodiment of the method for setting the alert tone of the electronic device is also applicable to the electronic device of this embodiment, and therefore, the explanation will not be repeated here.
The electronic device of the embodiment of the invention acquires the unique identifier of the trigger event from the trigger event by monitoring the trigger event of the electronic device, inquires the mapping relation between the unique identifier and the application scene identifier according to the unique identifier, acquires the application scene corresponding to the trigger event, acquires the prompt tone corresponding to the application scene and plays the prompt tone to the user. In the embodiment, the application scene corresponding to the trigger event is acquired through the mapping relation between the trigger event and the application scene, and the prompt tone corresponding to the application scene is acquired, so that when the prompt event occurs, the prompt tone is played according to the application scene, and different application scenes have different application requirements, so that the prompt tone is played according to the application scene corresponding to the prompt event, and the requirements of a user are met better.
In order to implement the above embodiment, the present invention further provides another electronic device, including: a processor and a memory; wherein, the processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to realize the setting method of the electronic device prompt tone according to the foregoing embodiment.
To clearly illustrate the particular structure of the aforementioned electronic device, FIG. 5 shows a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 5 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 5, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The processing unit 16 implements the above-described setting method of the electronic apparatus alert tone by executing various functional applications and data processing by running a program stored in the system memory 28.
In order to implement the foregoing embodiments, the present invention further provides a computer program product, wherein when instructions in the computer program product are executed by a processor, the computer program product is used for implementing the setting method of the electronic device alert tone according to the foregoing embodiments.
In order to implement the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the setting method of the alert tone of the electronic device as described in the foregoing embodiments.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (10)
1. A method for setting prompt tone of electronic equipment is characterized by comprising the following steps:
monitoring a triggering event of the electronic device; the trigger events are preset events and time needing prompting for a user, and different trigger events correspond to different application scenes;
when the trigger event is monitored, acquiring a unique identifier of the trigger event from the trigger event, and inquiring a mapping relation between the unique identifier and an application scene identifier according to the unique identifier to acquire an application scene corresponding to the trigger event;
and acquiring a prompt tone corresponding to the application scene, and playing the prompt tone to a user so as to play the prompt tone according to the application scene corresponding to the trigger event when the trigger event occurs.
2. The method of claim 1, wherein the obtaining an alert tone corresponding to the application scenario comprises:
randomly selecting one audio frequency from the candidate audio frequencies in the application scene as a target audio frequency; alternatively, the first and second electrodes may be,
counting the playing times of each candidate audio in the application scene, and selecting one audio with the largest playing time from the candidate audio in the application scene as the target audio; alternatively, the first and second electrodes may be,
identifying a latest added audio from the candidate audio in the application scene, and taking the latest added audio as the target audio;
and taking the target audio as a sound source corresponding to the prompt tone.
3. The method of claim 1, wherein playing the alert tone to the user comprises:
extracting the moment of occurrence of the trigger event from the trigger event;
determining the time period to which the moment belongs;
and automatically adjusting the volume of the prompt tone according to the affiliated time period, and playing the prompt tone to the user according to the adjusted volume.
4. The method of any of claims 1-3, wherein the monitoring the electronic device for the triggering event is preceded by:
sending a first request carrying an application scene to the user; the first request is used for requesting audio corresponding to the application scene from the user;
receiving a first audio selected locally by the user, and saving the first audio to a position corresponding to the application scene; wherein the location corresponds to identity information of the user.
5. The method of claim 4, wherein the obtaining an alert tone corresponding to the application scene comprises:
pulling the first audio uploaded by the user from the position corresponding to the application scene;
and taking the first audio as a sound source corresponding to the prompt tone.
6. The method of claim 1, wherein prior to the monitoring the electronic device for the triggering event, further comprising:
at least one audio corresponding to the application scene is issued to the terminal equipment corresponding to the user;
receiving a selected audio selected by the user and edit data of the selected audio by the user, and editing the audio according to the edit data to form a second audio; wherein the edit data comprises a start time point and an end time point and/or a format of the audio;
storing the second audio to a position corresponding to the application scene; wherein the location corresponds to identity information of the user.
7. An electronic device, comprising:
the monitoring module is used for monitoring a trigger event of the electronic equipment; the trigger events are preset events and time needing prompting for a user, and different trigger events correspond to different application scenes;
the acquisition module is used for acquiring the unique identifier of the trigger event from the trigger event after the trigger event is monitored, inquiring the mapping relation between the unique identifier and the application scene identifier according to the unique identifier, and acquiring the application scene corresponding to the trigger event;
and the playing module is used for acquiring the prompt tone corresponding to the application scene and playing the prompt tone to a user so as to play the prompt tone according to the application scene corresponding to the trigger event when the trigger event occurs.
8. An electronic device, comprising: a processor and a memory; wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for implementing the setting method of the electronic device alert tone according to any one of claims 1 to 6.
9. A computer program product, characterized in that instructions in the computer program product, when executed by a processor, are adapted to implement the method of setting an alert tone of an electronic device according to any of claims 1-6.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method for setting an alert tone of an electronic device according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710791419.7A CN107656719B (en) | 2017-09-05 | 2017-09-05 | Electronic equipment prompt tone setting method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710791419.7A CN107656719B (en) | 2017-09-05 | 2017-09-05 | Electronic equipment prompt tone setting method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107656719A CN107656719A (en) | 2018-02-02 |
CN107656719B true CN107656719B (en) | 2020-12-11 |
Family
ID=61129187
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710791419.7A Active CN107656719B (en) | 2017-09-05 | 2017-09-05 | Electronic equipment prompt tone setting method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107656719B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108427549B (en) * | 2018-03-30 | 2021-09-28 | Oppo广东移动通信有限公司 | Method and device for processing sound of notification message, storage medium and terminal |
CN108881971B (en) * | 2018-07-09 | 2021-06-01 | 青岛海信智慧家居系统股份有限公司 | Method and device for establishing scene mode of audio and video equipment and client |
CN109669359B (en) * | 2018-11-28 | 2022-08-23 | 偶忆科技(深圳)有限公司 | Method and device for detecting passive equipment and electronic equipment |
WO2022022585A1 (en) * | 2020-07-31 | 2022-02-03 | 华为技术有限公司 | Electronic device and audio noise reduction method and medium therefor |
CN114246450B (en) * | 2020-09-21 | 2024-02-06 | 佛山市顺德区美的电热电器制造有限公司 | Information processing method, information processing device, cooking equipment and computer readable storage medium |
WO2023273440A1 (en) * | 2021-06-30 | 2023-01-05 | 华为技术有限公司 | Method and apparatus for generating plurality of sound effects, and terminal device |
CN113784001B (en) * | 2021-09-16 | 2023-11-24 | Oppo广东移动通信有限公司 | Audio data playing method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635770A (en) * | 2009-08-18 | 2010-01-27 | 宇龙计算机通信科技(深圳)有限公司 | Method for controlling volume of mobile terminal and mobile terminal |
CN103186677A (en) * | 2013-04-15 | 2013-07-03 | 北京百纳威尔科技有限公司 | Information display method and information display device |
CN103942021A (en) * | 2014-03-24 | 2014-07-23 | 华为技术有限公司 | Method for presenting content, method for pushing content presenting modes and intelligent terminal |
CN105787027A (en) * | 2016-02-24 | 2016-07-20 | 广东欧珀移动通信有限公司 | Audio file playing method and terminal |
CN106791163A (en) * | 2017-01-06 | 2017-05-31 | 深圳市金立通信设备有限公司 | A kind of volume adjusting method and terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130269503A1 (en) * | 2012-04-17 | 2013-10-17 | Louis Liu | Audio-optical conversion device and conversion method thereof |
CN104135705B (en) * | 2014-06-24 | 2018-05-08 | 惠州Tcl移动通信有限公司 | A kind of method and system according to different scenes pattern adjust automatically multimedia volume |
CN106648524A (en) * | 2016-09-30 | 2017-05-10 | 四川九洲电器集团有限责任公司 | Audio paying method and audio playing equipment |
CN106598541A (en) * | 2016-12-21 | 2017-04-26 | 深圳Tcl数字技术有限公司 | Sound adjusting method and system |
-
2017
- 2017-09-05 CN CN201710791419.7A patent/CN107656719B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635770A (en) * | 2009-08-18 | 2010-01-27 | 宇龙计算机通信科技(深圳)有限公司 | Method for controlling volume of mobile terminal and mobile terminal |
CN103186677A (en) * | 2013-04-15 | 2013-07-03 | 北京百纳威尔科技有限公司 | Information display method and information display device |
CN103942021A (en) * | 2014-03-24 | 2014-07-23 | 华为技术有限公司 | Method for presenting content, method for pushing content presenting modes and intelligent terminal |
CN105787027A (en) * | 2016-02-24 | 2016-07-20 | 广东欧珀移动通信有限公司 | Audio file playing method and terminal |
CN106791163A (en) * | 2017-01-06 | 2017-05-31 | 深圳市金立通信设备有限公司 | A kind of volume adjusting method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107656719A (en) | 2018-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107656719B (en) | Electronic equipment prompt tone setting method and electronic equipment | |
US9508236B2 (en) | Haptic warping system that transforms a haptic signal into a collection of vibrotactile haptic effect patterns | |
CN110060685B (en) | Voice wake-up method and device | |
US10283168B2 (en) | Audio file re-recording method, device and storage medium | |
CN112231021B (en) | Method and device for guiding new functions of software | |
US20160163331A1 (en) | Electronic device and method for visualizing audio data | |
JP6906584B2 (en) | Methods and equipment for waking up devices | |
CN108320751B (en) | Voice interaction method, device, equipment and server | |
US20200019371A1 (en) | Media content system for enhancing rest | |
CN110308888B (en) | Volume control method, electronic equipment and computer readable storage medium | |
CN113672748A (en) | Multimedia information playing method and device | |
CN108829370B (en) | Audio resource playing method and device, computer equipment and storage medium | |
CN111698529B (en) | Live broadcast monitoring method, device, equipment and computer readable storage medium | |
US10133408B2 (en) | Method, system and computer program product | |
CN113220262A (en) | Multi-application audio data distribution method and terminal equipment | |
CN112565976A (en) | Speaker driving circuit, temperature protection method, terminal device, and storage medium | |
CN111091827B (en) | Voice navigation method and device, terminal and computer readable storage medium | |
CN108196817B (en) | Audio recognition method, device and storage medium | |
CN112307161A (en) | Method and apparatus for playing audio | |
US11138260B2 (en) | Method and apparatus for determining output information | |
CN113038281B (en) | Video playing method, device, equipment and storage medium | |
CN103780612A (en) | Method for processing data and electronic devices | |
CN113885827A (en) | Audio playing method and device, electronic equipment, computer readable medium and product | |
US8914475B2 (en) | Method, device and terminal for editing and playing music according to data download speed | |
CN116074688A (en) | Audio playing method, 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 |