CN112558912B - Application program, recording method thereof, terminal device and storage medium - Google Patents

Application program, recording method thereof, terminal device and storage medium Download PDF

Info

Publication number
CN112558912B
CN112558912B CN202011460004.XA CN202011460004A CN112558912B CN 112558912 B CN112558912 B CN 112558912B CN 202011460004 A CN202011460004 A CN 202011460004A CN 112558912 B CN112558912 B CN 112558912B
Authority
CN
China
Prior art keywords
recording
application program
user
permission
authority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011460004.XA
Other languages
Chinese (zh)
Other versions
CN112558912A (en
Inventor
史亮亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baijia Technology Group Co ltd
Original Assignee
Beijing Baijia Technology Group 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 Baijia Technology Group Co ltd filed Critical Beijing Baijia Technology Group Co ltd
Priority to CN202011460004.XA priority Critical patent/CN112558912B/en
Publication of CN112558912A publication Critical patent/CN112558912A/en
Application granted granted Critical
Publication of CN112558912B publication Critical patent/CN112558912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1262Formatting, e.g. arrangement of data block or words on the record carriers with more than one format/standard, e.g. conversion from CD-audio format to R-DAT format
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording
    • G11B2020/10546Audio or video recording specifically adapted for audio data
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B2020/1264Formatting, e.g. arrangement of data block or words on the record carriers wherein the formatting concerns a specific kind of data
    • G11B2020/1265Control data, system data or management information, i.e. data used to access or process user data

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses an application program, a recording method thereof, terminal equipment and a storage medium, wherein the recording method comprises the following steps: after receiving a recording starting request, determining whether the application program has recording permission; if the application program has the recording authority, starting recording and acquiring a recording state; and recording and controlling the application program according to the recording state. Therefore, after the recording is started, the recording control is performed according to the recording state, so that the current recording permission can be correctly identified even if an incorrect authorization result is received, and the problem that recording abnormality is caused by incorrect authorization, and further recording data cannot be obtained by a user, and user experience is poor is effectively solved.

Description

Application program, recording method thereof, terminal device and storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to an application program, a recording method thereof, a terminal device, and a storage medium.
Background
The android system is generally provided with an application program for executing a recording operation, when the application program starts recording, whether the application program has recording permission is checked, and when the application program determines that the application program has the recording permission after checking the recording permission or requesting the recording permission, recording is started until the recording is finished.
In the process, if the wrong authorization result is obtained, the recording is abnormal, so that the user cannot obtain the recording data, and the user experience is poor.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, a first objective of the present invention is to provide a recording method for an application program, which can effectively solve the problem that a user cannot obtain recording data and the user experience is poor due to recording abnormality caused by incorrect authorization.
A second object of the invention is to propose an application.
A third object of the present invention is to propose a terminal device.
A fourth object of the present invention is to propose a computer readable storage medium.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a recording method for an application program, including the following steps: after receiving a recording starting request, determining whether the application program has recording permission; if the application program has the recording authority, starting recording and acquiring a recording state; and recording and controlling the application program according to the recording state.
According to the recording method of the application program, after a recording starting request is received, whether the application program has recording permission is determined, if the application program has recording permission, recording is started, a recording state is obtained, and recording control is performed on the application program according to the recording state. Therefore, after the recording is started, the recording control is performed according to the recording state, so that the current recording permission can be correctly identified even if an incorrect authorization result is received, and the problem that recording abnormality is caused by incorrect authorization, and further recording data cannot be obtained by a user, and user experience is poor is effectively solved.
According to one embodiment of the present invention, recording control of an application program according to a recording state includes: if the recording state is in recording, continuing recording; and if the recording state is in the non-recording state, carrying out non-permission reminding on the user.
According to one embodiment of the invention, if the application program does not have recording rights, a no-rights reminder is made to the user.
According to one embodiment of the invention, the method for carrying out the non-authority reminding on the user comprises the following steps: carrying out non-authority information reminding on a user; or carrying out non-authority information reminding on the user and giving out an authority setting guide interface; or carrying out non-authority information reminding on the user and giving out an authority request permission setting interface.
According to an embodiment of the present invention, the recording method of the application program further includes: and after the recording is finished, playing the recording data.
To achieve the above object, an embodiment of a second aspect of the present invention provides an application program, including: a signal receiving unit for receiving a recording start request; the permission determining unit is used for determining whether the application program has recording permission or not after the signal receiving unit receives the recording starting request; and the recording execution unit is used for starting recording and acquiring a recording state when the application program has the recording right, and recording and controlling the application program according to the recording state.
According to the application program of the embodiment of the invention, the signal receiving unit receives the recording starting request, the permission determining unit determines whether the application program has recording permission after receiving the recording starting request, and the recording executing unit starts to execute recording and acquire a recording state when the application program has the recording permission, and performs recording control on the application program according to the recording state. Therefore, after the recording is started, the recording control is performed according to the recording state, so that the current recording permission can be correctly identified even if an incorrect authorization result is received, and the problem that recording abnormality is caused by incorrect authorization, and further recording data cannot be obtained by a user, and user experience is poor is effectively solved.
According to one embodiment of the invention, when the recording execution unit performs recording control on the application program according to the recording state, if the recording state is in recording, continuing recording; and if the recording state is in the non-recording state, carrying out non-permission reminding on the user through a reminding unit.
According to one embodiment of the invention, the reminding unit is used for reminding the user of the unauthorized information; or carrying out non-authority information reminding on the user and giving out an authority setting guide interface; or carrying out non-authority information reminding on the user and giving out an authority request permission setting interface.
To achieve the above object, an embodiment of the present invention provides a terminal device, including a memory and a processor, where the memory stores a computer program that can be run on the processor, and the processor implements the steps of the above method when executing the computer program.
According to the terminal equipment provided by the embodiment of the invention, by executing the recording method of the application program, after recording is started, recording control is performed according to the recording state, so that the current recording authority can be correctly identified even if an incorrect authorization result is received, and the problem that recording is abnormal due to incorrect authorization, so that a user cannot obtain recording data and the user experience is poor is effectively solved.
To achieve the above object, a computer-readable storage medium according to a fourth aspect of the present invention stores thereon a recording program of an application program, which when executed by a processor, implements the steps of the above method.
According to the computer readable storage medium, by executing the recording method of the application program, after recording is started, recording control is performed according to the recording state, so that even if an incorrect authorization result is received, the current recording authority can be correctly identified, and the problem that recording is abnormal due to incorrect authorization, and further, a user cannot obtain recording data, and user experience is poor is effectively solved.
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
FIG. 1 is a flow chart of a recording method of an application according to one embodiment of the present invention;
FIG. 2 is a flow chart of a recording method of an application according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of an application according to one embodiment of the invention;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
The application program, the recording method thereof, the terminal device and the storage medium according to the embodiment of the invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a recording method of an application program according to an embodiment of the present invention, and referring to fig. 1, the recording method of the application program may include the steps of:
step S101, after receiving the recording start request, determines whether the application program has recording rights.
The application program refers to a recording application program, and can be a recording application program of a system and a third party recording application program. The recording starting request may be triggered by the user through a recording interface of the recording application program, or may be triggered by application control logic of other application programs, for example, when a call is performed, the call software is automatically triggered, for example, when a network course learning is performed, the network course learning software is automatically triggered, and specifically, what triggering mode is not limited herein.
After receiving the recording starting request, the application program determines whether the recording permission exists currently, wherein the recording permission comprises microphone permission, storage permission and the like. When the microphone is provided with the microphone weight, the microphone can receive voice information and process the voice information to obtain voice data when recording is performed; when having the storage right, the storage medium can be accessed and the voice data stored to the storage medium.
Step S102, if the application program has recording authority, recording is started and a recording state is acquired.
When the application program has the recording right, the recording operation is started to be executed, such as the microphone is controlled to receive the voice information, the voice information is processed to obtain the voice data, and the voice data is stored in the storage medium.
And when the application program does not have the recording authority, carrying out no-authority reminding on the user. In some embodiments, the non-permission alert of the user may include: carrying out non-authority information reminding (namely reminding only) on the user; or, carrying out non-authority information reminding on the user and giving out an authority setting guiding interface (namely reminding and guiding); or, carrying out non-authority information reminding on the user, and giving an authority request permission setting interface (namely reminding and setting).
Specifically, when the application program does not have the recording right, the user can be reminded of corresponding information, for example, the user can be reminded of whether the recording right is authorized or not by displaying the 'acquisition right abnormality' through an interface, and at the moment, the user can exit the current application program and enter the 'system setting' to authorize the recording right; or entering a system setting to authorize recording permission according to a shortcut key or a shortcut gesture and the like.
Or, when the corresponding information reminding is carried out on the user, the operation reminding is carried out on the user, so that the user can conveniently carry out the authorization of the recording permission according to the operation reminding, and the problem that the user does not know how to set can be effectively solved. For example, displaying the keys of ' acquiring permission exception ', please check whether recording permission is authorized ' and ' opening application permission setting ', and at this time, the user can enter an application permission setting page by clicking the keys so as to perform corresponding permission setting; or displaying the keys of ' acquiring permission abnormality ', please check whether recording permission is authorized ' and ' opening the application detail page ' through an interface, and enabling a user to enter the application detail page by clicking the keys at the moment so as to set corresponding permission.
Or, when the user is reminded of the corresponding information, a permission setting interface is provided for permission request, namely, the permission setting interface is directly set in a permission request mode, for example, keys of ' acquiring permission abnormality ', please check whether to authorize recording permission ' and ' permission to start recording permission ' and ' prohibition to start ' are displayed through the interface, and at the moment, the user can select whether to start the corresponding recording permission through the keys.
It will be appreciated that other ways of performing no-authority reminding on the user may be adopted, for example, through popup windows, floating frames, etc., which will not be described in detail.
Step S103, recording control is carried out on the application program according to the recording state.
It should be noted that, due to the system difference of the terminal device, when determining whether the application program has the recording authority, sometimes an erroneous authorization result is obtained, for example, the obtained authorization result is that the application program has the recording authority, but in reality, the system does not open the authority, at this time, the microphone cannot be used, and the storage medium cannot be accessed. If the recording is continuously performed according to the normal procedure in the related art, the superficial application program is recording, but the microphone does not obtain the voice information or the voice data is not stored in the storage medium, that is, the recording is not performed, so that after the recording is finished, the user cannot obtain the voice data, and the user experience is poor.
When facing above-mentioned circumstances, this application is through obtaining the recording state after beginning recording, and whether really have recording permission at present according to the indirect judgement of recording state, and then carries out recording control to the application, even like this even receive wrong authorization result can also accurately judge whether really have recording permission at present through the recording state to effectively solved because of wrong authorization leads to recording unusual, and then lead to the user unable to obtain speech data, lead to the poor problem of user experience, promoted user experience greatly.
In one embodiment, recording control of an application according to a recording state may include: if the recording state is in recording, continuing recording; and if the recording state is in the non-recording state, carrying out non-permission reminding on the user.
That is, after the recording is started, the recording state can be detected, that is, whether the recording is in progress or not is detected, for example, whether the microphone receives voice information or not and whether the storage medium stores voice data or not can be detected, if the voice information and the storage medium simultaneously meet the voice information, the current recording is indicated, and further the recording permission is indicated to be in an authorized state, and at the moment, the application program can be controlled to continue recording; otherwise, the record permission is not in the record, and the record permission is not in the authorized state or is not in the authorized state, so that the user can be reminded of no permission.
In some embodiments, the non-permission alert of the user may include: carrying out non-authority information reminding (namely reminding only) on the user; or, carrying out non-authority information reminding on the user and giving out an authority setting guiding interface (namely reminding and guiding); or, carrying out non-authority information reminding on the user, and giving an authority request permission setting interface (namely reminding and setting).
Specifically, the user can be reminded of the permission to acquire by displaying the permission abnormality, please check whether to authorize the recording permission or not through the interface, and the user can exit the current application program and enter the system setting to authorize the recording permission. Or displaying a key of ' acquiring permission exception ', please check whether recording permission is authorized ' and ' opening application permission setting ', wherein a user can enter an application permission setting page by clicking the key at the moment so as to set corresponding permission; or displaying the keys of ' acquiring permission abnormality ', please check whether recording permission is authorized ' and ' opening the application detail page ' through an interface, and enabling a user to enter the application detail page by clicking the keys at the moment so as to set corresponding permission. Or displaying keys of ' acquisition permission exception ', please check whether recording permission is authorized ' and ' permission to start recording permission ' and ' prohibition to start ' through an interface, wherein a user can select whether corresponding recording permission needs to be started or not through the keys.
It will be appreciated that other ways of performing no-authority reminding on the user may be adopted, for example, through popup windows, floating frames, etc., which will not be described in detail.
In the above embodiment, after the recording is started, by judging the recording state, whether the current recording authority is in the authorized state can be indirectly judged, and further, the follow-up other operation flows such as the recording authority for prompting or guiding the user to open the application program are given, so that recording abnormality caused by wrong authorization is effectively solved, further, the problem that the user cannot obtain voice data and the user experience is poor is caused, and the user experience is greatly improved.
In one embodiment, the recording method of the application program may further include: and after the recording is finished, playing the recording data to verify the recording result.
Fig. 2 is a flowchart of a recording method of an application program according to another embodiment of the present invention, and referring to fig. 2, the recording method of the application program may include the steps of:
step S201, start, receive the request to start recording.
Step S202, checking whether recording rights exist. If yes (there may be a true recording right or a false recording right, i.e. the application program displays a recording right, but there is no recording right in practice), then step S203 is executed; if not, step S204 is performed.
Step S203, recording is started.
Step S204, carrying out non-authority reminding on the user, wherein the non-authority reminding can comprise information reminding, operation reminding and the like.
Step S205, detect the recording status and determine whether it is in recording. If yes, go to step S206; if not, return to step S204.
In step S206, the recording data is written into the file, i.e. in a normal recording state.
Step S207, the recording is ended according to the received recording ending request.
Step S208, the recording is finished.
Step S209, playing the recording data according to the received playing request.
In this example, after the recording is started, whether the recording authority is really possessed is indirectly judged through the recording state, if so, the recording is normally carried out, otherwise, the user is reminded, and therefore the problem that recording data cannot be obtained finally because the user is in recording on the surface but is not recorded in essence can be avoided.
In summary, according to the recording method of the application program in the embodiment of the present invention, after receiving a recording start request, it is determined whether the application program has recording permission, if the application program has recording permission, recording is started and a recording state is obtained, and recording control is performed on the application program according to the recording state. Therefore, after the recording is started, the recording control is performed according to the recording state, so that the current recording permission can be correctly identified even if an incorrect authorization result is received, and the problem that recording abnormality is caused by incorrect authorization, and further recording data cannot be obtained by a user, and user experience is poor is effectively solved.
Fig. 3 is a schematic structural diagram of an application program according to an embodiment of the present invention, and referring to fig. 3, the application program 300 may include: a signal receiving unit 301, a right determining unit 302, and a recording executing unit 303.
Wherein, the signal receiving unit 301 is configured to receive a recording start request; the permission determining unit 302 is configured to determine whether the application program has recording permission after the signal receiving unit receives the recording start request; the recording execution unit 303 is configured to start recording and acquire a recording state when the application program has a recording right, and perform recording control on the application program according to the recording state.
In one embodiment, when the recording executing unit 303 performs recording control on the application program according to the recording state, if the recording state is in recording, recording is continued; if the recording state is in non-recording, the user is warned by a warning unit (not shown in the figure) without permission.
In some embodiments, the reminding unit is used for reminding the user of the unauthorized information; or carrying out non-authority information reminding on the user and giving out an authority setting guide interface; or carrying out non-authority information reminding on the user and giving out an authority request permission setting interface.
It should be noted that, for the description of the application program in the present application, please refer to the description of the recording method of the application program in the present application, and detailed description thereof is omitted herein.
According to the application program of the embodiment of the invention, the signal receiving unit receives the recording starting request, the permission determining unit determines whether the application program has recording permission after receiving the recording starting request, and the recording executing unit starts recording and obtains a recording state when the application program has the recording permission, and performs recording control on the application program according to the recording state. Therefore, after the recording is started, the recording control is performed according to the recording state, so that the current recording permission can be correctly identified even if an incorrect authorization result is received, and the problem that recording abnormality is caused by incorrect authorization, and further recording data cannot be obtained by a user, and user experience is poor is effectively solved.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, where the terminal device may be a mobile phone, a computer, a wearable device, etc. Referring to fig. 4, the terminal device may include a processor, a memory, a display screen, and an input device connected through a system bus. Wherein the processor of the terminal device is adapted to provide computing and control capabilities. The memory of the terminal device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The computer program, when executed by a processor, implements a recording method for an application program. The display screen of the terminal equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the terminal equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the terminal equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 4 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the terminal device to which the present application is applied, and that a particular terminal device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
According to the terminal equipment provided by the embodiment of the invention, by executing the recording method of the application program, after recording is started, recording control is performed according to the recording state, so that the current recording authority can be correctly identified even if an incorrect authorization result is received, and the problem that recording is abnormal due to incorrect authorization, so that a user cannot obtain recording data and the user experience is poor is effectively solved.
In one embodiment, there is also provided a computer readable storage medium having stored thereon a recorded program of an application program which when executed by a processor implements the steps of the above method.
According to the computer readable storage medium, by executing the recording method of the application program, after recording is started, recording control is performed according to the recording state, so that even if an incorrect authorization result is received, the current recording authority can be correctly identified, and the problem that recording is abnormal due to incorrect authorization, and further, a user cannot obtain recording data, and user experience is poor is effectively solved.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered as a ordered listing of executable instructions for implementing logical functions, and may 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). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may 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 is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means 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 present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (8)

1. A recording method of an application program, comprising the steps of:
after receiving a recording starting request, determining whether the application program has recording permission;
if the application program has the recording authority, starting recording and acquiring a recording state;
recording control is carried out on the application program according to the recording state;
the recording control of the application program according to the recording state comprises the following steps:
if the recording state is in recording, continuing recording;
if the recording state is in non-recording, carrying out non-authority reminding on the user;
and detecting whether the microphone receives the voice information and detecting whether the storage medium stores the voice data, if so, indicating that the microphone is currently in recording, otherwise, indicating that the microphone is not in recording, and further indicating that the recording permission is not in an authorized state or is not in an authorized state, and carrying out permission-free reminding on the user.
2. The recording method of an application program according to claim 1, wherein if the application program does not have the recording authority, an unauthorized alert is made to a user.
3. The recording method of an application program according to claim 1 or 2, wherein the performing the no-authority reminder on the user includes:
carrying out non-authority information reminding on a user; or,
carrying out non-authority information reminding on a user and giving out an authority setting guide interface; or,
and carrying out non-authority information reminding on the user, and giving out an authority request permission setting interface.
4. The recording method of an application program according to claim 1, further comprising:
and after the recording is finished, playing the recording data.
5. An application program recording apparatus, comprising:
a signal receiving unit for receiving a recording start request;
the permission determining unit is used for determining whether the application program has recording permission or not after the signal receiving unit receives the recording starting request;
the recording execution unit is used for starting recording and acquiring a recording state when the application program has the recording right, and recording control on the application program according to the recording state;
when the recording execution unit performs recording control on the application program according to the recording state,
if the recording state is in recording, continuing recording;
if the recording state is in non-recording, carrying out non-authority reminding on the user through a reminding unit;
and detecting whether the microphone receives the voice information and detecting whether the storage medium stores the voice data, if so, indicating that the microphone is currently in recording, otherwise, indicating that the microphone is not in recording, and further indicating that the recording permission is not in an authorized state or is not in an authorized state, and carrying out permission-free reminding on the user.
6. The recording apparatus of an application program according to claim 5, wherein the alert unit is configured to,
carrying out non-authority information reminding on a user; or,
carrying out non-authority information reminding on a user and giving out an authority setting guide interface; or,
and carrying out non-authority information reminding on the user, and giving out an authority request permission setting interface.
7. Terminal device comprising a memory and a processor, the memory storing a computer program executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1-4 when the computer program is executed.
8. A computer readable storage medium, characterized by a sound recording program having stored thereon an application program, which when executed by a processor realizes the steps of the method according to any of claims 1-4.
CN202011460004.XA 2020-12-11 2020-12-11 Application program, recording method thereof, terminal device and storage medium Active CN112558912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011460004.XA CN112558912B (en) 2020-12-11 2020-12-11 Application program, recording method thereof, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011460004.XA CN112558912B (en) 2020-12-11 2020-12-11 Application program, recording method thereof, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN112558912A CN112558912A (en) 2021-03-26
CN112558912B true CN112558912B (en) 2024-03-19

