CN106303004B - The way of recording, device and mobile terminal under screen lock state - Google Patents

The way of recording, device and mobile terminal under screen lock state Download PDF

Info

Publication number
CN106303004B
CN106303004B CN201610634732.5A CN201610634732A CN106303004B CN 106303004 B CN106303004 B CN 106303004B CN 201610634732 A CN201610634732 A CN 201610634732A CN 106303004 B CN106303004 B CN 106303004B
Authority
CN
China
Prior art keywords
recording
operational order
preset condition
preset
lock state
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
CN201610634732.5A
Other languages
Chinese (zh)
Other versions
CN106303004A (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 Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201610634732.5A priority Critical patent/CN106303004B/en
Publication of CN106303004A publication Critical patent/CN106303004A/en
Application granted granted Critical
Publication of CN106303004B publication Critical patent/CN106303004B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones

Abstract

The invention discloses the way of recording, device and the mobile terminals under a kind of screen lock state.Wherein, this method comprises the following steps: in the state of the lock screen, receiving the first operational order that user implements preset function key;Determine whether first operational order meets the first preset condition;If meeting the first preset condition, recording is opened.Based on the application, user can quickly open recording by the operational order that execution meets preset condition, and operating process is more convenient.

Description

The way of recording, device and mobile terminal under screen lock state
Technical field
The present invention relates to field of computer technology, more particularly, under a kind of screen lock state the way of recording, device and Mobile terminal.
Background technique
With the development of electronic information technology, function possessed by mobile terminal is also more and more, and gradually to diversification Multimedia mobile devices development.In the function of multiplicity, recording is almost the standard configuration of all mobile terminals.Mobile terminal is inherently It is easy to carry about with one, user can open recording whenever and wherever possible, very convenient.
However, mobile terminal most time is in not used state, when unused, mobile terminal is generally in lock Screen state.If needing to open recording at this time immediately, saving scene dialogue, such as the instant evidence obtaining of lawyer.User needs The locking for releasing mobile terminal, into homepage after search recorder application, be then turned on recorder and record, this process It is very complicated, it may talk with and be over, and record and do not open yet, cause missing for recording opportunity.
Summary of the invention
In view of the above problems, the invention proposes the way of recording, device and the mobile terminals under a kind of screen lock state, solve The process that the prior art opens recording in the state of the lock screen is cumbersome, is not easy to the problem of operation.
According to the first aspect of the invention, the present invention provides the way of recording under a kind of screen lock state, includes the following steps: In the state of the lock screen, the first operational order that user implements preset function key is received;Determine first operational order Whether first preset condition is met;If meeting the first preset condition, recording is opened.
According in a first aspect, the present invention is in the first implementation of first aspect, the judgement described first is operated The step of whether instruction meets the first preset condition, specifically: determine whether first operational order is long press operation, if Long press operation determines and meets the first preset condition.
According in a first aspect, the present invention is in second of implementation of first aspect, the judgement described first is operated The step of whether instruction meets the first preset condition, specifically: determine whether first operational order is double click operation, if Double click operation determines and meets the first preset condition.
According to second of implementation of first aspect to first aspect, the present invention is in the third realization side of first aspect Further include following steps in formula: receiving the second operational order that user implements preset function key;Determine second behaviour It instructs and whether meets the second preset condition;If meeting the second preset condition, terminates the recording and save recorded audio File.
According to the third implementation of first aspect, the present invention is described in the 4th kind of implementation of first aspect The step of whether second operational order meets the second preset condition determined, specifically: determine that second operational order is No is long press operation, if long press operation, determines and meets the second preset condition.
According to the third implementation of first aspect, the present invention is described in the 5th kind of implementation of first aspect The step of whether second operational order meets the second preset condition determined, specifically: determine that second operational order is No is double click operation, if double click operation, determines and meets the second preset condition.
According to second of implementation of first aspect to first aspect, the present invention is in the 6th kind of realization side of first aspect Further include following steps in formula: after the recording predetermined hold-time, terminating the recording and save recorded audio text Part.
According to the third implementation of first aspect, the present invention also wraps in the 7th kind of implementation of first aspect It includes following steps: the audio file recorded is sent to predetermined server, alternatively, the audio file recorded is passed through default Social application be sent to default contact person.
According to the 6th of first aspect the kind of implementation, the present invention also wraps in the 8th kind of implementation of first aspect It includes following steps: the audio file recorded is sent to predetermined server, alternatively, the audio file recorded is passed through default Social application be sent to default contact person.
According in a first aspect, the present invention in the 9th kind of implementation of first aspect, it is described in the state of the lock screen, receive Further include following steps after the step of the first operational order that user implements preset function key: obtaining pressure sensing The pressure data of the characterization function button pressure of device, determine the pressure data whether with preset pressure comparison data Match;If the first preset condition of the satisfaction, recording is opened, comprising: if first operational order meets the first default item The part and pressure data matches with preset pressure comparison data opens recording.
According in a first aspect, the present invention in the tenth kind of implementation of first aspect, it is described in the state of the lock screen, receive Further include following steps after the step of the first operational order that user implements preset function key: obtaining optical sensing The light intensity data of the intensity of illumination of characterization the machine local environment of device, determine the light intensity data whether with default beam intensity ratio logarithm According to matching;If the first preset condition of the satisfaction, recording is opened, comprising: if first operational order meets preset condition And the light intensity data matches with the default light intensity comparison data, opens recording.
According in a first aspect, the present invention in a kind of the tenth implementation of first aspect, it is described in the state of the lock screen, connect Further include following steps after the step of receiving the first operational order that user implements preset function key: obtaining distance and pass The range data of characterization the machine of sensor moving distance in the given time, determine the range data whether with it is described it is default away from Match from comparison data;If the first preset condition of the satisfaction, recording is opened, comprising: if first operational order meets The preset condition and range data matches with pre-determined distance comparison data opens recording.
According to the third implementation of first aspect, the present invention is in the 12nd kind of implementation of first aspect, institute Stating screen lock state includes the safe screen lock state for needing password to unlock and the common screen lock state without password unlock.
According to the 12nd of first aspect the kind of implementation, the present invention in the 13rd kind of implementation of first aspect, If the second preset condition of the satisfaction, terminate the recording and the step of save recorded audio file, comprising: if meeting the Two preset conditions identify the type of the screen lock state, if safe screen lock state, terminate what the recording and saving was recorded Audio file terminates the recording and saves recorded audio to preset secure storage catalogue if common screen lock state The audio storage catalogue of file extremely default;The secure storage catalogue only after password authentification passes through, receives the access of user.
According to the second aspect of the invention, the embodiment of the invention provides the recording device under a kind of screen lock state, the locks Recording device under screen state has the function of realizing the way of recording behavior in above-mentioned first aspect under screen lock state.The function Corresponding software realization can also can be executed by hardware by hardware realization.The hardware or software include one or Multiple modules corresponding with above-mentioned function.
According to the third aspect of the invention we, the embodiment of the invention provides a kind of mobile terminal, mobile terminal includes default Function button, processor, memory and microphone;The function button generates operation for triggering in the state of the lock screen for user Instruction;Recording is opened or terminated to the microphone for receiving control instruction;The memory supports screen lock state for storing Under recording device execute the program of the way of recording under above-mentioned screen lock state;The processor is configured to for executing institute State the program stored in memory.The mobile terminal can also include communication interface, be used for and other equipment or communication network Communication.
According to the fourth aspect of the invention, the embodiment of the invention provides a kind of computer storage mediums, for being stored as Computer software instructions used in recording device under above-mentioned screen lock state, it includes be screen lock state for executing above-mentioned aspect Under recording device designed by program.
Compared with the existing technology, it is based on scheme provided by the invention, in the state of the lock screen, user is received and preset function is pressed The first operational order that key is implemented;Determine whether first operational order meets the first preset condition;If it is pre- to meet first If condition, recording is opened.Therefore, user can quickly open recording by the operational order that execution meets preset condition, operate Process is more convenient, and the user experience is improved.
The aspects of the invention or other aspects can more straightforwards in the following description.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the flow chart of the way of recording under the screen lock state of an embodiment of the present invention;
Fig. 2 is the flow chart of the way of recording under the screen lock state of an embodiment of the present invention;
Fig. 3 is the flow chart of the way of recording under the screen lock state of an embodiment of the present invention;
Fig. 4 is the flow chart of the way of recording under the screen lock state of an embodiment of the present invention;
Fig. 5 is the flow chart of the way of recording under the screen lock state of an embodiment of the present invention;
Fig. 6 is the flow chart of the way of recording under the screen lock state of an embodiment of the present invention;
Fig. 7 is the flow chart of the way of recording under the screen lock state of an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of the recording device under the screen lock state of an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of the recording device under the screen lock state of an embodiment of the present invention;
Figure 10 is the structural schematic diagram of the recording device under the screen lock state of an embodiment of the present invention;
Figure 11 is the structural schematic diagram of the recording device under the screen lock state of an embodiment of the present invention;
Figure 12 is the structural schematic diagram of the recording device under the screen lock state of an embodiment of the present invention;
Figure 13 is the outline structural diagram of the mobile phone of an embodiment of the present invention;
Figure 14 is the structural schematic diagram of the mobile phone of an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, serial number It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
A kind of way of recording under screen lock state, this method are applied to mobile terminal, preset on the mobile terminal active Energy key, and the mobile terminal has display screen and microphone, the display screen is for providing display interface, and microphone is for obtaining Take ambient sound.As shown in Figure 1, it includes the following steps:
S101: in the state of the lock screen, the first operational order that user implements preset function key is received.
By monitoring the working condition of display screen, to determine whether mobile phone is in screen lock state.If being in screen lock state, connect Receive the operational order of user.Wherein, a kind of guard mode when screen lock state is mobile phone inoperative.Under screen lock state, mobile phone can In bright screen or screen state of going out, in the bright screen of mobile phone, mobile phone shows locking screen interface in the state of the lock screen.
Preset function key is newly-installed physical button on mobile terminal, the volume adjustment being different from mobile terminal The conventional physicals key such as key and screen locking key.Running of mobile terminal has the background service program of the function button, the background service journey The key-press event reporting system of function button is executed corresponding operating after being responded by system by sequence.The function button can be with movement Other physical buttons or virtual key in terminal combine to form Macintosh, combine to be formed with different physical buttons or virtual key Macintosh corresponding there is different function.
S102: determine whether first operational order meets the first preset condition.
For the different operational order of user, mobile terminal realizes different function for corresponding.Operational order is limited, Whether decision instruction meets the first preset condition.First preset condition can be operational order and preset director data phase Matching, if operational order matches with preset director data, determine its satisfaction the first preset condition, if not with it is preset Director data matches, then determines that it is unsatisfactory for the first preset condition.Specifically, the first preset condition can limit the first behaviour Making instruction is pressing operation, long press operation or double click operation.
S103: if meeting the first preset condition, recording is opened.
If the first operation operational order meets the first preset condition, preset recording application program is called, is sent out to microphone Control instruction is sent, recording is opened in driving microphone work.Microphone at work, obtains the ambient sound of surrounding and by environment Sound is converted into electric signal.The electric signal can be by the processes such as amplification, filtering and transcoding, final caching to preset memory.
Wherein, the recording application program is the recording application or the customized recording application of user of system default. In general, operating system is all preinstalled with the recording application of default, when without other recording applications, the record of the default is directly opened Sound application.When being equipped with multiple recording applications in mobile terminal, user can set the record to be opened when meeting preset condition Sound application.For example, the recording application installed in detection mobile terminal, receives user and selectes to wherein a certain recording application, To open the selected recording application when user meets preset condition for the operational order that function button is implemented.
S104: if being unsatisfactory for the first preset condition, it is not turned on recording.
In a kind of example, user participates in an important meeting, need to record immediately to the speech in meeting.This When, user can take out mobile phone, press the function button on mobile phone, and mobile phone determines to user full for the operational order of function button The first preset condition of foot, opens recording immediately, meets the timeliness demand of user, record type is more convenient, improves user Experience.
If the first preset condition is only that user operates for the single depression of function button, under the effect of external force, very Easily cause maloperation.For example, mobile phone is placed in trousers pocket, function button has been pressed because of vibration.In the case where maloperation Recording can be opened, is brought inconvenience to users.It is suitably modified therefore, it is necessary to make, to prevent the maloperation of user.
In one embodiment, step S102 determines whether first operational order meets the first preset condition, specifically Are as follows: determine whether first operational order is long press operation, if long press operation, determines and meet the first preset condition.
When user presses function button, the bottom layer driving of function button can detect the jump of the electric current as caused by pressing Become, if the duration of state has reached the predetermined time after current jump, it is determined that user this operation be long press operation, It is corresponding to generate long-pressing event.Only when the operational order that user is implemented is long press operation, opens and record according to the long-pressing event. If the operational order that user is implemented is not long press operation, and is not turned on recording.
Wherein, the above-mentioned predetermined time can use 300ms, and certainly, those skilled in the art can be to this when combining actual conditions Predetermined time appropriately adjusts.Since long press operation needs user's Continued depression function button, and not single touch down, this is significantly A possibility that reducing user misoperation.
In one embodiment, step S102 determines whether first operational order meets the step of the first preset condition Suddenly, specifically: determine whether first operational order is double click operation, if double click operation, determine and meet the first default item Part.
When user presses function button, the bottom layer driving of function button can detect the jump of the electric current as caused by pressing Become, if current jump is twice in the given time, it is determined that this operation of user is double click operation, corresponding to generate double-click Event.Only when the operational order that user is implemented is double click operation, opens and record according to the double click event.If user is implemented Operational order be not double click operation, then and be not turned on recording.
Since double click operation needs user to press function button twice in the given time, and not single touch down, this A possibility that reducing user misoperation.
It is of course also possible to set only user for combination button the first operational order it is effective, i.e., be only directed in user When first operational order of combination button meets the first preset condition, recording is opened.Said combination key is preset function key With the combination of at least one physical button and/or at least one virtual key.Therefore, combination button can be preset function key With the combination of at least one physical button, the e.g. combination of preset function key and volume adjustment key.Combination button can be with It is the combination of preset function key Yu at least one virtual key, the e.g. combination of preset function key and screen locking key.Combination Key can also be the combination of preset function key, a physical button and a virtual key, e.g. preset function key, The combination of screen locking key and return key.Certainly, the specific key combination of combination button can be default or the user of mobile terminal It is customized.When user is to its customized setting, mobile terminal provides corresponding setting menu necessarily so that user sets It sets.
Due to the combination that combination button is multiple keys, user needs the double click operation or long press operation of combination button same Step is implemented.For this purpose, obtain time for being pressed of each key in combination button, when it is first be pressed key and the last one by by When pressing the interval time between key less than the predetermined time, determine that multiple key is pressed simultaneously.Based on this, it can recognize and be directed to Multiple key combinations while double click operation or long press operation.
For the ease of user's operation, the execution in view of long press operation is more convenient, and for combination button, setting first is pre- If condition is that first operational order is combined long press operation of the user to combination button.Alternatively, only in multiple keys An executive chairman press or double click operation, clicking operation is executed to other keys.Certainly, several preferred examples be above are only, It can be the group of any one or more in double click operation, long press operation and other operations for the operational order of combination button It closes.
In order to be further reduced the maloperation of user.In one embodiment, step S101 in the state of the lock screen, is received and is used Further include following steps after the step of the first operational order that preset function key is implemented at family: obtaining optical sensor Characterization the machine local environment intensity of illumination light intensity data, determine the light intensity data whether with default light intensity comparison data Match;It is corresponding, if the first operational order the first preset condition of satisfaction and the light intensity data and default light intensity comparison data Match, opens recording.
It is provided with light intensity sensor on mobile terminals, specifically may be provided on the shell of mobile terminal.The optical sensing Device is used to detect the intensity of illumination of mobile terminal local environment.When mobile terminal is placed in the pocket of clothes by user or is carried on the back When in packet, light intensity is weaker in environment locating for mobile terminal at this time.Optical sensor detects the intensity of illumination of ambient enviroment, corresponding The light intensity data for generating characterization intensity of illumination, which is compared with default light intensity comparison data.Specifically, the light Strong data include the light intensity parameter of characterization light intensity, and whether the light intensity parameter for comparing light intensity data is greater than default light intensity comparison data Light intensity parameter, if more than, it is determined that mobile terminal is not placed in the pocket of clothes or in knapsack, but is in and is used shape State.
It is corresponding, if the first operational order the first preset condition of satisfaction and light intensity data and default light intensity comparison data phase Match, it is determined that be not the maloperation of user, to open recording.
In one embodiment, step S101 in the state of the lock screen, receives user implements preset function key the Further include following steps after the step of one operational order: the characterization the machine for obtaining range sensor moves in the given time The range data of distance, determines whether the range data matches with pre-determined distance comparison data;It is corresponding, if operational order Meet preset condition and the range data matches with pre-determined distance comparison data, opens recording.
Range sensor is integrated in mobile terminal, when mobile terminal is in moving condition, for example, user is by mobile terminal Be placed in the pocket of clothes or in knapsack and when carrying mobile terminal and walking about, range sensor with the movement of mobile terminal and It is mobile, to generate the range data of corresponding characterization mobile terminal moving distance, which is compared with pre-determined distance Data compare.Specifically, the range data includes distance parameter, judge that the distance parameter of range data in the predetermined time is The no distance parameter being less than apart from comparison data, if it is less than the distance parameter apart from comparison data, it is determined that mobile terminal is simultaneously It is non-to be in moving condition, most probably it is being used by a user.
It is corresponding, if operational order meets preset condition and the range data matches with pre-determined distance comparison data, Determine that user is the operational order implemented in a state of use, rather than maloperation, it is then turned on recording.
In one embodiment, step S101 in the state of the lock screen, receives user implements preset function key the Further include following steps after the step of one operational order: obtaining the characterization function button pressure of pressure sensor Pressure data, determine whether the pressure data matches with preset pressure comparison data;It is corresponding, if meeting preset condition And the pressure data matches with preset pressure comparison data, opens recording.
On function button or pressure sensor is arranged in the lower section of function button, which is used for detection function The pressure that key is born.When user presses function button, pressure increase suffered by function button, pressure sensor is generated The pressure data for the pressure that corresponding characterization function button is born, by the pressure data compared with preset pressure comparison data Compared with.Specifically, the pressure data includes pressure parameter, judge whether the pressure parameter of pressure data is greater than pressure comparison data Pressure parameter, if it is greater than the pressure parameter of pressure comparison data, it is determined that the function button is pressed.The pressure data The also duration comprising being applied to the pressure of function button.If in the given time, the pressure parameter of pressure data is always In a certain predetermined value range, it is determined that being applied to function button is long press operation.If a pressure be detected that parameter is pre- It is jumped twice in fixing time, it is determined that being applied to function button is double click operation.
It is corresponding, if the first operational order the first preset condition of satisfaction and the pressure data and preset pressure comparison data Match, determines that the operational order that user is implemented not is maloperation, to open recording.
On the basis of the above embodiments, as shown in Fig. 2, further including following steps after step S103:
S105: the second operational order that user implements preset function key is received;
S106: determine whether the operational order meets the second preset condition;
S107: if meeting the second preset condition, terminate the recording and save recorded audio file;
S108: if being unsatisfactory for the second preset condition, current recording is kept.
Second preset condition is single depression operation, long press operation or double click operation of the user to function button.Work as user When pressing function button, the bottom layer driving of function button can detect the current jump as caused by pressing.If there is electric current Transition, it is determined that this operation of user is that single depression operates.If current jump is twice in the given time, it is determined that This operation of user is double click operation, corresponding to generate double click event.If the time after current jump continue for the predetermined time, Then determine user this operation be long press operation.It is that user presses the single of function button that system, which can default the second preset condition, Press operation, long press operation or double click operation, it is of course also possible to be set by the user second preset condition.Only implemented in user The second operational order meet the second preset condition when, terminate it is described recording and save recorded audio file.
Certainly, maloperation of the user to function button in order to prevent.Step S105 receives user to preset function key institute After the step of the second operational order implemented, further includes following steps: obtaining the characterization function button of pressure sensor The pressure data of pressure, determines whether the pressure data matches with preset pressure comparison data;Described in step S107 If meeting the second preset condition, terminates the recording and save recorded audio file, comprising: if second operational order Meet the second preset condition and the pressure data matches with preset pressure comparison data, terminates the recording and save to be recorded The audio file of system.
Alternatively, after step S105 receives the step of the second operational order that user implements preset function key, also Include the following steps: the light intensity data for obtaining the intensity of illumination of characterization the machine local environment of optical sensor, determines the light Whether strong data match with default light intensity comparison data;If step S107 meets the second preset condition, terminate the recording simultaneously Save recorded audio file, comprising: if second operational order meet preset condition and the light intensity data with it is described Default light intensity comparison data matches, and terminates the recording and saves recorded audio file.
Step S105 receive user preset function key is implemented the second operational order the step of after, further include as Lower step: the range data of characterization the machine of range sensor moving distance in the given time is obtained, is determined described apart from number According to whether matching with the pre-determined distance comparison data;If step S107 meets the second preset condition, terminate the recording simultaneously Save recorded audio file, comprising: if second operational order meet preset condition and the range data with Pre-determined distance comparison data matches, and terminates the recording and saves recorded audio file.
In one embodiment, above-mentioned screen lock state includes needing the safe screen lock state of password unlock and without password solution The common screen lock state of lock.Under common screen lock state, mobile terminal display sliding unlock interface or standby interface, user can edges It, can be by the common screen locking states thereof after preset path executes slide.Under safe screen lock state, mobile terminal shows close Code unlock interface, such as nine grids password or numerical ciphers, under the password unlock interface, user needs to input preset close Code can be by the safe screen locking states thereof after verification passes through.Therefore, safe screen lock state relative to common screen lock state more Add safety, and it is simpler to unlock common screen lock state.
Further, if step S107 meets the second preset condition, terminate the recording and save recorded audio text The step of part, comprising: if meeting the second preset condition, identify the type of the screen lock state, if safe screen lock state, terminate The recording simultaneously saves recorded audio file to preset secure storage catalogue, if common screen lock state, terminates described Record and save the audio storage catalogue of recorded audio file to default;The secure storage catalogue is only logical in password authentification Later, receive the access of user.
If the second operational order meets the second preset condition, the type of screen lock state is identified by monitoring display screen, Determine to be specifically safe screen lock state or common screen lock state.If it is safe screen lock state, since there are passwords, for guarantor It protects from the point of view of privacy of user, saves recorded audio file to preset secure storage catalogue, when user accesses the peace It needs to input password when full storage catalogue, only after the password authentification of user passes through, user side may have access to the secure storage catalogue, To play or delete the file of the recording.If it is common screen lock state, password is not needed, directly by the screen lock state solution Lock, saves the audio storage catalogue of recorded audio file to default, and user needs not move through password and accesses.
Based on the above embodiments, the operating status of acquisition for mobile terminal recording application program, if recording application program is not Recording is opened, determines whether user meets the first preset condition to the first operational order that function button is implemented, if satisfied, then opening Open recording.If recording application program is being recorded, determine whether user meets the second operational order that function button is implemented Second preset condition if satisfied, terminating current recording, and the audio file recorded is saved to preset storage catalogue.
In one embodiment, further include step S109 as shown in figure 3, after step S103: continuing in the recording pre- After fixing time, terminates the recording and save recorded audio file.
In some cases, user is not easy to operation mobile terminal to terminate to record.For this purpose, detect the recording it is lasting when Between, after the recording predetermined hold-time, ends automatically the recording and save recorded audio file.Further, After the recording predetermined hold-time, whether detection microphone gets voice signal in a certain period of time, for example obtains To voice signal, ends automatically the recording and save recorded audio file.Therefore, the present embodiment does not need user's execution Any operation can terminate to record and save recorded file, to cope with the situation that user is not easy to operation.
On the basis of the above embodiments, as shown in figure 4, further including step S110: the audio file recorded is sent To predetermined server.Alternatively, as shown in figure 5, further including step S111: the audio file recorded is answered by preset social activity With being sent to default contact person.
Mobile terminal is preinstalled with client-side program, and user logs in the client-side program using concerned account numbers.Terminating to record After sound, the audio file recorded is sent to by the predetermined server being connected with the client by the client-side program.Or Person, user log in preset social application using concerned account numbers in advance.After terminating recording, the social application is called, in the society It hands in the contacts list of application and finds preset contact person, the audio file recorded is sent to this by the social application Contact person.
The present embodiment saves recorded as far as possible file upload services device that will be recorded or by way of sending other people The file of system, even if can also retain the audio file recorded in the case where mobile terminal is lost or damages.
In another embodiment, after step S107, as shown in fig. 6, further including step S110: the audio that will be recorded File is sent to predetermined server.Alternatively, as shown in fig. 7, further including step S111: the audio file recorded being passed through default Social application be sent to default contact person.
Mobile terminal is preinstalled with client-side program, and user logs in the client-side program using concerned account numbers.With householder It is dynamic to terminate after recording, the audio file recorded is sent to by the default clothes being connected with the client by the client-side program Business device.Alternatively, user logs in preset social application using concerned account numbers in advance.After user actively terminates recording, calling should Social application finds preset contact person in the contacts list of the social application, by the audio file recorded by being somebody's turn to do Social application is sent to the contact person.
In one embodiment, above-mentioned screen lock state includes needing the safe screen lock state of password unlock and without password solution The common screen lock state of lock.
Under common screen lock state, mobile terminal display sliding unlock interface or standby interface, user can be along preset paths It, can be by the common screen locking states thereof after executing slide.Under safe screen lock state, mobile terminal shows that password unlocks boundary Face, such as nine grids password or numerical ciphers, under the password unlock interface, user needs to input preset password, through verifying It, can be by the safe screen locking states thereof by rear.Therefore, safe screen lock state is safer relative to common screen lock state, and It is simpler to unlock common screen lock state.
On this basis, if step S103 meets the first preset condition, the step of opening recording, specifically: if meeting the One preset condition identifies the type of the screen lock state, if safe screen lock state, opens recording, if common screen lock state, The common screen lock state is released, recording is opened.
If operational order meets the first preset condition, by monitoring display screen to identify the type of screen lock state, determine Specifically safe screen lock state or common screen lock state.It is used since there are passwords for protection if it is safe screen lock state From the point of view of the privacy of family, recording application program is only opened, opens recording, but do not release current safe screen lock state.With After exiting camera, mobile terminal is still within safe screen lock state at family.If it is common screen lock state, password is not needed, Directly the screen lock state is unlocked, and opens corresponding recording application program, opens recording.User is mobile after terminating recording Terminal is in the state unlocked.Therefore, under common screen lock state, user can solve simultaneously for the operational order of external key Lock mobile terminal is simultaneously opened, the operation for the user that is more convenient for, to promote user experience.
The present invention also provides the recording devices under a kind of screen lock state, as shown in figure 8, comprising: the first receiving module 201, in the state of the lock screen, receiving the first operational order that user implements preset function key;First determination module 202, for determining whether first operational order meets the first preset condition;It records opening module 203, for described the When one operational order meets the first preset condition, recording is opened.
In one embodiment, first determination module 202 is for determining whether first operational order is long-pressing Operation determines if long press operation and meets the first preset condition.
In one embodiment, first determination module 202 is for determining whether first operational order is double-click Operation determines if double click operation and meets the first preset condition.
In one embodiment, as shown in Figure 9, further includes: the second receiving module 204, for receiving user to default function The second operational order that energy key is implemented;Second determination module 205, for determining whether second operational order meets Two preset conditions;End of Tape module 206, for terminating described when second operational order meets the second preset condition It records and saves recorded audio file.
In one embodiment, second determination module 205 is for determining whether second operational order is long-pressing Operation determines if long press operation and meets the second preset condition.
In one embodiment, second determination module 205 is for determining whether second operational order is double-click Operation determines if double click operation and meets the second preset condition.
In one embodiment, as shown in Figure 10, further includes: timing preserving module 207, it is pre- for continuing in the recording After fixing time, terminates the recording and save recorded audio file.
In one embodiment, as shown in figure 11, further includes: file sending module 208, for the audio recorded is literary Part is sent to predetermined server or the audio file recorded is sent to default contact person by preset social application.
In one embodiment, as shown in figure 12, further includes: it further include file sending module, the sound for will be recorded Frequency file is sent to predetermined server or the audio file recorded is sent to default connection by preset social application People.
It in one embodiment, further include pressure acquisition module, for obtaining the machine pressure of pressure sensor Pressure data, determines whether the pressure data matches with preset pressure comparison data;The recording opening module 203 is used for When first operational order meets the first preset condition and the pressure data and preset pressure comparison data match, open Open recording.
It in one embodiment, further include light intensity acquisition module, for obtaining ring locating for characterization the machine of optical sensor The light intensity data of the intensity of illumination in border, determines whether the light intensity data matches with default light intensity comparison data;The recording Opening module 203 is used in first operational order the first preset condition of satisfaction and the light intensity data and default beam intensity ratio pair When data match, recording is opened.
It in one embodiment, further include that distance obtains module, for obtaining characterization the machine of range sensor predetermined The range data of moving distance in time, determines whether the range data matches with the pre-determined distance comparison data;Institute State recording opening module 203 be used for first operational order meet the first preset condition and the range data and it is default away from When matching from comparison data, recording is opened.
In one embodiment, the screen lock state includes the safe screen lock state for needing password to unlock and unlocks without password Common screen lock state.
In one embodiment, the End of Tape module 206 is used to meet second in second operational order default When condition, the type of the screen lock state is identified, if safe screen lock state, terminate the recording and save recorded audio File terminates the recording and saves recorded audio file to preset secure storage catalogue if common screen lock state To the audio storage catalogue of default;The secure storage catalogue only after password authentification passes through, receives the access of user.
Those skilled in the art will be appreciated that, the functional module that the embodiment of the recording device under above-mentioned screen lock state is included And specific implementation, reference can be made to the embodiment part of the way of recording under screen lock state, specifically repeats no more.
The embodiment of the present invention also provides a kind of mobile terminal, which includes but is not limited to mobile phone, tablet computer, the palm Upper computer.It takes the mobile phone as an example, Figure 13 is the shape assumption diagram of mobile phone, sets that there are three empty below the touch display screen of the mobile phone Quasi- key 32, three virtual keys are function set key, HOME key and return key respectively.The side of mobile phone is equipped with function button 31, the other side of mobile phone is equipped with screen locking key 33 and volume adjustment key 34, when function button 31 executes prompt operation for user It uses, can realize function by being applied in combination with one or more in virtual key 32, screen locking key 33 and volume adjustment key 34 The quick start of energy.Certainly, the specific location of above-mentioned key and layout are only a kind of example, not limitation of the present invention, this Field technical staff can appropriately adjust the specific location and layout of above-mentioned key in conjunction with concrete condition.
Figure 14 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure 14, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 1510, memory 1520, input unit 1530, display unit 1540, sensor 1550, voicefrequency circuit 1560, Wireless Fidelity (wireless fidelity, Wi-Fi) module 1570, processor The components such as 1580 and power supply 1590.It will be understood by those skilled in the art that handset structure shown in Figure 14 is not constituted pair The restriction of mobile phone may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.
It is specifically introduced below with reference to each component parts of the Figure 14 to mobile phone:
RF circuit 1510 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 1580;In addition, the data for designing uplink are sent to base station.In general, RF circuit 1510 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 1510 can also be logical with network and other equipment by wireless communication Letter.Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 1520 can be used for storing software program and module, and processor 1580 is stored in memory by operation 1520 software program and module, thereby executing the various function application and data processing of mobile phone.Memory 1520 can be led It to include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function Application program (such as sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses institute according to mobile phone Data (such as audio data, phone directory etc.) of creation etc..In addition, memory 1520 may include high random access storage Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are solid State memory device.
Input unit 1530 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 1530 may include touch panel 1531 and other inputs Equipment 1532.Touch panel 1531, also referred to as touch screen collect touch operation (such as the user of user on it or nearby Use the behaviour of any suitable object or attachment such as finger, stylus on touch panel 1531 or near touch panel 1531 Make), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 1531 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 1580, and order that processor 1580 is sent can be received and executed.In addition, Touch panel 1531 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface Plate 1531, input unit 1530 can also include other input equipments 1532.Specifically, other input equipments 1532 may include But in being not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more.
Display unit 1540 can be used for showing information input by user or be supplied to user information and mobile phone it is each Kind menu.Display unit 1540 may include display panel 1541, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 1541.Further, touch panel 1531 can cover display panel 1541, when touch panel 1531 detects After arriving touch operation on it or nearby, processor 1580 is sent to determine the type of touch event, is followed by subsequent processing device 1580 provide corresponding visual output according to the type of touch event on display panel 1541.Although in Figure 14, touch surface Plate 1531 and display panel 1541 are the input and input function for realizing mobile phone as two independent components, but certain In embodiment, can be integrated by touch panel 1531 and display panel 1541 and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 1550, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 1541, proximity sensor can close display panel when mobile phone is moved in one's ear 1541 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 1560, loudspeaker 1561, microphone 1562 can provide the audio interface between user and mobile phone.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 1561, be converted by loudspeaker 1561 by circuit 1560 For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1562, by voicefrequency circuit 1560 Audio data is converted to after reception, then by after the processing of audio data output processor 1580, through RF circuit 1510 to be sent to ratio Such as another mobile phone, or audio data is exported to memory 1520 to be further processed.
Wi-Fi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics by Wi-Fi module 1570 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 14 is shown Wi-Fi module 1570, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 1580 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, By running or execute the software program and/or module that are stored in memory 1520, and calls and be stored in memory 1520 Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 1580 may include one or more processing units;Preferably, processor 1580 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1580.
Mobile phone further includes camera, which carries out the shooting of video or photo for receiving shooting instruction.
Mobile phone further includes the power supply 1590 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system and processor 1580 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.Although being not shown, mobile phone can also be including bluetooth module etc., and details are not described herein.
Above-mentioned function button 31 generates operational order for triggering in the state of the lock screen for user;Microphone 1562 is for connecing Control instruction is received, recording is opened or terminate;Memory 1520, which is used to store, supports the recording device execution under screen lock state above-mentioned Screen lock state under the way of recording program;The processor 1580 is configurable for executing and deposit in the memory 1520 The program of storage.
Those skilled in the art will be appreciated that, functional module included in the embodiment of above-mentioned mobile terminal and specific implementation Mode, reference can be made to the embodiment part of the way of recording under screen lock state, specifically repeats no more.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of mobile terminal provided by the present invention is described in detail above, for the general technology people of this field Member, thought according to an embodiment of the present invention, there will be changes in the specific implementation manner and application range, in conclusion The contents of this specification are not to be construed as limiting the invention.
A1. the way of recording under a kind of screen lock state includes the following steps: in the state of the lock screen, to receive user to default The first operational order that function button is implemented;Determine whether first operational order meets the first preset condition;If meeting First preset condition opens recording.
A2. method according to a1, the step for determining first operational order and whether meeting the first preset condition Suddenly, specifically: determine whether first operational order is long press operation, if long press operation, determine and meet the first default item Part.
A3. method according to a1, the step for determining first operational order and whether meeting the first preset condition Suddenly, specifically: determine whether first operational order is double click operation, if double click operation, determine and meet the first default item Part.
A4. the method according to A1 to A3 any one further includes following steps: receiving user to preset function key The second operational order implemented;Determine whether second operational order meets the second preset condition;If it is default to meet second Condition terminates the recording and saves recorded audio file.
A5. method according to a4, the step for determining second operational order and whether meeting the second preset condition Suddenly, specifically: determine whether second operational order is long press operation, if long press operation, determine and meet the second default item Part.
A6. method according to a4, the step for determining second operational order and whether meeting the second preset condition Suddenly, specifically: determine whether second operational order is double click operation, if double click operation, determine and meet the second default item Part.
A7. the method according to A1 to A3 any one, further includes following steps: in the recording predetermined hold-time Afterwards, terminate the recording and save recorded audio file.
A8. method according to a4, further includes following steps: the audio file recorded is sent to preset service Device, alternatively, the audio file recorded is sent to default contact person by preset social application.
A9. the method according to A7, further includes following steps: the audio file recorded is sent to preset service Device, alternatively, the audio file recorded is sent to default contact person by preset social application.
A10. method according to a1, it is described in the state of the lock screen, receive user and preset function key implemented Further include following steps after the step of first operational order: the characterization function button for obtaining pressure sensor is pressurized The pressure data of power, determines whether the pressure data matches with preset pressure comparison data;If the satisfaction first is default Condition opens recording, comprising: if first operational order the first preset condition of satisfaction and the pressure data and preset pressure Comparison data matches, and opens recording.
A11. method according to a1, it is described in the state of the lock screen, receive user and preset function key implemented Further include following steps after the step of first operational order: obtaining the illumination of characterization the machine local environment of optical sensor The light intensity data of intensity, determines whether the light intensity data matches with default light intensity comparison data;If described meet first in advance If condition, recording is opened, comprising: if first operational order meets preset condition and the light intensity data and the default light Strong comparison data matches, and opens recording.
A12. method according to a1, it is described in the state of the lock screen, receive user and preset function key implemented Further include following steps after the step of first operational order: the characterization the machine for obtaining range sensor is moved in the given time The range data of dynamic distance, determines whether the range data matches with the pre-determined distance comparison data;If described meet First preset condition opens recording, comprising: if first operational order meets preset condition and the range data and default Match apart from comparison data, opens recording.
A13. method according to a4, the screen lock state include the safe screen lock state for needing password to unlock and are not necessarily to close The common screen lock state of code unlock.
A14. the method according to A13 terminates the recording and saves to be recorded if the second preset condition of the satisfaction Audio file the step of, comprising: if meet the second preset condition, the type of the screen lock state is identified, if safe screen locking State terminates the recording and saves recorded audio file to preset secure storage catalogue, if common screen lock state, Terminate the recording and saves the audio storage catalogue of recorded audio file to default;The secure storage catalogue is only close After code is verified, receive the access of user.
B15. the recording device under a kind of screen lock state, comprising: the first receiving module, in the state of the lock screen, receiving The first operational order that user implements preset function key;First determination module, for whether determining the operational order Meet the first preset condition;Recording opening module, for opening recording when the operational order meets the first preset condition.
B16. the device according to B15, first determination module for determine first operational order whether be Long press operation determines if long press operation and meets the first preset condition.
B17. the device according to B15, first determination module for determine first operational order whether be Double click operation determines if double click operation and meets the first preset condition.
B18. the device according to B15 to B17 any one, further includes: the second receiving module, for receiving user couple The second operational order that preset function key is implemented;Second determination module, for determining whether second operational order is full The second preset condition of foot;End of Tape module, for terminating described when second operational order meets the second preset condition It records and saves recorded audio file.
B19. the device according to B18, second determination module for determine second operational order whether be Long press operation determines if long press operation and meets the second preset condition.
B20. the device according to B18, second determination module for determine second operational order whether be Double click operation determines if double click operation and meets the second preset condition.
B21. the device according to B15 to B17 any one, further includes: timing preserving module, in the recording After predetermined hold-time, terminates the recording and save recorded audio file.
B22. the device according to B18, further includes: file sending module, for the audio file recorded to be sent Default contact person is sent to by preset social application to predetermined server or by the audio file recorded.
B23. the device according to B21 further includes file sending module, for the audio file recorded to be sent to The audio file recorded is sent to default contact person by preset social application by predetermined server.
B24. the device according to B15 further includes pressure acquisition module, for obtaining suffered by the machine of pressure sensor The pressure data of pressure, determines whether the pressure data matches with preset pressure comparison data;The recording opening module Match for meeting the first preset condition and the pressure data in first operational order with preset pressure comparison data When, open recording.
B25. the device according to B15 further includes light intensity acquisition module, for obtaining characterization the machine of optical sensor The light intensity data of the intensity of illumination of local environment, determines whether the light intensity data matches with default light intensity comparison data;Institute Recording opening module is stated to be used in first operational order the first preset condition of satisfaction and the light intensity data and default light intensity When comparison data matches, recording is opened.
B26. the device according to B15 further includes that distance obtains module, for obtaining characterization the machine of range sensor The range data of moving distance in the given time, determine the range data whether with the pre-determined distance comparison data phase Match;The recording opening module is used in first operational order the first preset condition of satisfaction and the range data and presets When matching apart from comparison data, recording is opened.
B27. the device according to B18, the screen lock state include the safe screen lock state for needing password to unlock and are not necessarily to The common screen lock state of password unlock.
B28. the device according to B27, the End of Tape module are used to meet second in second operational order When preset condition, the type of the screen lock state is identified, if safe screen lock state, terminate what the recording and saving was recorded Audio file terminates the recording and saves recorded audio to preset secure storage catalogue if common screen lock state The audio storage catalogue of file extremely default;The secure storage catalogue only after password authentification passes through, receives the access of user.
C29. a kind of mobile terminal, including preset function key, processor, memory and microphone;The function button Operational order is generated for triggering in the state of the lock screen for user;The microphone is for receiving control instruction, opening or terminating Recording;The memory, which is used to store, supports the recording device under screen lock state to execute lock described in any one of A1 to A14 The program of the way of recording under screen state;The processor is configured to for executing the program stored in the memory.

Claims (23)

1. the way of recording under a kind of screen lock state, characterized by the following steps:
In the state of the lock screen, the first operational order that user implements preset function key is received, the screen lock state includes The safe screen lock state for needing password to unlock and the common screen lock state without password unlock;
Determine whether first operational order meets the first preset condition;
If meeting the first preset condition, recording is opened;
Receive the second operational order that user implements preset function key;
Determine whether second operational order meets the second preset condition;
If meeting the second preset condition, the type of the screen lock state is identified, if safe screen lock state, terminate the recording simultaneously Save recorded audio file terminates the recording and saves to preset secure storage catalogue if common screen lock state The audio storage catalogue of the audio file recorded extremely default;The secure storage catalogue only after password authentification passes through, receives The access of user.
2. according to the method described in claim 1, it is characterized by: described determine whether first operational order meets first The step of preset condition, specifically:
Determine whether first operational order is long press operation, if long press operation, determines and meet the first preset condition.
3. according to the method described in claim 1, it is characterized by: described determine whether first operational order meets first The step of preset condition, specifically:
Determine whether first operational order is double click operation, if double click operation, determines and meet the first preset condition.
4. according to the method described in claim 1, it is characterized by: described determine whether second operational order meets second The step of preset condition, specifically:
Determine whether second operational order is long press operation, if long press operation, determines and meet the second preset condition.
5. according to the method described in claim 1, it is characterized by: described determine whether second operational order meets second The step of preset condition, specifically:
Determine whether second operational order is double click operation, if double click operation, determines and meet the second preset condition.
6. according to claim 1 to method described in 3 any one, it is characterised in that: further include following steps:
After the recording predetermined hold-time, terminates the recording and save recorded audio file.
7. according to the method described in claim 1, it is characterized by also including following steps:
The audio file recorded is sent to predetermined server, alternatively, the audio file recorded is passed through preset social activity Using being sent to default contact person.
8. according to the method described in claim 6, it is characterized by also including following steps:
The audio file recorded is sent to predetermined server, alternatively, the audio file recorded is passed through preset social activity Using being sent to default contact person.
9. according to the method described in claim 1, it is characterized by: it is described in the state of the lock screen, receive user to preset function Further include following steps after the step of the first operational order that key is implemented:
The pressure data for obtaining the characterization function button pressure of pressure sensor, determine the pressure data whether with Preset pressure comparison data matches;
If the first preset condition of the satisfaction, open recording, comprising: if first operational order meet the first preset condition and The pressure data matches with preset pressure comparison data, opens recording.
10. according to the method described in claim 1, it is characterized by: it is described in the state of the lock screen, receive user to preset function Further include following steps after the step of the first operational order that key is implemented:
Whether the light intensity data for obtaining the intensity of illumination of characterization the machine local environment of optical sensor, determine the light intensity data Match with default light intensity comparison data;
If the first preset condition of the satisfaction, recording is opened, comprising: if first operational order meets preset condition and described Light intensity data matches with the default light intensity comparison data, opens recording.
11. according to the method described in claim 1, it is characterized by: it is described in the state of the lock screen, receive user to preset function Further include following steps after the step of the first operational order that key is implemented:
The range data for obtaining characterization the machine moving distance in the given time of range sensor, determines that the range data is It is no to match with the pre-determined distance comparison data;
If the first preset condition of the satisfaction, recording is opened, comprising: if first operational order meets preset condition and described Range data matches with pre-determined distance comparison data, opens recording.
12. the recording device under a kind of screen lock state, it is characterised in that: include:
First receiving module, in the state of the lock screen, receiving the first operational order that user implements preset function key, The screen lock state includes the safe screen lock state for needing password to unlock and the common screen lock state without password unlock;
First determination module, for determining whether the operational order meets the first preset condition;
Recording opening module, for opening recording when the operational order meets the first preset condition;
Second receiving module, the second operational order that preset function key is implemented for receiving user;
Second determination module, for determining whether second operational order meets the second preset condition;
End of Tape module, for identifying the screen lock state when second operational order meets the second preset condition Type terminates the recording and saves recorded audio file to preset secure storage catalogue if safe screen lock state, If common screen lock state, terminates the recording and save the audio storage catalogue of recorded audio file to default;It is described Secure storage catalogue only after password authentification passes through, receives the access of user.
13. device according to claim 12, it is characterised in that:
First determination module, if long press operation, is determined for determining whether first operational order is long press operation Meet the first preset condition.
14. device according to claim 12, it is characterised in that:
First determination module, if double click operation, is determined for determining whether first operational order is double click operation Meet the first preset condition.
15. device according to claim 12, it is characterised in that:
Second determination module, if long press operation, is determined for determining whether second operational order is long press operation Meet the second preset condition.
16. device according to claim 12, it is characterised in that:
Second determination module, if double click operation, is determined for determining whether second operational order is double click operation Meet the second preset condition.
17. device described in 2 to 14 any one according to claim 1, it is characterised in that: further include:
Timing preserving module, for after the recording predetermined hold-time, terminating the recording and saving recorded audio File.
18. device according to claim 12, it is characterised in that: further include:
File sending module, the audio file for the audio file recorded to be sent to predetermined server or will be recorded Default contact person is sent to by preset social application.
19. device according to claim 17, it is characterised in that:
It further include file sending module, the sound for the audio file recorded to be sent to predetermined server or will be recorded Frequency file is sent to default contact person by preset social application.
20. device according to claim 12, it is characterised in that:
It further include pressure acquisition module, the pressure data of the machine pressure for obtaining pressure sensor determines the pressure Whether force data matches with preset pressure comparison data;
The recording opening module is in first operational order the first preset condition of satisfaction and the pressure data and in advance If pressure comparison data matches, recording is opened.
21. device according to claim 12, it is characterised in that:
It further include light intensity acquisition module, the light intensity number of the intensity of illumination of characterization the machine local environment for obtaining optical sensor According to determining whether the light intensity data matches with default light intensity comparison data;
The recording opening module is in first operational order the first preset condition of satisfaction and the light intensity data and in advance If light intensity comparison data matches, recording is opened.
22. device according to claim 12, it is characterised in that:
It further include that distance obtains module, for obtaining the distance of characterization the machine of range sensor moving distance in the given time Data, determine whether the range data matches with the pre-determined distance comparison data;
The recording opening module is in first operational order the first preset condition of satisfaction and the range data and in advance If match apart from comparison data, recording is opened.
23. a kind of mobile terminal, it is characterised in that:
Including preset function key, processor, memory and microphone;
The function button generates operational order for triggering in the state of the lock screen for user;
Recording is opened or terminated to the microphone for receiving control instruction;
The memory, which is used to store, supports the recording device perform claim under screen lock state to require described in any one of 1 to 11 Screen lock state under the way of recording program;
The processor is configured to for executing the program stored in the memory.
CN201610634732.5A 2016-08-04 2016-08-04 The way of recording, device and mobile terminal under screen lock state Active CN106303004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610634732.5A CN106303004B (en) 2016-08-04 2016-08-04 The way of recording, device and mobile terminal under screen lock state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610634732.5A CN106303004B (en) 2016-08-04 2016-08-04 The way of recording, device and mobile terminal under screen lock state

Publications (2)

Publication Number Publication Date
CN106303004A CN106303004A (en) 2017-01-04
CN106303004B true CN106303004B (en) 2019-06-04

Family

ID=57665149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610634732.5A Active CN106303004B (en) 2016-08-04 2016-08-04 The way of recording, device and mobile terminal under screen lock state

Country Status (1)

Country Link
CN (1) CN106303004B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933111B (en) * 2017-02-28 2020-10-30 北京小米移动软件有限公司 Method and device for controlling equipment
CN106951282A (en) * 2017-03-10 2017-07-14 广东欧珀移动通信有限公司 The control method and mobile terminal of mobile terminal
CN107396017B (en) * 2017-06-19 2020-11-13 捷开通讯(深圳)有限公司 Intelligent terminal, video recording method thereof and device with storage function
CN107422955A (en) * 2017-07-07 2017-12-01 珠海格力电器股份有限公司 A kind of method, apparatus and mobile terminal for starting audio & video equipment
CN107632867A (en) * 2017-08-21 2018-01-26 珠海市魅族科技有限公司 A kind of method, apparatus of information record, computer installation and readable storage medium storing program for executing
CN107592416B (en) * 2017-08-31 2020-11-17 努比亚技术有限公司 Voice message transmitting method, terminal and computer readable storage medium
CN109117060A (en) * 2018-08-01 2019-01-01 Oppo广东移动通信有限公司 Pull down notification bar display methods, device, terminal and storage medium
CN110888580A (en) * 2018-09-11 2020-03-17 北京嘀嘀无限科技发展有限公司 Method and device for triggering recording function

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162930A (en) * 2015-08-25 2015-12-16 广东欧珀移动通信有限公司 Recording method and device for mobile terminal
KR20160000341A (en) * 2014-06-24 2016-01-04 에스케이텔레콤 주식회사 Terminal apparatus having screen lock function by using icon
CN105278862A (en) * 2015-11-10 2016-01-27 广东欧珀移动通信有限公司 Light-sensation detection-based misoperation prevention method, device and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160000341A (en) * 2014-06-24 2016-01-04 에스케이텔레콤 주식회사 Terminal apparatus having screen lock function by using icon
CN105162930A (en) * 2015-08-25 2015-12-16 广东欧珀移动通信有限公司 Recording method and device for mobile terminal
CN105278862A (en) * 2015-11-10 2016-01-27 广东欧珀移动通信有限公司 Light-sensation detection-based misoperation prevention method, device and mobile terminal

Also Published As

Publication number Publication date
CN106303004A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106851010B (en) Interference processing method and terminal for target application
US10917515B2 (en) Method for switching applications in split screen mode, computer device and computer-readable storage medium
CN105306682B (en) The method and device of network connection switch is automatically closed
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN106126562B (en) A kind of pop-up hold-up interception method and terminal
CN103489303B (en) A kind of remote control thereof and device
CN104462128B (en) The method, apparatus and terminal device of multimedia file processing
CN106447836B (en) A kind of door control terminal binding method and relevant device
CN104767863B (en) The unlocking method and terminal of terminal screen
CN103561400B (en) Method for initiating communication, device thereof and mobile terminal
CN106250223B (en) Background process management method and terminal equipment
CN104966005A (en) Access control method and terminal apparatus
CN106484562B (en) A kind of data transmission processing method and terminal device
CN107193664B (en) Message display method and device and mobile terminal
CN104571838B (en) A kind of quick method and apparatus for starting application program
WO2015043403A1 (en) Method, apparatus, and terminal for obtaining video data
CN105471704B (en) A kind of method, apparatus and system for realizing more people's calls
CN103501485B (en) Push the method, apparatus and terminal device of application
WO2018076506A1 (en) Method for lighting up screen of double-screen terminal, and terminal
CN106330211B (en) LTE Frequency Band Selection method and apparatus
CN103491240B (en) A kind of alarm clock ringing method, device and mobile terminal
CN105430600B (en) A kind of data transmission method and the terminal of data transmission
CN105022552B (en) A kind of method and apparatus for showing messaging list
CN108920926B (en) Shortcut operation method and mobile terminal
CN108021305A (en) The method, device and mobile terminal that association starts

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170724

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant