A kind of processing method of music data, device, mobile terminal and storage medium

文档序号:1771392 发布日期:2019-12-03 浏览:33次 中文

阅读说明:本技术 一种音乐数据的处理方法、装置、移动终端和存储介质 (A kind of processing method of music data, device, mobile terminal and storage medium ) 是由 王旭峰 于 2018-05-25 设计创作,主要内容包括:本发明实施例提供了一种音乐数据的处理方法、装置、移动终端和存储介质,所述方法应用在移动终端中,包括:音乐播放器在播放音乐数据时,检测灭屏操作;音乐播放器依据所述灭屏操作监听手势操作;音乐播放器在监听到手势操作时,按照所述手势操作对所述音乐数据进行处理。手势操作的种类较多,相对地,该手势操作对应的处理的种类较多,可满足用户大部分的操作需求,减少打开屏幕,在音乐播放器的界面进行操作的概率,提高了控制的简便性,并且,由于减少了屏幕开关的频次,可降低功耗。(The embodiment of the invention provides a kind of processing method of music data, device, mobile terminal and storage mediums, and the method application is in the terminal, comprising: for music player when playing music data, detection, which is gone out, shields operation;Music player goes out according to described in shields operation monitoring gesture operation;Music player is handled the music data when listening to gesture operation, according to the gesture operation.The type of gesture operation is more, relatively, the type of the corresponding processing of the gesture operation is more, the most operational requirements of user can be met, reduce and open screen, in the probability that the interface of music player is operated, improve the simplicity of control, also, due to the frequency for reducing screen on-off, power consumption can be reduced.)

1. a kind of processing method of music data, which is characterized in that application is in the terminal, which comprises

For music player when playing music data, detection, which is gone out, shields operation;

Music player goes out according to described in shields operation monitoring gesture operation;

Music player is handled the music data when listening to gesture operation, according to the gesture operation.

2. the method according to claim 1, wherein the mobile terminal have fingerprint sensor or touch screen, The music player goes out screen operation monitoring based on gesture operation according to described in, comprising:

Go out screen operation registration monitor according to described in, to monitor the key assignments that the fingerprint sensor or the touch screen report, institute Stating has mapping relations between key assignments and gesture operation.

3. according to the method described in claim 2, base is monitored in screen operation it is characterized in that, the music player goes out according to described in In gesture operation, further includes:

Mapping relations between the gesture operation and key assignments specified to touch screen registration.

4. according to the method described in claim 2, it is characterized in that, the music player is pressed when listening to gesture operation Processing is played out to the music data according to the gesture operation, comprising:

When the monitor listens to the key assignments, the corresponding processing of the key assignments is executed to the music data.

5. method according to claim 1-4, which is characterized in that further include:

Music player detects bright screen operation when playing music data;

Music player ceases listening for gesture operation according to the bright screen operation.

6. according to the method described in claim 5, it is characterized in that, the mobile terminal have fingerprint sensor or touch screen, The music player ceases listening for gesture operation according to the bright screen operation, comprising:

Monitor is nullified according to the bright screen operation, to cease listening for the key that the fingerprint sensor or the touch screen report Value has mapping relations between the key assignments and gesture operation.

7. according to the method described in claim 6, it is characterized in that, the music player stops prison according to the bright screen operation Listen gesture operation, further includes:

The mapping relations between specified gesture operation and key assignments are nullified to the touch screen.

8. a kind of processing unit of music data, which is characterized in that in the terminal, the mobile terminal is equipped with sound for application Happy player, described device are located in the music player, comprising:

Go out screen operation detection module, for when playing music data, detecting screen operation of going out;

Gesture operation monitors module, and for going out according to described in, gesture operation is monitored in screen operation;

Music data processing module, for when listening to gesture operation, according to the gesture operation to the music data into Row processing.

9. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be described The computer program run on processor is realized when the computer program is executed by the processor as in claim 1 to 7 The step of processing method of described in any item music datas.

