Summary of the invention
The purpose of the embodiment of the invention is to provide the method for a kind of while playing pictures and music, be intended to solve in the prior art when picture and music are play together, when the user needs the control operation music, need withdraw from picture and just can make amendment, the problem of troublesome poeration, not enough hommization.
The embodiment of the invention is achieved in that the method for a kind of while playing pictures and music, and described method comprises the steps:
In the playing process of picture and music, receive the menu key information of user's input, actions menu then Shows Picture on the current picture of playing;
Under the state that the picture actions menu shows,, then on the current picture of playing, show the music actions menu if receive described menu key information again;
Receive the music control information of user, the broadcast of music is operated accordingly according to described music actions menu input.
Another purpose of the embodiment of the invention is to provide the system of a kind of while playing pictures and music, and described system comprises:
Picture actions menu display control module is used for the playing process in picture and music, receive the menu key information of user input after, the control actions menu that Shows Picture on the current picture of playing then;
Music actions menu display control module is used for after described picture actions menu display control module control Shows Picture actions menu, if receive menu key information again, then control shows the music actions menu on the current picture of playing;
Music operation control module is used to receive the music control information of user according to the input of music actions menu, and the broadcast of music is operated accordingly.
Another purpose of the embodiment of the invention is to provide a kind of hand-held terminal device that includes aforesaid while playing pictures and music system.
In embodiments of the present invention, by under different broadcast states or show state, receiving key information, control the state of picture or music, under the situation of feasible playing pictures at the same time and music, that need not withdraw from that picture playing just can be random allows the user select or controls music, strengthened the independence that the user selects to control music, improved the convenience of operating picture and music simultaneously, and the switching of user between operation picture and operation music is simple and clear, software architecture is clear, has significantly reduced the phenomenons such as deadlock that the user produces because of misoperation in using the hand-held terminal device process.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, by under different broadcast states or show state, receiving menu key information, demonstrate corresponding picture actions menu or music actions menu, need not withdraw from picture playing and can carry out various operation setting to picture and music by picture actions menu and music actions menu.
The realization flow of playing pictures and music method when Fig. 1 shows the embodiment of the invention and provides, it is existing that details are as follows:
In step S101, when picture begins to play, to create music and tabulate temporarily, music begins to play from the first first song of tabulation automatically.
In this step, if on the current device without any music file, then the interim tabulation of the music of Chuan Jianing does not have the broadcast of music for sky.
In step S102, in the playing process of picture and music, receive the menu key information of user's input, actions menu then Shows Picture; If behind the actions menu that Shows Picture, do not receive any key information in continuous 5 seconds, execution in step S107 then, otherwise, carry out next step.
In this step, when Showing Picture actions menu, picture suspends to be play; Described menu of pictures include show a last pictures, show next pictures, play automatically, amplification, on the selection of 8 functions such as move, move down, move to left, move to right, 4 function selecting of moving wherein, move down, move to left, move to right must be amplified at picture, and indication range surpasses under the situation of display screen scope just effective, all functions are selected by key up and down, and acknowledgement key is carried out.
In step S103, receive the picture control information of user according to the input of picture function that actions menu has, according to the picture control information picture is adjusted accordingly.
In step S104, under the state of actions menu that Shows Picture, when receiving the menu key information of user's input once more, then show the music actions menu; If after showing the music actions menu, do not receive any key information in continuous 5 seconds, execution in step S107 then, otherwise, carry out next step.
In this step, when showing the music actions menu, picture suspends to be play; Described music actions menu include a head, next, play/suspend, stop, the selection of 6 functions such as play mode, playlist, wherein broadcast/pause function is the broadcast and the time-out of operation music; And hold function is just adjusted the beginning that the broadcast state of music is got back to current music; Play mode is used to select the play mode of music, can be random pattern, circulation pattern, normal mode and single loop play etc.; Playlist functionality can eject the wicket of a playlist, window has been listed all songs in the tabulation, after tabulation is ejected, the focus limit of operation has all focused in this tabulation, key select File up and down, right and left key page turning, acknowledgement key are carried out and are withdrawed from playlist and turn back to music actions menu state, and music actions menu state is selected and turned back in the return key cancellation.Under music actions menu state, all functions are selected the acknowledgement key executable operations by key up and down.
In step S105, receive the music control information of user according to the input of music function that actions menu has, according to the music control information music is adjusted accordingly.
In step S106, under the state that shows the music actions menu, another receives the menu key information of user's input.
In step S107, menu disappears and picture returns to broadcast state.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, described storage medium is as ROM/RAM, disk, CD etc.
The structure of the system of playing pictures and music for convenience of explanation, only showed the part relevant with the embodiment of the invention when Fig. 2 showed the embodiment of the invention and provides.
Described Play System 20 comprises picture actions menu display control module 201, music actions menu display control module 202, recovery module 203, picture playing operation control module 204 and music operation control module 205.Wherein picture actions menu display control module 201, music actions menu display control module 202 and recover module 203 and be used for different menu shown and control.
When at the picture playing state, if picture actions menu display control module 201 receives the menu key information of user's input, then control the actions menu that Shows Picture, and give music actions menu display control module 202 with the current actions menu state transfer that Shows Picture, picture playing operation this moment control module 204 receives the picture control information of user according to the input of picture actions menu, and the broadcast of picture is operated accordingly;
If music actions menu display control module 202 receives the menu key information of user's input again, and by the current as can be known picture actions menu show state that is in picture actions menu display control module 201 places, then control shows the music actions menu, and current demonstration music actions menu state transfer give recovered module 203, music operation this moment control module 205 receives the music control information of user according to the input of music actions menu, and the broadcast of music is operated accordingly;
If recover the menu key information that module 203 receives user's input again, and by the current as can be known music actions menu show state that is in music actions menu display control module 202 places, then control the music actions menu and disappear, and the control picture returns to broadcast state.
The embodiment of the invention also provides a kind of hand-held terminal device that comprises above-mentioned picture and music playing system, and the system of described while playing pictures and music can be the unit that is built in software unit, hardware cell or software and hardware combining in the hand-held terminal device.Its working method is same as described above, repeats no more.
Fig. 3 shows the realization flow of the interim list creating that the embodiment of the invention provides, and existing details are as follows:
In step S301, when picture begins to play, read the All Files information in the storer.
In step S302, the fileinfo that reads is judged, if audio file is then carried out next step, otherwise finish.
In step S303, the file address information in the fileinfo is stored, create tabulation temporarily.
In embodiments of the present invention, by under different broadcast states or show state, receiving menu key information, realize the switching of different operating menu, and then control the state of picture or music, under the situation of feasible playing pictures at the same time and music, need not withdraw from the music that the user selects oneself to be needed that allows that picture playing just can be random, strengthened the independence that the user selects music, improved the convenience of operating picture and music simultaneously, and the switching of user between operation picture and operation music is simple and clear, software architecture is clear, has significantly reduced the phenomenons such as deadlock that the user produces because of misoperation in using the hand-held terminal device process.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.