CN104599689A - Recording permission setting method - Google Patents
Recording permission setting method Download PDFInfo
- Publication number
- CN104599689A CN104599689A CN201410763059.6A CN201410763059A CN104599689A CN 104599689 A CN104599689 A CN 104599689A CN 201410763059 A CN201410763059 A CN 201410763059A CN 104599689 A CN104599689 A CN 104599689A
- Authority
- CN
- China
- Prior art keywords
- recording
- authority
- audio data
- original audio
- user
- 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
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/00086—Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Signal Processing (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The invention discloses a recording permission setting method. The method comprises the steps of acquiring original audio data of a microphone; counting the original audio data; determining whether the original audio data are out of voice according to the counting result; if so, determining that the recording permission is not opened; informing the user of the way to gain permission. With the adoption of the method, that no voice is recorded due to the problem of recording permission can be avoided, the solution can be provided to a user to perform normal recording, and therefore, a large number of troubleshooting times can be saved for the user.
Description
Technical field
The present invention relates to communication technical field, particularly a kind of method to set up of authority of recording.
Background technology
Now, recording audio sends to good friend, or recording video becomes us and to live an inseparable part, and privacy to be also us use the problem paid close attention to most during various application, often we do not note the leakage just causing privacy.And sometimes we use application in, do not note the content of prompting and at will click, thus cause the application queries of recording video to obtain right of recording in limited time, by our refusal, the video causing us to record obtaining is audio frequency that is noiseless or that record is noiseless.And user does not know because oneself maloperation causes, the problem that the cost plenty of time carries out software aspect or hardware aspect is investigated, such as check whether recording microphone damages, check volume offering question etc., some user can not find problem and just carries out brush machine or directly factory reset to mobile phone, causes certain puzzlement to user.
Summary of the invention
The present invention, for solving the problem, provides a kind of method to set up of authority of recording, and causes recording failure to avoid the maloperation because of user.
For achieving the above object, the technical solution used in the present invention is:
A method to set up for authority of recording, is characterized in that, comprises the following steps:
10. obtain microphone original audio data;
Original audio data described in 20. pairs is added up;
30. according to statistics judge described in original audio data whether be noiseless, if so, be then judged as recording authority do not open;
40. inform how user carries out the permission of authority.
Preferably, in described step 10, the original audio data of described microphone is PCM data layout.
Preferably, in described step 20, described original audio data is added up, mainly the data of each sampled point of described audio frequency is added up, obtain adding up and.
Whether, preferably, in described step 30, whether the original audio data described in judging according to statistics is noiseless, mainly judge the cumulative of original audio data and be 0, if so, then illustrates that described original audio data is the state not having sound.
Preferably, in described step 40, inform how user carries out the permission of authority, mainly inform that user is not owing to obtaining recording authority, can cause recording failure by interface, and inform how user carries out the permission of authority, to realize normal recording.
The invention has the beneficial effects as follows:
The method to set up of a kind of authority of recording of the present invention, its by obtain microphone original audio data, and described original audio data is added up, whether the original audio data described in judging according to statistics is noiseless, if, then be judged as that recording authority is not opened, and inform how user carries out the permission of authority, thus the problem and causing avoided because of authority of recording is recorded, the result obtained is noiseless, and provide solution to realize normal recording for user, for user has saved a large amount of problem investigation time.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the general flow chart of the method to set up of a kind of authority of recording of the present invention.
Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearly, understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Due to stricter to privacy requirement at present, when third party application needs acquisition camera, photograph album, address list, audio frequency etc. to relate to privacy time, user can be pointed out whether to allow authority to this application program, if unallowed words, just this function cannot be used, such as, if third party application needs to use this hardware of microphone, if user does not allow it to obtain this authority, it just cannot use this microphone, and the result of recording is all noiseless.The present invention is in order to solve this problem, and provide a kind of method to set up of authority of recording, as shown in Figure 1, it comprises the following steps:
10. obtain microphone original audio data;
Original audio data described in 20. pairs is added up;
30. according to statistics judge described in original audio data whether be noiseless, if so, be then judged as recording authority do not open;
40. inform how user carries out the permission of authority.
In described step 10, the original audio data of described microphone is PCM data layout.
In described step 20, described original audio data is added up, mainly the data of each sampled point of described audio frequency is added up, obtain adding up and.
Whether, in described step 30, whether the original audio data described in judging according to statistics is noiseless, mainly judge the cumulative of original audio data and be 0, if so, then illustrates that described original audio data is the state not having sound.If do not obtain owing to there is recording authority, thus cannot to copy the original audio data of this microphone, to cause the data captured to be all 0, thus cumulative and be also 0; Such as: if voice data is PCM form, then cumulative and be 0; Such as, if voice data is the audio formats such as extended formatting, WAV, TTA, FLAC, AU, APE, TAK, WavPack, then different statistical methods is adopted to carry out noiseless judgement according to the feature of different audio format; It should be noted that, for the voice data of PCM form, if normal recording, because environment can affect our recording quality, even record at quiet night, the recording result that it obtains also can not to be cumulative sum be 0 state.
In described step 40, inform how user carries out the permission of authority, mainly inform that user is not owing to obtaining recording authority, can cause recording failure by interface, and inform how user carries out the permission of authority, to realize normal recording; What such as directly can jump to recording authority arranges interface, or is undertaken arranging recording authority by ejecting Dialog notification user.
Recording of the present invention comprises the recording of video and the recording of independent sound.
PCM of the present invention (pulse code modulation (PCM)) is a kind of uncompressed audio digitizing technique, it is a kind of unpressed former sound reproducing, be widely used in the occasion of common CD, DVD and other various requirement highest audio quality, PCM is a kind of coded system analog voice signal being transformed to digital signal, and it is mainly through 3 processes: sampling, quantification and coding.Simulating signal continuous time is become the sampled signal of discrete time, continuously amplitude by sampling process, sampled signal is become the digital signal of discrete time, discrete amplitudes by quantizing process, and the Signal coding after quantification is become a scale-of-two code character and exports by cataloged procedure.
Above-mentioned explanation illustrate and describes the preferred embodiments of the present invention, be to be understood that the present invention is not limited to the form disclosed by this paper, should not regard the eliminating to other embodiments as, and can be used for other combinations various, amendment and environment, and can in invention contemplated scope herein, changed by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change do not depart from the spirit and scope of the present invention, then all should in the protection domain of claims of the present invention.
Claims (5)
1. a method to set up for authority of recording, is characterized in that, comprises the following steps:
10. obtain microphone original audio data;
Original audio data described in 20. pairs is added up;
30. according to statistics judge described in original audio data whether be noiseless, if so, be then judged as recording authority do not open;
40. inform how user carries out the permission of authority.
2. the method to set up of a kind of authority of recording according to claim 1, is characterized in that: in described step 10, and the original audio data of described microphone is PCM data layout.
3. the method to set up of a kind of authority of recording according to claim 1, is characterized in that: in described step 20, adds up described original audio data, mainly add up to the data of each sampled point of described audio frequency, obtain adding up and.
4. the method to set up of a kind of authority of recording according to claim 1, it is characterized in that: in described step 30, whether the original audio data described in judging according to statistics is noiseless, mainly judge the cumulative of original audio data and whether be 0, if so, then illustrate that described original audio data is the state not having sound.
5. the method to set up of a kind of authority of recording according to claim 1, it is characterized in that: in described step 40, inform how user carries out the permission of authority, mainly inform that user is not owing to obtaining recording authority by interface, recording failure can be caused, and inform how user carries out the permission of authority, to realize normal recording.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410763059.6A CN104599689A (en) | 2014-12-11 | 2014-12-11 | Recording permission setting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410763059.6A CN104599689A (en) | 2014-12-11 | 2014-12-11 | Recording permission setting method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104599689A true CN104599689A (en) | 2015-05-06 |
Family
ID=53125419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410763059.6A Pending CN104599689A (en) | 2014-12-11 | 2014-12-11 | Recording permission setting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104599689A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106529335A (en) * | 2016-10-27 | 2017-03-22 | 北京奇虎科技有限公司 | Method and device for restraining screenshot, and portable mobile terminal |
CN112558912A (en) * | 2020-12-11 | 2021-03-26 | 北京百家科技集团有限公司 | Application program and recording method thereof, terminal device and storage medium |
CN112767932A (en) * | 2020-12-11 | 2021-05-07 | 北京百家科技集团有限公司 | Voice evaluation system, method, device, equipment and computer readable storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140075546A1 (en) * | 2012-08-16 | 2014-03-13 | Tencent Technology (Shenzhen) Company Limited | Method and device for controlling invocation of an application programming interface |
-
2014
- 2014-12-11 CN CN201410763059.6A patent/CN104599689A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140075546A1 (en) * | 2012-08-16 | 2014-03-13 | Tencent Technology (Shenzhen) Company Limited | Method and device for controlling invocation of an application programming interface |
Non-Patent Citations (2)
Title |
---|
德问: "android使用AudioRecord遇到录音权限被禁用", 《HTTP://WWW.DEWEN.NET.CN/Q/17269/ANDROID+%E4%BD%BF%E7%94%A8AUDIORECORD+%E9%81%87%E5%88%B0%E5%BD%95%E9%9F%B3%E6%9D%83%E9%99%90%E8%A2%AB%E7%A6%81%E7%94%A8》 * |
统一下载站: "QQ音乐听歌识曲录音权限解决方法", 《HTTP://WWW.3987.COM/ARTICLE/MOBILE/SORT0504/40344.HTML》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106529335A (en) * | 2016-10-27 | 2017-03-22 | 北京奇虎科技有限公司 | Method and device for restraining screenshot, and portable mobile terminal |
CN106529335B (en) * | 2016-10-27 | 2019-12-13 | 北京安云世纪科技有限公司 | Method and device for limiting screenshot and portable mobile terminal |
CN112558912A (en) * | 2020-12-11 | 2021-03-26 | 北京百家科技集团有限公司 | Application program and recording method thereof, terminal device and storage medium |
CN112767932A (en) * | 2020-12-11 | 2021-05-07 | 北京百家科技集团有限公司 | Voice evaluation system, method, device, equipment and computer readable storage medium |
CN112558912B (en) * | 2020-12-11 | 2024-03-19 | 北京百家科技集团有限公司 | Application program, recording method thereof, terminal device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7391300B2 (en) | System for providing alert notifications for a communication device | |
Mauch et al. | The audio degradation toolbox and its application to robustness evaluation | |
US8326624B2 (en) | Detecting and communicating biometrics of recorded voice during transcription process | |
WO2016180100A1 (en) | Method and device for improving audio processing performance | |
US8472633B2 (en) | Detection of device configuration | |
CN104599689A (en) | Recording permission setting method | |
CN102447774A (en) | Method for receiving incoming call and communication terminal | |
US8130916B2 (en) | Dynamically improving performance of an interactive voice response (IVR) system using a complex events processor (CEP) | |
JP7394572B2 (en) | System and method for detecting fraudulent attempts at communications | |
Grigoras et al. | Analytical framework for digital audio authentication | |
US9123349B2 (en) | Methods and apparatus to provide speech privacy | |
WO2016107104A1 (en) | Method for recording voice communication information, terminal, and computer storage medium | |
CN110457002B (en) | Multimedia file processing method, device and computer storage medium | |
JP2017520011A (en) | System, method and apparatus for electronic communication with reduced information loss | |
CN112735481B (en) | POP sound detection method and device, terminal equipment and storage medium | |
CN104320549B (en) | Automatic CRBT detection method based on primary sound retrieval technique and system | |
US8705708B2 (en) | Indicators for voicemails | |
JP5812932B2 (en) | Voice listening device, method and program thereof | |
CN110809081A (en) | Method, system, storage medium and electronic device for detecting call fault | |
JP4825153B2 (en) | Talking section detection apparatus, method thereof, program, and recording medium | |
EP1657900A1 (en) | System and method for playing call tones during the establishment of a phone call in a voice over IP communication system | |
US20150103987A1 (en) | Method and system for generating digital events for analog phone systems | |
CN101110994B (en) | Method and system for implementing special audio playback of Do Not Disturb Service | |
JP5216114B2 (en) | Talking section detection apparatus, method thereof, and program | |
CN117714958A (en) | Audio detection method, system and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150506 |
|
WD01 | Invention patent application deemed withdrawn after publication |