10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes the processing of the music data as described in any one of claims 1 to 7 when the computer program is executed by processor The step of method.

Technical field

The present invention relates to the technical fields of communication, eventually more particularly to a kind of processing method of music data, device, movement End and storage medium.

Background technique

With the development of mobile communication technology, the mobile terminals such as mobile phone, tablet computer are in people's lives, study, work In using more and more, the functional diversities of mobile terminal, music is the important function of one of them.

Since the power consumption of screen of mobile terminal is larger, during music player plays music, in order to reduce movement The power consumption of terminal, normally closed screen (go out screen).

In the state of going out screen, user can access earphone in the terminal, and the physical button for pressing earphone is directly controlled Music processed.

But the physical button negligible amounts of earphone, general only 2, so that the mode of control music is less, such as A piece of music, the next song of switching need to open screen (i.e. bright if user wants to carry out other operations in switching Screen), it is operated at the interface of music player, control is relatively complicated, also, causes screen frequent when operating more frequent Ground is opened, is closed, and power consumption is higher.

Summary of the invention

The embodiment of the present invention proposes processing method, device, mobile terminal and the storage medium of a kind of music data, with solution Certainly go out screen in the state of it is relatively complicated to the control of music, frequently switch on the higher problem of power consumption of screen.

According to one aspect of the present invention, a kind of processing method of music data is provided, using in the terminal, institute The method of stating includes:

For music player when playing music data, detection, which is gone out, shields operation;

Music player goes out according to described in shields operation monitoring gesture operation;

Music player is handled the music data when listening to gesture operation, according to the gesture operation.

Optionally, the mobile terminal has fingerprint sensor or touch screen, and go out screen described in the music player foundation Operation, which is monitored, is based on gesture operation, comprising:

Go out screen operation registration monitor according to described in, to monitor the key that the fingerprint sensor or the touch screen report Value has mapping relations between the key assignments and gesture operation.

Optionally, the music player goes out screen operation monitoring based on gesture operation according to described in, further includes:

Mapping relations between the gesture operation and key assignments specified to touch screen registration.

Optionally, the music player is when listening to gesture operation, according to the gesture operation to the music number It is handled according to playing out, comprising:

When the monitor listens to the key assignments, the corresponding processing of the key assignments is executed to the music data.

Optionally, further includes:

Music player detects bright screen operation when playing music data;

Music player ceases listening for gesture operation according to the bright screen operation.

Optionally, the mobile terminal has fingerprint sensor or touch screen, and the music player is according to the bright screen Operation ceases listening for gesture operation, comprising:

Monitor is nullified according to the bright screen operation, to cease listening for the fingerprint sensor or the touch screen reports Key assignments has mapping relations between the key assignments and gesture operation.

Optionally, the music player ceases listening for gesture operation according to the bright screen operation, further includes:

The mapping relations between specified gesture operation and key assignments are nullified to the touch screen.

Optionally, described includes following at least one:

Left sliding operation, right sliding operation, double click operation;

The processing includes following at least one:

It switches to a piece of music data playback, switch to the broadcasting that next music data plays, suspends music data.

According to another aspect of the present invention, a kind of processing unit of music data is provided, using in the terminal, institute It states mobile terminal and music player is installed, described device is located in the music player, comprising:

Go out screen operation detection module, for when playing music data, detecting screen operation of going out;

Gesture operation monitors module, and for going out according to described in, gesture operation is monitored in screen operation;

Music data processing module, for when listening to gesture operation, according to the gesture operation to the music number According to being handled.

Optionally, the mobile terminal has fingerprint sensor or touch screen, and the gesture operation monitors module and includes:

Monitor registers submodule, for the screen operation registration monitor that goes out according to described in, to monitor the fingerprint sensor Or the key assignments that the touch screen reports, there are mapping relations between the key assignments and gesture operation.

Optionally, the gesture operation monitors module further include:

Mapping relations register submodule, the mapping between gesture operation and key assignments for specifying to touch screen registration Relationship.

Optionally, the music data processing module includes:

Key assignments handles submodule, for executing institute to the music data when the monitor listens to the key assignments State the corresponding processing of key assignments.

Optionally, further includes:

Bright screen operates detection module, for when playing music data, detecting bright screen operation;

Stopping modular is monitored, for ceasing listening for according to the bright screen operation based on gesture operation.

Optionally, the mobile terminal has fingerprint sensor or touch screen, and the monitoring stopping modular includes:

Monitor nullifies submodule, for nullifying monitor according to the bright screen operation, is passed with ceasing listening for the fingerprint The key assignments that sensor or the touch screen report has mapping relations between the key assignments gesture operation.

Optionally, the monitoring stopping modular further include:

Mapping relations nullify submodule, for nullifying the mapping between specified gesture operation and key assignments to the touch screen Relationship.

Optionally, the gesture operation includes following at least one:

Left sliding operation, right sliding operation, double click operation;

The processing includes following at least one:

It switches to a piece of music data playback, switch to the broadcasting that next music data plays, suspends music data.

According to another aspect of the present invention, it provides a kind of mobile terminal, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor The step of processing method of the existing music data.

According to another aspect of the present invention, a kind of computer readable storage medium, the computer-readable storage are provided Computer program is stored on medium, and the processing method of the music data is realized when the computer program is executed by processor The step of.

The embodiment of the present invention includes following advantages:

In embodiments of the present invention, for music player when playing music data, detection, which is gone out, shields operation, according to screen operation of going out Gesture operation is monitored to handle music data according to gesture operation, when listening to gesture operation due to mobile terminal Some sensors remain operational under screen state of going out, and therefore, these sensors are multiplexed under screen state of going out and are carried out to music data Processing ensure that low-power consumption and low cost without additionally increasing other hardware, meanwhile, the type of gesture operation is more, relatively The type on ground, the corresponding processing of the gesture operation is more, can meet the most operational requirements of user, reduces and opens screen, In The probability that the interface of music player is operated improves the simplicity of control, also, the frequency due to reducing screen on-off It is secondary, power consumption can be reduced.

Detailed description of the invention

Fig. 1 is a kind of step flow chart of the processing method of music data of one embodiment of the invention;

Fig. 2 is the step flow chart of the processing method of another music data of one embodiment of the invention;

Fig. 3 is a kind of structural block diagram of the processing unit of music data of one embodiment of the invention;

A kind of hardware structural diagram of Fig. 4 mobile terminal of each embodiment to realize the present invention.

Specific embodiment

In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.

Referring to Fig.1, a kind of step flow chart of the processing method of music data of one embodiment of the invention is shown, is had Body may include steps of:

Step 101, for music player when playing music data, detection, which is gone out, shields operation.

In the concrete realization, the embodiment of the present invention can be applied in the terminal, for example, mobile phone, tablet computer, intelligence Energy wearable device (such as Intelligent bracelet, smartwatch, intelligent glasses), etc..

The operating system of these mobile terminals may include Android (Android), IOS, Windows Phone, Windows Etc., it can support operation music player.

Embodiment in order to enable those skilled in the art to better understand the present invention in embodiments of the present invention makees Android It is illustrated for a kind of example of operating system.

User starts music player, and music playlist is loaded in music player, according to certain form (as arranged Table broadcasting, loop play, single circulation etc.) play music playlist in music data.

In the type of music data, these music datas can be song, or recording can also be video Dub, etc., the embodiments of the present invention are not limited thereto.

In the acquisition modes of music data, these music datas be can store in local, at this point, music player is at this Music data is read in the database on ground, and is played out, in addition, these music datas also can store beyond the clouds, at this point, sound The address of happy player query music data, and access cloud from the address down-load music data and is cached, is played.

Music player operation, play music data during, if a period of time (such as 15 seconds) in, screen not Detect the touch control operation of user, at this point, can then close screen, i.e., triggering, which is gone out, shields operation, alternatively, user actively presses power key (physical button) can close screen, i.e., triggering, which is gone out, shields operation.

Mobile terminal can send a screen broadcast (SCREEN_OFF) of going out when screen operation is gone out in triggering.

For music player, a monitor can be registered by way of code, monitoring, which is gone out, shields broadcast (SCREEN_OFF)。

If music player receives screen broadcast (SCREEN_OFF) of going out, it can be confirmed and trigger screen operation of going out.

It should be noted that mobile terminal may be performed simultaneously screen locking operation, can not also hold when screen operation is gone out in triggering Row screen locking operation, the embodiments of the present invention are not limited thereto.

Step 102, music player goes out according to described in shields operation monitoring gesture operation.

In embodiments of the present invention, there is mobile terminal fingerprint sensor, touch screen etc. fortune can be kept under screen state of going out Capable sensor.

Wherein, fingerprint sensor is also known as fingerprint Sensor, is the component for acquiring finger print data, can be for independently of screen Component, be arranged in below screen, the back side of mobile terminal, mobile terminal side, can also be used as component embedded in touch In screen, the embodiments of the present invention are not limited thereto.

By sensing principle, i.e. fingerprint imaging principle and technology, fingerprint sensor can be divided into optical fingerprint sensor, semiconductor Capacitance sensor, semiconductor heat dependent sensor, semiconductor pressure sensor, ultrasonic sensor and radio frequency sensor, etc..

In practical applications, user can pass according to the working specification of music player in fingerprint sensor, touch screen etc. Gesture operation is carried out on sensor.

Certainly, which can be music player default, can also be customized by the user setting, the present invention is real It is without restriction to this to apply example.

In one example, gesture operation includes following at least one:

1, left sliding operation.

In this gesture operation, the sensors such as the finger down fingerprint sensor of user or touch screen, and slide to the left.

2, right sliding operation.

In this gesture operation, the sensors such as the finger down fingerprint sensor of user or touch screen, and slide to the right.

For fingerprint sensor, in the pressing operation for once carrying fingerprint, two frame finger print datas are at least acquired, point Its characteristic point is not identified and is matched, so that it is determined that the relative position between finger print data, the sliding side of gesture is determined with this To, and generate corresponding gesture operation (such as left sliding operation, right sliding operation).

3, double click operation.

In this gesture operation, the finger of user presses the sensors such as fingerprint sensor or touch screen twice in succession.

For fingerprint sensor, in a shorter period (such as 500ms), if detect it is independent twice, And carry the pressing operation of fingerprint, then fingerprint double click operation can be generated.

Certainly, above-mentioned gesture operation is intended only as example, in implementing the embodiments of the present invention, can set according to the actual situation Other gesture operations are set, for example, upper cunning operation, operation of gliding, drafting greater-than sign " > ", drafting less than sign " < ", etc., this hair Bright embodiment is without restriction to this.In addition, those skilled in the art can also be according to practical need other than above-mentioned gesture operation Other gesture operations are used, the embodiment of the present invention is also without restriction to this.

It should be noted that for the finger print data detected on fingerprint sensor, it can be with the fingerprint of first typing Data Matching can also be mismatched with the finger print data of first typing, and the embodiment of the present invention is also without restriction to this.

If music player listens to screen operation of going out, gesture operation can be begun listening for.

In the state of going out screen, in the inner nuclear layer of mobile terminal, if the sensors such as fingerprint sensor, touch screen detect , then can be according to preset mapping relations to gesture operation, the gesture operation that will test is converted to specified key assignments, and reports To application layer.

Therefore, it for music player, if listening to screen operation of going out, can be monitored according to screen operation registration of going out Device, to monitor the key assignments that fingerprint sensor or touch screen report.

Wherein, there are mapping relations between key assignments and gesture operation.

Furthermore, it is monitored if identical gesture operation is registered by other application, when clashing, then music is broadcast Put device registered monitor priority be promoted to highest.

In addition, the probability of user misoperation is lower for fingerprint sensor, therefore, fingerprint sensor can be supported to know The relatively simple gesture operations such as not left sliding operation, right sliding operation, using these simple gesture operations, it is ensured that use The simplicity of family operation.

But for touch screen, the probability of user misoperation is higher, and therefore, maloperation in order to prevent, touch screen can It supports to draw greater-than sign " > ", draw more complicated gesture operations such as less than sign " < ", and shield such as left sliding operation, right cunning The relatively simple gesture operations such as operation.

User during listening to music using music player, more concentrate by attention, therefore, in this scene, The probability of user misoperation is relatively low, at this point it is possible to which the mapping nullified between specified gesture operation and key assignments to touch screen is closed System, such as such as left sliding operation of registration, the right sliding mapping relations operated between relatively simple gesture operation and key assignments, so that touching The relatively simple gesture operations such as the left sliding operation of identification, right sliding operation can be supported by touching screen, be grasped using these simple gestures Make, it is ensured that the simplicity of user's operation.

Certainly, music player can also be using more complicated hands such as drafting greater-than sign " > ", draftings less than sign " < " Gesture operation, the embodiments of the present invention are not limited thereto.

Step 103, music player is when listening to gesture operation, according to the gesture operation to the music data into Row processing.

Music player, then can be according to its own working specification, to being played on when listening to gesture operation Music data executes corresponding processing.

In practical applications, it is corresponding to execute key assignments to music data when monitor listens to key assignments for music player Processing.

In one example, the processing executed to music data includes following at least one:

It switches to a piece of music data playback, switch to the broadcasting that next music data plays, suspends music data.

Certainly, the above-mentioned processing executed to music data is intended only as example, in implementing the embodiments of the present invention, Ke Yigen According to actual conditions, other processing executed to music data are set, for example, playback progress F.F., playback progress retrogressing, etc., this Inventive embodiments are without restriction to this.In addition, those skilled in the art can also be according to reality other than above-mentioned gesture operation The processing executed using other pairs of music datas is needed, the embodiment of the present invention is also without restriction to this.

It is combined between gesture operation and processing, in the example that one is applied to fingerprint sensor:

User executes the left sliding operation of fingerprint, then music player switches to a piece of music data playback.

User executes the right sliding operation of fingerprint, then music player switches to the broadcasting of next music data.

User executes fingerprint double click operation, then the broadcasting of music player pause music data.

In addition, in the example for being applied to touch screen at one:

User executes the left sliding operation of fingerprint or draws less than sign " < ", then music player switches to a piece of music data It plays.

User executes the right sliding operation of fingerprint and draws greater-than sign " > ", then music player switches to next music data and broadcasts It puts.

User executes fingerprint double click operation, then the broadcasting of music player pause music data.

Certainly, said combination mode is intended only as example, in implementing the embodiments of the present invention, can set according to the actual situation Other combinations are set, for example, user executes sliding operation on fingerprint, then music player is to current music data playback progress F.F., user execute fingerprint downslide operation, then music player is to current music data playback progress retrogressing, etc., this hair Bright embodiment is without restriction to this.In addition, those skilled in the art can also be according to practical need other than said combination mode Other combinations are used, the embodiment of the present invention is also without restriction to this.

In embodiments of the present invention, for music player when playing music data, detection, which is gone out, shields operation, according to screen operation of going out Gesture operation is monitored to handle music data according to gesture operation, when listening to gesture operation due to mobile terminal Some sensors remain operational under screen state of going out, and therefore, these sensors are multiplexed under screen state of going out and are carried out to music data Processing ensure that low-power consumption and low cost without additionally increasing other hardware, meanwhile, the type of gesture operation is more, relatively The type on ground, the corresponding processing of the gesture operation is more, can meet the most operational requirements of user, reduces and opens screen, In The probability that the interface of music player is operated improves the simplicity of control, also, the frequency due to reducing screen on-off It is secondary, power consumption can be reduced.

Referring to Fig. 2, the step flow chart of the processing method of another music data of one embodiment of the invention is shown, It can specifically include following steps:

Step 201, for music player when playing music data, detection, which is gone out, shields operation;

Step 202, music player goes out according to described in shields operation monitoring gesture operation;

Step 203, music player is when listening to gesture operation, according to the gesture operation to the music data into Row processing.

Step 204, music player detects bright screen operation when playing music data.

During music player operation, playing music data, user actively presses power key (physical button), point Hit or long-pressing fingerprint sensor, incoming call when, screen can be lighted, that is, trigger the operation of bright screen.

Mobile terminal can send a bright screen broadcast (SCREEN_ON) when triggering the operation of bright screen.

For music player, a monitor can be registered by way of code, monitor bright screen broadcast (SCREEN_ON)。

If music player receives bright screen broadcast (SCREEN_ON), it can be confirmed and trigger bright screen operation.

It should be noted that mobile terminal may be performed simultaneously unlock operation when triggering the operation of bright screen, can not also hold Row unlock operation, the embodiments of the present invention are not limited thereto.

Step 205, music player ceases listening for gesture operation according to the bright screen operation.

If music player listens to bright screen operation, can terminate to monitor gesture operation.

In the state of going out screen, in the inner nuclear layer of mobile terminal, if the sensors such as fingerprint sensor inspection, touch screen are surveyed To gesture operation, then gesture operation can be converted to specified key assignments, and report to application according to preset mapping relations Layer.

Therefore, for music player, if listening to bright screen operation, it can operate to nullify according to bright screen and monitor Device, to cease listening for the key assignments that fingerprint sensor or touch screen report.

Wherein, key assignments and there are mapping relations between being based on.

In addition, if formerly registering the mapping relations between specified gesture operation and key assignments to touch screen, at this point it is possible to Touch screen nullifies the mapping relations between specified gesture operation and key assignments, stops the detection of these gesture operations, avoids occurring Maloperation.

In embodiments of the present invention, music player detects bright screen operation, operates according to bright screen when playing music data Gesture operation is ceased listening for, user can directly be handled music data at the interface of music player, so that other are monitored The application of gesture operation can operate normally.

It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.

Referring to Fig. 3, a kind of structural block diagram of the processing unit of music data of one embodiment of the invention is shown, is applied In the terminal, the mobile terminal is equipped with music player, and described device is located in the music player, specifically may be used To include following module:

Go out screen operation detection module 301, for when playing music data, detecting screen operation of going out;

Gesture operation monitors module 302, and for going out according to described in, gesture operation is monitored in screen operation;

Music data processing module 303, for when listening to gesture operation, according to the gesture operation to the music Data are handled.

In one embodiment of the invention, the mobile terminal has fingerprint sensor or touch screen, the gesture behaviour Making monitoring module 302 includes:

Monitor registers submodule, for the screen operation registration monitor that goes out according to described in, to monitor the fingerprint sensor Or the key assignments that the touch screen reports, there are mapping relations between the key assignments and gesture operation.

In one embodiment of the invention, the gesture operation monitors module 302 further include:

Mapping relations register submodule, the mapping between gesture operation and key assignments for specifying to touch screen registration Relationship.

In one embodiment of the invention, the music data processing module 303 includes:

Key assignments handles submodule, for executing institute to the music data when the monitor listens to the key assignments State the corresponding processing of key assignments.

In one embodiment of the invention, further includes:

Bright screen operates detection module, for when playing music data, detecting bright screen operation;

Stopping modular is monitored, for ceasing listening for gesture operation according to the bright screen operation.

In one embodiment of the invention, the mobile terminal has fingerprint sensor or touch screen, and the monitoring stops Only module includes:

Monitor nullifies submodule, for nullifying monitor according to the bright screen operation, is passed with ceasing listening for the fingerprint The key assignments that sensor or the touch screen report has mapping relations between the key assignments and gesture operation.

In one embodiment of the invention, the monitoring stopping modular further include:

Mapping relations nullify submodule, for nullifying the mapping between specified gesture operation and key assignments to the touch screen Relationship.

In one example of an embodiment of the present invention, the gesture operation includes following at least one:

Left sliding operation, right sliding operation, double click operation;

The processing includes following at least one:

It switches to a piece of music data playback, switch to the broadcasting that next music data plays, suspends music data.

For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.

In embodiments of the present invention, for music player when playing music data, detection, which is gone out, shields operation, according to screen operation of going out Gesture operation is monitored to handle music data according to gesture operation, when listening to gesture operation due to mobile terminal Some sensors remain operational under screen state of going out, and therefore, these sensors are multiplexed under screen state of going out and are carried out to music data Processing ensure that low-power consumption and low cost without additionally increasing other hardware, meanwhile, the type of gesture operation is more, relatively The type on ground, the corresponding processing of the gesture operation is more, can meet the most operational requirements of user, reduces and opens screen, In The probability that the interface of music player is operated improves the simplicity of control, also, the frequency due to reducing screen on-off It is secondary, power consumption can be reduced.

A kind of hardware structural diagram of Fig. 4 mobile terminal of each embodiment to realize the present invention.

The mobile terminal 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, defeated Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor The components such as 410 and power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..

Wherein, processor 410, for music player when playing music data, detection, which is gone out, shields operation;Music player Gesture operation is monitored in screen operation of going out according to described in;Music player is when listening to gesture operation, according to the gesture operation pair The music data is handled.

In embodiments of the present invention, for music player when playing music data, detection, which is gone out, shields operation, according to screen operation of going out Gesture operation is monitored to handle music data according to gesture operation, when listening to gesture operation due to mobile terminal Some sensors remain operational under screen state of going out, and therefore, these sensors are multiplexed under screen state of going out and are carried out to music data Processing ensure that low-power consumption and low cost without additionally increasing other hardware, meanwhile, the type of gesture operation is more, relatively The type on ground, the corresponding processing of the gesture operation is more, can meet the most operational requirements of user, reduces and opens screen, In The probability that the interface of music player is operated improves the simplicity of control, also, the frequency due to reducing screen on-off It is secondary, power consumption can be reduced.

It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set Standby communication.

Mobile terminal provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..

Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..

Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor (Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.

Mobile terminal 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.

Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.

User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071 Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments 4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.

Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display Panel 4061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.

Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal Data are transmitted between external device (ED).

Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.

Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.

Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411 Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put The functions such as electricity and power managed.

In addition, mobile terminal 400 includes some unshowned functional modules, details are not described herein.

Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410 Each process of the processing method embodiment of the above-mentioned music data of Shi Shixian, and identical technical effect can be reached, to avoid weight Multiple, which is not described herein again.

The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each mistake of the processing method embodiment of above-mentioned music data when being executed by processor Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..

All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.

It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.

The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.

These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.

These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.

Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.

Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.

Above to a kind of processing method of music data provided by the present invention, a kind of processing unit of music data, one Kind of mobile terminal and a kind of computer readable storage medium, are described in detail, and specific case used herein is to this hair Bright principle and embodiment is expounded, method of the invention that the above embodiments are only used to help understand and its Core concept;At the same time, for those skilled in the art, according to the thought of the present invention, in specific embodiment and application There will be changes in range, in conclusion the contents of this specification are not to be construed as limiting the invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种指纹触控映射控制方法、终端及计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类