Family

ID=75062441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011460004.XA Active CN112558912B (en) 2020-12-11 2020-12-11 Application program, recording method thereof, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN112558912B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254917B (en) * 2021-06-01 2021-10-15 武汉深之度科技有限公司 Recording permission management method, computing device and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004078736A (en) * 2002-08-21 2004-03-11 Yamatosokki Joho Center Co Ltd Playback control system for controlling playback of voice data or moving image data
CN101127949A (en) * 2007-08-30 2008-02-20 中国移动通信集团重庆有限公司 A method for realizing instant recording service based on mobile communication network
CN104599689A (en) * 2014-12-11 2015-05-06 厦门美图之家科技有限公司 Recording permission setting method
CN106681853A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Application crashing processing method and mobile terminal
CN106791011A (en) * 2016-11-29 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of control recording authority
CN109344616A (en) * 2018-09-13 2019-02-15 西安交通大学 A kind of mobile applications dynamically load behavior monitoring method and device
CN110097897A (en) * 2019-04-02 2019-08-06 烽火通信科技股份有限公司 A kind of Android device recording multiplexing method and system
CN110781490A (en) * 2018-07-30 2020-02-11 中兴通讯股份有限公司 Information processing method, terminal and computer readable storage medium
CN111078448A (en) * 2019-08-06 2020-04-28 华为技术有限公司 Method for processing audio abnormity and electronic equipment
CN111462785A (en) * 2020-04-03 2020-07-28 惠州Tcl移动通信有限公司 Recording control method, recording control device, storage medium and mobile terminal
CN112000891A (en) * 2020-09-14 2020-11-27 北京百家科技集团有限公司 Information pushing method and device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101813889B1 (en) * 2010-11-11 2018-01-04 삼성전자 주식회사 Device and method for controlling alarm according to undesired function in mobile terminal
US9203936B2 (en) * 2013-10-07 2015-12-01 At&T Intellectual Property I, Lp Method and apparatus for initiating communication sessions
CA2925542C (en) * 2013-10-17 2021-08-17 Adt Us Holdings, Inc. Portable system for managing events

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004078736A (en) * 2002-08-21 2004-03-11 Yamatosokki Joho Center Co Ltd Playback control system for controlling playback of voice data or moving image data
CN101127949A (en) * 2007-08-30 2008-02-20 中国移动通信集团重庆有限公司 A method for realizing instant recording service based on mobile communication network
CN104599689A (en) * 2014-12-11 2015-05-06 厦门美图之家科技有限公司 Recording permission setting method
CN106791011A (en) * 2016-11-29 2017-05-31 维沃移动通信有限公司 The method and mobile terminal of a kind of control recording authority
CN106681853A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Application crashing processing method and mobile terminal
CN110781490A (en) * 2018-07-30 2020-02-11 中兴通讯股份有限公司 Information processing method, terminal and computer readable storage medium
CN109344616A (en) * 2018-09-13 2019-02-15 西安交通大学 A kind of mobile applications dynamically load behavior monitoring method and device
CN110097897A (en) * 2019-04-02 2019-08-06 烽火通信科技股份有限公司 A kind of Android device recording multiplexing method and system
CN111078448A (en) * 2019-08-06 2020-04-28 华为技术有限公司 Method for processing audio abnormity and electronic equipment
CN111462785A (en) * 2020-04-03 2020-07-28 惠州Tcl移动通信有限公司 Recording control method, recording control device, storage medium and mobile terminal
CN112000891A (en) * 2020-09-14 2020-11-27 北京百家科技集团有限公司 Information pushing method and device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Privacy Requirements for mobile e-Service in the Health Authority - Abu Dhabi (HAAD);Asad M. Khattak;2016 11th International Conference for Internet Technology and Secured Transactions (ICITST);204-209 *
智能终端控制及隐私保护研究;宋首友;中国优秀硕士论文全文数据库电子期刊;I138-69 *

Also Published As

Publication number Publication date
CN112558912A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN107690620B (en) Application suggestion based on detected trigger events
US20140201833A1 (en) Electronic device and method for fast activating application after unlocking
CN103106024A (en) Text input method in touch screen terminal and apparatus therefor
US20140223542A1 (en) Secure note system for computing device lock screen
CN104184701A (en) Third-party application log-in method, device and terminal
TW201426546A (en) Techniques for switching threads within routines
CN112558912B (en) Application program, recording method thereof, terminal device and storage medium
CN107087075B (en) Prompting method based on screen fingerprint identification and mobile terminal
CN104615429A (en) Unlocking method and device for terminal
US20150089449A1 (en) Electronic device and method for unlocking the electronic device
CN105335066A (en) Notification message control method and device
CN105243304B (en) A kind of unlocking method and device of mobile terminal
CN110727941A (en) Private data protection method and device, terminal equipment and storage medium
CN109179102A (en) A kind of boarding control method of elevator, device
CN105786370A (en) Method and device for unlocking user interface
CN113780163A (en) Page loading time detection method and device, electronic equipment and medium
CN106874757A (en) The discharging method of Malware, the uninstalling system of Malware and terminal
CN110737882A (en) Electronic equipment and method for starting fingerprint under screen
CN105141750A (en) Screen locking method and terminal
CN108009039B (en) Terminal information recording method, device, storage medium and electronic equipment
CN105511770A (en) Control method and device of mobile terminal as well as mobile terminal
US10469603B2 (en) Using a historical record of actions taken by a group of users to identify responsive actions in a computing system
WO2020259176A1 (en) Input protection method and apparatus for capacitive touch key in medical system
CN111400037A (en) Memory management method and device, computer storage medium and terminal
US20190236261A1 (en) Swipe unlocking method, system, and electronic device using the method

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