[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106503596A - The method and apparatus of playing alert tones, electronic equipment - Google Patents

The method and apparatus of playing alert tones, electronic equipment Download PDF

Info

Publication number
CN106503596A
CN106503596A CN201610958882.1A CN201610958882A CN106503596A CN 106503596 A CN106503596 A CN 106503596A CN 201610958882 A CN201610958882 A CN 201610958882A CN 106503596 A CN106503596 A CN 106503596A
Authority
CN
China
Prior art keywords
electronic equipment
unisonance
programmable button
inputting interface
programmable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610958882.1A
Other languages
Chinese (zh)
Inventor
骆艳飞
张亮
伍亮雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610958882.1A priority Critical patent/CN106503596A/en
Publication of CN106503596A publication Critical patent/CN106503596A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/83Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof
    • 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)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of method and apparatus of playing alert tones, electronic equipment.Methods described includes:When determining that the first programmable button in inputting interface occurs incoming event, the first prompt tone is played, the inputting interface includes at least two programmable buttons;When the second programmable button in the inputting interface is monitored occurs incoming event, first prompt tone is played, second programmable button is one or more in other programmable buttons in the inputting interface in addition to first programmable button.The technical scheme of the disclosure can cause other people to identify character corresponding with each prompt tone, and then cannot obtain the information content is input into by user, can lift the safety of user profile by eavesdropping the prompt tone that electronic equipment is sent in input process.

Description

The method and apparatus of playing alert tones, electronic equipment
Technical field
It relates to technical field of mobile terminals, more particularly to a kind of method and apparatus of playing alert tones, electronics set Standby.
Background technology
At present, the inputting interface on electronic equipment may include multiple programmable buttons, and each programmable button is specific corresponding to one Character, user can be by clicking on the programmable button in the inputting interface come input information.In input process, in response to each Secondary user clicks on the operation of programmable button, and electronic equipment generally requires broadcasting prompt tone corresponding with the programmable button.
In the related, each programmable button in inputting interface corresponds respectively to different prompt tones, for example, input Interface may include 10 programmable buttons corresponding with character " 0 "~" 9 ", then predeterminable 10 kinds of different prompt tones, and will be each Programmable button carries out corresponding respectively from above-mentioned 10 kinds of different prompt tones.Each presetting in due to inputting interface is pressed Key corresponds respectively to different prompt tones so that other people can by eavesdropping the prompt tone that electronic equipment is sent in input process, Character corresponding with each prompt tone is identified, and then obtains the information content is input into by user, caused to user information safety Adverse effect.
Content of the invention
For overcoming problem present in correlation technique, the embodiment of the present disclosure to provide a kind of method of playing alert tones and dress Put, electronic equipment.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method of playing alert tones, including:
When determining that the first programmable button in inputting interface occurs incoming event, the first prompt tone, input circle is played Face includes at least two programmable buttons;
When the second programmable button in the inputting interface is monitored occurs incoming event, first prompting is played Sound, second programmable button are in other programmable buttons in the inputting interface in addition to first programmable button Or it is multiple.
In one embodiment, methods described also includes:
Determine the electronic equipment whether in unisonance broadcast state, the unisonance broadcast state be for different default by The incoming event of key plays the state of same prompt sound;
When second programmable button in the inputting interface is monitored occurs incoming event, play described first and carry Show sound, including:
In unisonance broadcast state and monitor that the second programmable button in the inputting interface is sent out in the electronic equipment During raw incoming event, first prompt tone is played.
In one embodiment, methods described also includes:
The second programmable button if the electronic equipment is not in unisonance broadcast state, in the inputting interface is monitored During generation incoming event, the second prompt tone is played.
In one embodiment, methods described also includes:
In preset time period, the electronic equipment is placed in unisonance broadcast state;Or,
When the intensity of sound that the electronic equipment is detected is less than predetermined threshold value, the electronic equipment is placed in unisonance and is broadcast Put state;Or,
When geographical position of the electronic equipment in preset kind is detected, the electronic equipment is placed in unisonance and is broadcast Put state;Or,
Detect in order to the electronic equipment is placed in unisonance broadcast state instruction when, the electronic equipment is placed in Unisonance broadcast state.
In one embodiment, after the electronic equipment is placed in unisonance broadcast state, methods described also includes:At least By the first programmable button and the second programmable button in the inputting interface, carry out with the first prompt tone respectively corresponding.
In one embodiment, at least by the first programmable button and the second programmable button in the inputting interface, difference With the first prompt tone carry out corresponding before, methods described also includes:
From prestoring in order to audio file that play in the non-unisonance broadcast state and with each programmable button corresponding In, one is chosen in order to the audio file played in the unisonance broadcast state;
The audio file that chooses is defined as audio file corresponding with the first prompt tone.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device of playing alert tones, including:
First playing module, during for determining that the first programmable button in inputting interface occurs incoming event, plays first Prompt tone, the inputting interface include at least two programmable buttons;
Second playing module, for monitor the second programmable button in the inputting interface occur incoming event when, First prompt tone is played, second programmable button is other in the inputting interface in addition to first programmable button One or more in programmable button.
In one embodiment, described device also includes:
Determining module, for whether determining the electronic equipment in unisonance broadcast state, the unisonance broadcast state is Incoming event for different programmable buttons plays the state of same prompt sound;
Second playing module is used for:
In unisonance broadcast state and monitor that the second programmable button in the inputting interface is sent out in the electronic equipment During raw incoming event, first prompt tone is played.
In one embodiment, described device also includes:
3rd playing module, is used for:
The second programmable button if the electronic equipment is not in unisonance broadcast state, in the inputting interface is monitored During generation incoming event, the second prompt tone is played.
In one embodiment, described device also includes:
State handover module, is used for:
In preset time period, the electronic equipment is placed in unisonance broadcast state;Or,
When the intensity of sound that the electronic equipment is detected is less than predetermined threshold value, the electronic equipment is placed in unisonance and is broadcast Put state;Or,
When geographical position of the electronic equipment in preset kind is detected, the electronic equipment is placed in unisonance and is broadcast Put state;Or,
Detect in order to the electronic equipment is placed in unisonance broadcast state instruction when, the electronic equipment is placed in Unisonance broadcast state.
In one embodiment, described device also includes:
Respective modules, at least by the first programmable button and the second programmable button in the inputting interface, respectively with First prompt tone carries out corresponding.
In one embodiment, described device also includes:
Choose module, for from prestore in order to playing in the non-unisonance broadcast state and with each programmable button pair In the audio file that answers, choose one in order to the audio file played in the unisonance broadcast state, and will selection the audio frequency File is defined as audio file corresponding with the first prompt tone.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of electronic equipment, including:
Processor and the memorizer for storing processor executable;
Wherein, the processor is configured to:
When determining that the first programmable button in inputting interface occurs incoming event, the first prompt tone, input circle is played Face includes at least two programmable buttons;
When the second programmable button in the inputting interface is monitored occurs incoming event, first prompting is played Sound, second programmable button are in other programmable buttons in the inputting interface in addition to first programmable button Or it is multiple.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
For user triggering the programmable button different from two (such as the first programmable button, the second programmable button) corresponding Incoming event, electronic equipment can send same prompt tone (i.e. above-mentioned first prompt tone), so that other people cannot pass through to steal The prompt tone that electronic equipment is sent in input process is listened, character corresponding with each prompt tone is identified, and then cannot be obtained The information content is input into by user, can lift the safety of user profile.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement for meeting the present invention Example, and the principle for being used for explaining the present invention together with description.
Fig. 1 is a kind of flow chart of the method for the playing alert tones according to an exemplary embodiment;
Fig. 2 is a kind of schematic diagram of the inputting interface according to an exemplary embodiment;
Fig. 3 is the flow chart of the method for another kind of playing alert tones according to an exemplary embodiment;
Fig. 4 is the flow chart of the method for another playing alert tones according to an exemplary embodiment;
Fig. 5 is the flow chart of the method for another playing alert tones according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of the device of the playing alert tones according to an exemplary embodiment;
Fig. 7 is the block diagram of the device of another kind of playing alert tones according to an exemplary embodiment;
Fig. 8 is the block diagram of the device of another kind of playing alert tones according to an exemplary embodiment;
Fig. 9 is the block diagram of the device of another playing alert tones according to an exemplary embodiment;
Figure 10 is the block diagram of the device of another playing alert tones according to an exemplary embodiment;
Figure 11 is a kind of block diagram of the device suitable for playing alert tones according to an exemplary embodiment.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some being described in detail in claims, of the invention.
The disclosure using term be purpose only merely for description specific embodiment, and be not intended to be limiting the disclosure. " one kind ", " described " and " being somebody's turn to do " of singulative used in disclosure and the accompanying claims book is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein is referred to and is wrapped Containing one or more associated any or all possible combination for listing project.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depend on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
Fig. 1 is a kind of flow chart of the method for the playing alert tones according to an exemplary embodiment, and Fig. 2 is according to one A kind of schematic diagram of the inputting interface shown in exemplary embodiment.The method can be applied on an electronic device, and the electronics sets For may include the computer installations such as mobile phone, computer, personal digital assistant (PDA), as shown in figure 1, the method may include following step Rapid 101~102:
In a step 101, when determining that the first programmable button in inputting interface occurs incoming event, play first and point out Sound, the inputting interface include at least two programmable buttons.
Inputting interface can be displayed at the inputting interface including multiple virtual keys in touch display screen, or including many The inputting interface of individual physical button, wherein, each programmable button corresponds respectively to a specific character, and user can pass through to click on institute The programmable button in inputting interface is stated, information input is carried out.
In a step 102, when the second programmable button in the inputting interface is monitored occurs incoming event, institute is played State the first prompt tone, second programmable button be other in the inputting interface in addition to first programmable button default by One or more in key.
Herein, " the first programmable button " and " the second programmable button " can default can send same prompting Any two button of sound.
In one embodiment, can be in advance by audio files storage corresponding with prompt tone to be played in the finger of electronic equipment Determine under path.After the operation (i.e. incoming event) of programmable button of the electronic equipment in user's click inputting interface is monitored, Need to read audio file corresponding with clicked programmable button under specified path and play out.Wherein, in the finger Determine under path, corresponding with each programmable button can be same audio file, so that no matter user clicks on inputting interface In which programmable button, electronic equipment all plays same prompt tone.In another embodiment, in the specified path Under, same audio file can be copied many parts (number of copy can be equal with the number of the programmable button), and with not Same filename is named, and hereafter, each audio file is corresponded respectively to a programmable button.
Shown in ginseng Fig. 2, in an exemplary scene, above-mentioned inputting interface can be the dialing interface on electronic equipment 10 12, user is called by the dialing interface.Wherein, dialing interface 12 may include and character " 0 "~" 9 " and character " * ", " # " distinguish corresponding programmable button 121.Corresponding in order to, during each programmable button 121 above-mentioned is clicked on, play Prompt tone, can be in the specified path of mobile phone (such as:System/media/audio/effects prestore under) default with each 121 corresponding audio file of button, its name include:Key0.ogg, key1.ogg, key2.ogg ..., key9.ogg etc.. Then when the playing function of handset dialing prompt tone is not in mute state in opening and mobile phone, mobile phone can be from upper State corresponding audio file is read in specified path and is played out.In the present embodiment, above-mentioned path " System/media/ Each audio file stored under audio/effects " can correspond to same prompt tone, will same audio file copy many Part simultaneously adopts different names.Certainly, in another embodiment, above-mentioned path " System/media/audio/effects " An audio file can be stored, is named as:Allkey.ogg, no matter which in user's click to dial interface is default presses Key, reads the above-mentioned audio file for being named as " allkey.ogg " and plays out.Certainly, the application scenarios of the disclosure are not received Limit, above-mentioned inputting interface can also include:It is used for inputing interface of password etc. in certain application.
In a kind of scene, all buttons in dialing interface 12 can be both corresponded to same prompt tone (i.e. first Prompt tone), so, after any one button of user in above-mentioned dialing interface 12 is clicked on, all send same prompt tone. Certainly, in another scene, also can be by the part button in dialing interface 12 (such as:2,4 etc.) correspond to same prompting Sound.
In the present embodiment, when electronic equipment is in unisonance broadcast state, monitoring and the in the inputting interface During the corresponding incoming event of one programmable button, the first prompt tone is played;Monitoring to preset with second in the inputting interface During the corresponding incoming event of button, first prompt tone is played.It can be seen that, for user triggers the programmable buttons different from two Corresponding incoming event, electronic equipment can send same prompt tone (i.e. above-mentioned first prompt tone), so that other people cannot By eavesdropping the prompt tone that electronic equipment is sent in input process, character corresponding with each prompt tone, Jin Erwu is identified Method obtains the information content is input into by user, can lift the safety of user profile.In one embodiment, methods described is also wrapped Include:
Determine the electronic equipment whether in unisonance broadcast state, the unisonance broadcast state be for different default by The incoming event of key plays the state of same prompt sound;
When second programmable button in the inputting interface is monitored occurs incoming event, play described first and carry Show sound, including:
In unisonance broadcast state and monitor that the second programmable button in the inputting interface is sent out in the electronic equipment During raw incoming event, first prompt tone is played.
In one embodiment, methods described also includes:
The second programmable button if the electronic equipment is not in unisonance broadcast state, in the inputting interface is monitored During generation incoming event, the second prompt tone is played.
In one embodiment, methods described also includes:
In preset time period, the electronic equipment is placed in unisonance broadcast state;Or,
When the intensity of sound that the electronic equipment is detected is less than predetermined threshold value, the electronic equipment is placed in unisonance and is broadcast Put state;Or,
When geographical position of the electronic equipment in preset kind is detected, the electronic equipment is placed in unisonance and is broadcast Put state;Or,
Detect in order to the electronic equipment is placed in unisonance broadcast state instruction when, the electronic equipment is placed in Unisonance broadcast state.
In one embodiment, described the electronic equipment is placed in unisonance broadcast state after, methods described also includes:
Each programmable button in the inputting interface is corresponded to same audio file.
In one embodiment, each programmable button by the inputting interface corresponding to same audio file it Before, methods described also includes:
From prestoring in order to audio file that play in the non-unisonance broadcast state and with each programmable button corresponding In, one is chosen in order to the audio file played in the unisonance broadcast state;
Correspondingly, each programmable button by the inputting interface corresponds to same audio file, including:
By each programmable button in the inputting interface corresponding to the audio file that chooses.
So far, due to clicking at least two programmable buttons in input page, electronic equipment can send same prompt tone, So that other people cannot be identified and each prompt tone pair by eavesdropping the prompt tone that electronic equipment is sent in input process The character that answers, and then the information content is input into by user cannot be obtained, the safety of user profile can be lifted.
The concrete broadcasting for how realizing prompt tone, refer to subsequent embodiment.
Fig. 3 is the flow chart of the method for another kind of playing alert tones according to an exemplary embodiment.The method can To apply on an electronic device, the electronic equipment may include the computer installations such as mobile phone, computer, personal digital assistant (PDA), As shown in figure 3, the method may include following steps:
In step 201, in the instruction for detecting to show inputting interface, show the inputting interface.
In step 202., when determining that the first programmable button in inputting interface occurs incoming event, play first and point out Sound.
In step 203, determine the electronic equipment whether in unisonance broadcast state.Wherein, if the electronic equipment The unisonance broadcast state is in, then enters step 204;If the electronic equipment is in non-unisonance broadcast state, step is entered Rapid 205.
In one embodiment, the electronic equipment can be at two states:Unisonance broadcast state and non-unisonance broadcast state. Wherein, the unisonance broadcast state is the state of the incoming event broadcasting same prompt sound for different programmable buttons, and described Non- unisonance broadcast state is then contrary.The electronic equipment can according to the actual requirements, the unisonance broadcast state and described non-with Switch between sound broadcast state.Usually, the electronic equipment can be turned on and off prompt tone playing function, can pass through User's specific operation on an electronic device is realizing.When being closed due to the prompt tone playing function of electronic equipment, can not Any prompt tone is played, therefore, above-mentioned steps 202 need to be performed when the prompt tone playing function of electronic equipment is opened.Certainly, Above-mentioned unisonance broadcast state is referred to as " unisonance pattern ", and above-mentioned non-unisonance broadcast state is referred to as " non-unisonance mould Formula ".
When electronic equipment is in unisonance broadcast state, after user clicks on the different programmable buttons in inputting interface, electricity The same prompt tone of sub- device plays.When electronic equipment is in non-unisonance broadcast state, user clicks on the difference in inputting interface After programmable button, different prompt tones played by electronic equipment.By setting above two broadcast state for electronic equipment so that Electronic equipment can be switched to a certain broadcast state according to self-demand by user, so that user experience is more preferable.When So, in other embodiments, electronic equipment can be in unisonance broadcast state all the time, and do not possess and be switched to other broadcast states Function.
In step 204, when the second programmable button in the inputting interface is monitored occurs incoming event, institute is played State the first prompt tone.
In the present embodiment, audio frequency text corresponding with each programmable button can be stored under a store path of electronic equipment Part, its name include:Key0.ogg, key1.ogg, key2.ogg ..., key9.ogg etc..Also, with the store path Under the corresponding prompt tone of each audio file different.
It can be seen that, in the present embodiment, when electronic equipment is in unisonance broadcast state, due to clicking on first in input page After programmable button and the second programmable button, electronic equipment can send same prompt tone, so that other people cannot pass through The prompt tone that electronic equipment is sent in input process is eavesdropped, character corresponding with each prompt tone is identified, and then cannot be obtained The information content is input into by user is obtained, the safety of user profile can be lifted.
In step 205, when the second programmable button in the inputting interface is monitored occurs incoming event, the is played Two prompt tones.Wherein, second prompt tone is different from first prompt tone.
In the present embodiment, when electronic equipment is in non-unisonance broadcast state, the prompting corresponding to each programmable button Sound is not quite similar.For example, inputting interface includes 10 buttons, then be provided with 10 kinds of different prompt tones, and difference accordingly Correspond with above-mentioned 10 buttons.By electronic equipment is switched to non-unisonance broadcast state, hope can be met and clicked in advance If the demand of the user of different prompt tones is played during button, lift user experience.Certainly, in other feasible realities Apply in example, it is also possible to without above-mentioned steps 205.
Fig. 4 is the flow chart of the method for another playing alert tones according to an exemplary embodiment.The method can To apply on an electronic device, the electronic equipment may include the computer installations such as mobile phone, computer, personal digital assistant (PDA), As shown in figure 4, the method may include following steps 301~304:
In step 301, electronic equipment is placed in unisonance broadcast state.
In one embodiment, step 301 may include:
In preset time period, the electronic equipment is placed in unisonance broadcast state.
For example, user can set above-mentioned preset time period as daily 8:00 to 22:00, on user sets After stating preset time period, electronic equipment can be placed in unisonance broadcast state when preset time period arrives by electronic equipment.Upper State preset time period:8:00 to 22:00, user is generally in public environment (such as office, outdoor or market etc.), and here In class public environment, as people is more, when user is dialled on an electronic device, dialled information content more may be by other people Stolen by way of eavesdropping prompt tone.On the other hand, the other times section outside above-mentioned preset time period, such as:22: 01 to 7:59, during user typically goes back home, the probability that the above-mentioned dial content of generation is stolen is relatively low.In view of the foregoing, can be with According to their needs, a preset time period is set, so that electronic equipment is set in the preset time period by by user In unisonance broadcast state, to prevent stealing for dial content.
In another embodiment, step 301 may include:
When the intensity of sound that electronic equipment is detected is less than predetermined threshold value, the electronic equipment is placed in unisonance and plays shape State.
In the present embodiment, electronic equipment has the function of the intensity of sound in detection surrounding.Usually, more pacifying In quiet environment, his talent is more prone to by way of eavesdropping prompt tone the content for stealing subscriber dialing, conversely, more disturbing by making noise In noisy environment, generally other people steal dial content difficulty larger.In consideration of it, a predetermined threshold value can be set (such as:60 points Shellfish), the intensity of sound that local environment is detected by electronic equipment, and whether the intensity of sound for judging to detect is default more than above-mentioned The electronic equipment, when the intensity of sound for detecting is less than predetermined threshold value, is placed in unisonance broadcast state by threshold value.
In another embodiment, step 301 may include:
When geographical position of the electronic equipment in preset kind is detected, the electronic equipment is placed in unisonance and plays shape State.
In the present embodiment, preset kind may include:Market, office building etc..It is fixed to be carried out by the GPS on electronic equipment Position, to determine above-mentioned preset kind.In electronic equipment on the geographical position of above-mentioned preset kind, generally there is above- mentioned information The probability that steals is higher, therefore, when geographical position of the electronic equipment in preset kind is detected, the electronic equipment is put In unisonance broadcast state.
In another embodiment, step 301 may include:
Detect in order to the electronic equipment is placed in unisonance broadcast state instruction when, the electronic equipment is placed in Unisonance broadcast state.The instruction can be triggered by operation on an electronic device by user, such as:Click on electronic equipment In order to switch the specified button of broadcast state.
It can be seen that, electronic equipment can be placed in unisonance broadcast state by various ways by above example.
In step 302, at least by the first programmable button and the second programmable button in the inputting interface, respectively with One prompt tone carries out corresponding.
In step 303, when incoming event corresponding with the first programmable button in the inputting interface is monitored, broadcast Put the first prompt tone.
In step 304, when incoming event corresponding with the second programmable button in the inputting interface is monitored, broadcast Put first prompt tone.
In the present embodiment, the setting of pre-set user, electronic equipment can be played in unisonance broadcast state and non-unisonance automatically Switch between state.Also, when electronic equipment is in unisonance broadcast state, preset due to clicking in input page first Button and the second programmable button, electronic equipment can send same prompt tone, so that other people cannot be set by eavesdropping electronics The standby prompt tone sent in input process, identifies character corresponding with each prompt tone, and then it is defeated to obtain user institute The information content for entering, can lift the safety of user profile.
Fig. 5 is the flow chart of the method for another playing alert tones according to an exemplary embodiment.The method can To apply on an electronic device, the electronic equipment may include the computer installations such as mobile phone, computer, personal digital assistant (PDA), As shown in figure 5, the method may include following steps 401~405:
In step 401, electronic equipment is placed in unisonance broadcast state.
In step 402, from prestore in order to playing in the non-unisonance broadcast state and with each programmable button pair In the audio file that answers, one is chosen in order to the audio file played in the unisonance broadcast state.
In step 403, the audio file that chooses is defined as audio file corresponding with the first prompt tone.
In the present embodiment, electronic equipment can be in specified path (such as:System/media/audio/effects under) in advance Storage and each 121 corresponding audio file of programmable button, its name include:key0.ogg、key1.ogg、 Key2.ogg ..., key9.ogg etc..Also, the prompt tone corresponding to each audio file above-mentioned is different.Set in electronics During for being in non-unisonance broadcast state, be not usually required to anti-information stealth, then the programmable button that electronic equipment is clicked on according to user, Audio file corresponding with the programmable button that clicks on is read from above-mentioned specified path and is played out.Such as:User click on be Programmable button corresponding with digital " 1 ", then electronic equipment reading are named as the audio file of " key1.ogg " and play.
When electronic equipment is in unisonance broadcast state, need each programmable button on inputting interface and same audio frequency File carries out corresponding to, so that during user input, electronic equipment can play same prompt tone, to prevent other people from stealing Win the confidence breath.For this purpose, in the present embodiment, can be from the multiple audio frequency under above-mentioned path " System/media/audio/effects " File:Key0.ogg, key1.ogg, key2.ogg ..., in key9.ogg, choose an audio file (such as: Key0.ogg), so that the electronic equipment in unisonance broadcast state plays the audio file that chooses (such as:key0.ogg).Its In, electronic equipment can randomly select an audio file from multiple audio files, or be determined which sound chosen by user Frequency file.Certainly, in other embodiments, user can also download an audio file (need to meet form and file size will Ask), and the audio file that will be set as that electronic equipment is played in unisonance broadcast state.Or, will store on the electronic equipment Other audio files (requirement of form and file size need to be met), be set as what electronic equipment was played in unisonance broadcast state Audio file.
In the present embodiment, by choosing an audio file, and set it to electronic equipment and enter in unisonance broadcast state The audio file that row is played, so as to when electronic equipment is in unisonance broadcast state, first pre- in input page due to clicking on If button and the second programmable button, electronic equipment can send same prompt tone, so that other people cannot be by eavesdropping electronics The prompt tone that equipment is sent in input process, identifies character corresponding with each prompt tone, and then cannot obtain user institute The information content of input, can lift the safety of user profile.
Fig. 6 is a kind of block diagram of the device of the playing alert tones according to an exemplary embodiment.As shown in fig. 6, this In embodiment, described device includes:
First playing module 41, during for determining that the first programmable button in inputting interface occurs incoming event, plays the One prompt tone, the inputting interface include at least two programmable buttons;And
First playing module 42, for monitoring the generation incoming event of the second programmable button in the inputting interface When, play first prompt tone, second programmable button be in the inputting interface in addition to first programmable button One or more in other programmable buttons.
Fig. 7 is the block diagram of the device of another kind of playing alert tones according to an exemplary embodiment.As shown in fig. 7, In the present embodiment, on the basis of the device shown in above-mentioned Fig. 6, the device can also include:
Whether determining module 43, for determining the electronic equipment in unisonance broadcast state, the unisonance broadcast state It is the state of the incoming event broadcasting same prompt sound for different programmable buttons.
Correspondingly, second playing module 42 can be used for:
In unisonance broadcast state and monitor that the second programmable button in the inputting interface is sent out in the electronic equipment During raw incoming event, first prompt tone is played.
Fig. 8 is the block diagram of the device of another kind of playing alert tones according to an exemplary embodiment.As shown in figure 8, In the present embodiment, on the basis of the device shown in above-mentioned Fig. 7, the device can also include:
3rd playing module 44, is used for:
The second programmable button if the electronic equipment is not in unisonance broadcast state, in the inputting interface is monitored During generation incoming event, the second prompt tone is played.
Fig. 9 is the block diagram of the device of another playing alert tones according to an exemplary embodiment.As shown in figure 9, In the present embodiment, on the basis of the device shown in above-mentioned Fig. 7, the device also includes:
State handover module 45, is used for:
In one embodiment, the state handover module 45 can be used for:
In preset time period, the electronic equipment is placed in unisonance broadcast state.
In another embodiment, the state handover module 45 can be used for:
When the intensity of sound that the electronic equipment is detected is less than predetermined threshold value, the electronic equipment is placed in unisonance and is broadcast Put state.
In another embodiment, the state handover module 45 can be used for:
When geographical position of the electronic equipment in preset kind is detected, the electronic equipment is placed in unisonance and is broadcast Put state.
In another embodiment, the state handover module 45 can be used for:
Detect in order to the electronic equipment is placed in unisonance broadcast state instruction when, the electronic equipment is placed in Unisonance broadcast state.
In one embodiment, described device also includes:
Respective modules 45, at least by the first programmable button and the second programmable button in the inputting interface, difference Carry out with the first prompt tone corresponding.
Figure 10 is the block diagram of the device of another playing alert tones according to an exemplary embodiment.Such as Figure 10 institutes Show, in the present embodiment, on the basis of the device shown in above-mentioned Fig. 7, the device also includes:
Choose module 47, for from prestore in order to playing in the non-unisonance broadcast state and with each programmable button In corresponding audio file, choose one in order to the audio file played in the unisonance broadcast state, and will selection the sound Frequency file is defined as audio file corresponding with the first prompt tone.
Device in regard to above-described embodiment, wherein modules execute the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 11 is a kind of block diagram of the device 800 suitable for playing alert tones according to an exemplary embodiment. For example, device 800 can be the electronic equipment with inputting interface, such as:Mobile phone, computer, PDA etc..
With reference to Figure 11, device 800 can include following one or more assemblies:Process assembly 802, memorizer 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of 802 usual control device 800 of process assembly, such as with display, call, data communication, phase The associated operation of machine operation and record operation.Treatment element 802 can refer to execute including one or more processors 820 Order, the processing unit 802 can be configured to:
When determining that the first programmable button in inputting interface occurs incoming event, the first prompt tone, input circle is played Face includes at least two programmable buttons;
When the second programmable button in the inputting interface is monitored occurs incoming event, first prompting is played Sound, second programmable button are in other programmable buttons in the inputting interface in addition to first programmable button Or it is multiple.
Additionally, process assembly 802 can include one or more modules, it is easy between process assembly 802 and other assemblies Interaction.For example, processing component 802 can include multi-media module, with facilitate multimedia groupware 808 and process assembly 802 it Between interaction.
Memorizer 804 is configured to store various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application program for operating on device 800 or method, message, picture etc..Memorizer 804 can be with Realized by any kind of volatibility or non-volatile memory device or combinations thereof, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM) may be programmed Read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between device 800 and user.In some realities Apply in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch screen, to receive the input signal from user.Touch panel include one or more touch sensors with Gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or sliding action border, and And also detect the persistent period related to touch or slide and pressure.In certain embodiments, multimedia groupware 808 includes One front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, such as screening-mode or during video mode is front Put the multi-medium data that photographic head and/or post-positioned pick-up head can receive outside.Each front-facing camera and post-positioned pick-up head can To be a fixed optical lens system or there is focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, such as call model, logging mode and speech recognition mode, mike is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memorizer 804 or via communication set Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, for exports audio signal.
I/O interfaces 812 are to provide interface between process assembly 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, comments for providing the state of various aspects for device 800 Estimate.For example, sensor cluster 814 can detect the opening/closed mode of equipment 800, the such as relative localization of component, component For the display and keypad of device 800, sensor cluster 814 can be with the position of 800 1 components of detection means 800 or device Change is put, user is presence or absence of with what device 800 was contacted, the temperature of 800 orientation of device or acceleration/deceleration and device 800 Change.Sensor cluster 814 can include proximity transducer, be configured to when without any physical contact near detection The presence of object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for answering in imaging With used in.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensor, magnetic Sensor, distance-sensor, pressure transducer or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WIFI, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 816 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, communication component 816 also includes near-field communication (NFC) module, to promote junction service.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth can be based in NFC module (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include that the memorizer 804 for instructing, above-mentioned instruction can be executed by the processor 820 of device 800 to complete said method.For example, Non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light Data storage device etc..Those skilled in the art will readily occur to this after considering description and putting into practice disclosure disclosed herein Other embodiments disclosed.The application is intended to any modification, purposes or the adaptations of the disclosure, these changes Type, purposes or adaptations follow the general principle of the disclosure undocumented in the art including the disclosure Common knowledge or conventional techniques.Description and embodiments are considered only as exemplary, the true scope of the disclosure and spirit Pointed out by claim below.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a kind of method of playing alert tones, it is characterised in that include:
When determining that the first programmable button in inputting interface occurs incoming event, the first prompt tone is played, in the inputting interface Including at least two programmable buttons;
When the second programmable button in the inputting interface is monitored occurs incoming event, first prompt tone, institute is played It is or many in other programmable buttons in the inputting interface in addition to first programmable button to state the second programmable button Individual.
2. method according to claim 1, it is characterised in that methods described also includes:
Whether the electronic equipment is determined in unisonance broadcast state, the unisonance broadcast state is for different programmable buttons Incoming event plays the state of same prompt sound;
When second programmable button in the inputting interface is monitored occurs incoming event, first prompting is played Sound, including:
In unisonance broadcast state and monitor that the generation of the second programmable button in the inputting interface is defeated in the electronic equipment During incoming event, first prompt tone is played.
3. method according to claim 2, it is characterised in that methods described also includes:
If the electronic equipment is not in unisonance broadcast state, the second programmable button in the inputting interface is monitored occurs During incoming event, the second prompt tone is played.
4. method according to claim 1, it is characterised in that methods described also includes:
In preset time period, the electronic equipment is placed in unisonance broadcast state;Or,
When the intensity of sound that the electronic equipment is detected is less than predetermined threshold value, the electronic equipment is placed in unisonance and plays shape State;Or,
When geographical position of the electronic equipment in preset kind is detected, the electronic equipment is placed in unisonance and plays shape State;Or,
Detect in order to the electronic equipment is placed in unisonance broadcast state instruction when, the electronic equipment is placed in unisonance Broadcast state.
5. method according to claim 4, it is characterised in that by the electronic equipment be placed in unisonance broadcast state it Afterwards, methods described also includes:
At least by the first programmable button and the second programmable button in the inputting interface, it is right to carry out with the first prompt tone respectively Should.
6. method according to claim 5, it is characterised in that at least by the first programmable button in the inputting interface With the second programmable button, carry out with the first prompt tone respectively corresponding before, methods described also includes:
From prestoring in order to audio file that play in the non-unisonance broadcast state and corresponding with each programmable button, choosing One is taken in order to the audio file played in the unisonance broadcast state;
The audio file that chooses is defined as audio file corresponding with the first prompt tone.
7. a kind of device of playing alert tones, it is characterised in that include:
First playing module, during for determining that the first programmable button in inputting interface occurs incoming event, playing first and pointing out Sound, the inputting interface include at least two programmable buttons;
Second playing module, for when monitoring that the second programmable button in the inputting interface occurs incoming event, playing First prompt tone, second programmable button are that other in the inputting interface in addition to first programmable button are preset One or more in button.
8. device according to claim 7, it is characterised in that described device also includes:
Determining module, for whether determining the electronic equipment in unisonance broadcast state, the unisonance broadcast state is to be directed to The incoming event of different programmable buttons plays the state of same prompt sound;
Second playing module is used for:
In unisonance broadcast state and monitor that the generation of the second programmable button in the inputting interface is defeated in the electronic equipment During incoming event, first prompt tone is played.
9. device according to claim 8, it is characterised in that described device also includes:
3rd playing module, if being not in unisonance broadcast state for the electronic equipment, in the inputting interface is monitored The second programmable button occur incoming event when, play the second prompt tone.
10. device according to claim 7, it is characterised in that described device also includes:
State handover module, is used for:
In preset time period, the electronic equipment is placed in unisonance broadcast state;Or,
When the intensity of sound that the electronic equipment is detected is less than predetermined threshold value, the electronic equipment is placed in unisonance and plays shape State;Or,
When geographical position of the electronic equipment in preset kind is detected, the electronic equipment is placed in unisonance and plays shape State;Or,
Detect in order to the electronic equipment is placed in unisonance broadcast state instruction when, the electronic equipment is placed in unisonance Broadcast state.
11. devices according to claim 10, it is characterised in that described device also includes:
Respective modules, at least by the first programmable button and the second programmable button in the inputting interface, respectively with first Prompt tone carries out corresponding.
12. devices according to claim 11, it is characterised in that described device also includes:
Module is chosen, for from prestoring in order to playing in the non-unisonance broadcast state and with each programmable button corresponding In audio file, choose one in order to the audio file played in the unisonance broadcast state, and will selection the audio file It is defined as audio file corresponding with the first prompt tone.
13. a kind of electronic equipment, it is characterised in that include:
Processor and the memorizer for storing processor executable;
Wherein, the processor is configured to:
When determining that the first programmable button in inputting interface occurs incoming event, the first prompt tone is played, in the inputting interface Including at least two programmable buttons;
When the second programmable button in the inputting interface is monitored occurs incoming event, first prompt tone, institute is played It is or many in other programmable buttons in the inputting interface in addition to first programmable button to state the second programmable button Individual.
CN201610958882.1A 2016-10-27 2016-10-27 The method and apparatus of playing alert tones, electronic equipment Pending CN106503596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610958882.1A CN106503596A (en) 2016-10-27 2016-10-27 The method and apparatus of playing alert tones, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610958882.1A CN106503596A (en) 2016-10-27 2016-10-27 The method and apparatus of playing alert tones, electronic equipment

Publications (1)

Publication Number Publication Date
CN106503596A true CN106503596A (en) 2017-03-15

Family

ID=58322509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610958882.1A Pending CN106503596A (en) 2016-10-27 2016-10-27 The method and apparatus of playing alert tones, electronic equipment

Country Status (1)

Country Link
CN (1) CN106503596A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257416A (en) * 2017-07-19 2017-10-17 北京小米移动软件有限公司 Processing method, device and the terminal of digital keys input
CN108536313A (en) * 2018-03-30 2018-09-14 联想(北京)有限公司 A kind of input equipment and information processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060259668A1 (en) * 2005-05-10 2006-11-16 Hung-Peng Kang System for managing sound input/output and method for the same
CN1933632A (en) * 2005-09-12 2007-03-21 乐金电子(中国)研究开发中心有限公司 A mobile communication terminal having security text output function and the method thereof
CN102800337A (en) * 2011-05-25 2012-11-28 汉王科技股份有限公司 Method and equipment for playing keytone
CN104423937A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Processing method of keypad tone of terminal, device and terminal thereof
CN105426790A (en) * 2015-11-18 2016-03-23 北京微智全景信息技术有限公司 Touch screen based password security input method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060259668A1 (en) * 2005-05-10 2006-11-16 Hung-Peng Kang System for managing sound input/output and method for the same
CN1933632A (en) * 2005-09-12 2007-03-21 乐金电子(中国)研究开发中心有限公司 A mobile communication terminal having security text output function and the method thereof
CN102800337A (en) * 2011-05-25 2012-11-28 汉王科技股份有限公司 Method and equipment for playing keytone
CN104423937A (en) * 2013-08-23 2015-03-18 中兴通讯股份有限公司 Processing method of keypad tone of terminal, device and terminal thereof
CN105426790A (en) * 2015-11-18 2016-03-23 北京微智全景信息技术有限公司 Touch screen based password security input method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257416A (en) * 2017-07-19 2017-10-17 北京小米移动软件有限公司 Processing method, device and the terminal of digital keys input
CN108536313A (en) * 2018-03-30 2018-09-14 联想(北京)有限公司 A kind of input equipment and information processing method

Similar Documents

Publication Publication Date Title
CN104503688B (en) The control method and device of intelligent hardware devices
CN106028143A (en) Video live broadcasting method and device
CN104391635A (en) Device and method for unlocking screen
CN103841264A (en) Method and device for protecting terminal equipment and terminal equipment
CN107357505A (en) The method, apparatus and computer-readable recording medium of screenshot capture
CN106970769A (en) Multi-screen display method and device
CN107769881A (en) Information synchronization method, apparatus and system, storage medium
CN105511749A (en) Method and device for equipment control
CN105930707A (en) Method and device for switching systems
CN105141758A (en) Terminal control method and device
CN105426060B (en) application control method and device
CN107682538A (en) The display methods and device of application interface
CN107783715A (en) Using startup method and device
CN106462835A (en) Calendar event creation method and device
CN105893854B (en) Encryption and decryption method and device
CN107168543A (en) Control method of keyboard and device
CN106790018A (en) Resource-sharing player method and device
CN106775377A (en) The control method of gesture identifying device, equipment and gesture identifying device
CN105187671A (en) Recording method and device
CN104281431B (en) The method and device that audio plays
CN106096442B (en) Applications trigger method and device
CN106503596A (en) The method and apparatus of playing alert tones, electronic equipment
CN105141797A (en) Visiting processing method and device
CN105955635B (en) Interface display method and device
CN105072243B (en) Income prompting method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication