CN104102717A - Method and system for exclusively playing music at terminal - Google Patents

Method and system for exclusively playing music at terminal Download PDF

Info

Publication number
CN104102717A
CN104102717A CN201410342026.4A CN201410342026A CN104102717A CN 104102717 A CN104102717 A CN 104102717A CN 201410342026 A CN201410342026 A CN 201410342026A CN 104102717 A CN104102717 A CN 104102717A
Authority
CN
China
Prior art keywords
music
terminal
exclusive
application
playing
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.)
Granted
Application number
CN201410342026.4A
Other languages
Chinese (zh)
Other versions
CN104102717B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410342026.4A priority Critical patent/CN104102717B/en
Publication of CN104102717A publication Critical patent/CN104102717A/en
Application granted granted Critical
Publication of CN104102717B publication Critical patent/CN104102717B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method and a system for exclusively playing music at a terminal. The method comprises the following steps of starting a music exclusive playing mode if a starting instruction of the music exclusive playing mode is received when music is played on a music playing application of the terminal; acquiring first identification information of the music playing application; adding the first identification information serving as an identification code in a preset music exclusive playing file path; detecting an audio playing request transmitted by a first application of the terminal; and determining an audio playing strategy of the first application according to the audio playing request and the identification code. The music exclusive playing mode is a music playing mode which is set at the terminal in advance. By the scheme, unnecessary trouble on a user when the music is played at the terminal is avoided, and the user experience is improved.

Description

In terminal, carry out the method and system of the exclusive broadcasting of music
Technical field
The present invention relates to the first applied technical field, particularly relate to a kind of method and system that carries out the exclusive broadcasting of music in terminal.
Background technology
Along with the development of terminal technology and the raising of people's living standard, various terminals have particularly become the requisite instrument of modern such as the mobile terminal such as mobile phone, panel computer, bring great convenience to people's life.Under some occasion, user may only want to use terminal plays music, but because the first application is numerous, in the time playing music, is usually interrupted or disturb by the message the tinkle of bells of various application, affects user and experiences.
Summary of the invention
The object of the present invention is to provide a kind of method and system that carries out the exclusive broadcasting of music in terminal, can avoid causing unnecessary bothering to user in the time of terminal plays music, promote user and experience.
Object of the present invention is achieved through the following technical solutions:
A method of carrying out the exclusive broadcasting of music in terminal, comprises the steps:
In the time that music is carried out in the music application of described terminal, if receive the open command of the exclusive play mode of music, open the exclusive play mode of described music, wherein, the exclusive play mode of described music is a music playing mode of setting up in advance in described terminal;
The first identification information that obtains described music application, adds to described the first identification information as identification code in the exclusive played file of default music path;
Detect the audio frequency playing request that the first application of described terminal sends, determine the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code.
A system of carrying out the exclusive broadcasting of music in terminal, comprising:
Opening module, for in the time that music is carried out in the music application of described terminal, if receive the open command of the exclusive play mode of music, open the exclusive play mode of described music, wherein, the exclusive play mode of described music is a music playing mode of setting up in advance in described terminal;
Acquisition module, for obtaining the first identification information of described music application, adds to described the first identification information as identification code in the exclusive played file of default music path;
Control module, the audio frequency playing request sending for detection of the first application of described terminal, determines the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code.
According to the scheme of the invention described above, it is in terminal, to have set up in advance the exclusive play mode of music, in the time that music is carried out in the music application of described terminal, if receive the instruction of opening the exclusive play mode of this music, open the exclusive play mode of this music, and obtain the first identification information of described music application, add to this first identification information as identification code in the exclusive played file of default music path, detect the audio frequency playing request of the first application transmission of described terminal, determine the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code, control audio frequency whether played of the first application, owing to having set up the exclusive play mode of music in terminal, and owing to having added to the first identification information of the music of playing as identification code in the exclusive played file of default music path, and can be according to the broadcasting that the audio frequency that audio frequency playing request and described identification code control first are applied detected whether, thereby, avoid causing unnecessary bothering to user in the time of terminal plays music, promote user's experience.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the embodiment mono-of method of carrying out the exclusive broadcasting of music in terminal of the present invention;
Fig. 2 is the schematic flow sheet of the embodiment bis-of method of carrying out the exclusive broadcasting of music in terminal of the present invention;
Fig. 3 is the schematic flow sheet of the embodiment tri-of method of carrying out the exclusive broadcasting of music in terminal of the present invention;
Fig. 4 is the schematic flow sheet of the embodiment tetra-of method of carrying out the exclusive broadcasting of music in terminal of the present invention;
Fig. 5 is the schematic flow sheet of the embodiment five of method of carrying out the exclusive broadcasting of music in terminal of the present invention;
Fig. 6 is the structural representation in the embodiment therein of system of carrying out the exclusive broadcasting of music in terminal of the present invention;
Fig. 7 is the structural representation in another embodiment of system of carrying out the exclusive broadcasting of music in terminal of the present invention;
Fig. 8 is the structural representation in the 3rd embodiment of system of carrying out the exclusive broadcasting of music in terminal of the present invention;
Fig. 9 is the structural representation in the 4th embodiment of system of carrying out the exclusive broadcasting of music in terminal of the present invention;
Figure 10 is the structural representation in the 5th embodiment of system of carrying out the exclusive broadcasting of music in terminal of the present invention;
Figure 11 is the structural representation in the 6th embodiment of system of carrying out the exclusive broadcasting of music in terminal of the present invention;
Figure 12 is the structural representation in the 7th embodiment of system of carrying out the exclusive broadcasting of music in terminal of the present invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is described in further detail.Should be appreciated that embodiment described herein, only in order to explain the present invention, does not limit protection scope of the present invention.
In following explanation, the embodiment that first carries out the method for the exclusive broadcasting of music for the present invention in terminal describes, more each embodiment of system of carrying out the exclusive broadcasting of music in terminal of the present invention is described.
Embodiment mono-
Shown in Figure 1, be the schematic flow sheet of the embodiment mono-of method of carrying out the exclusive broadcasting of music in terminal of the present invention.As shown in Figure 1, the method for carrying out the exclusive broadcasting of music in terminal in the present embodiment comprises the steps:
Step S101: in the time that music is carried out in the music application of described terminal, if receive the open command of the exclusive play mode of music, open the exclusive play mode of described music, wherein, the exclusive play mode of described music is a music playing mode of setting up in advance in described terminal, enters step S102;
Wherein, in the time that music is carried out in the music application of described terminal, can whether enter the exclusive play mode of music to user's prompting, the mode of prompting can be passed through chart, sound, the modes such as menu realize, user can be by manually arranging, the modes such as Sound control send open command to terminal, terminal receives after this open command, open the exclusive play mode of music, the exclusive play mode of music is a music playing mode of setting up in advance in described terminal, under the exclusive play mode of this music, and can realize music interruption-free by follow-up step,
The method of carrying out the exclusive broadcasting of music in terminal in the present embodiment can further include step: indicating current music playing mode to user is the exclusive play mode of music, wherein, the mode of instruction can realize by modes such as sound, menu, icons;
Step S102: obtain the first identification information of described music application, add to described the first identification information as identification code in the exclusive played file of default music path, enter step S103;
Wherein, any one in process title, routine package name or the process number etc. that can comprise described music application of the first identification information;
Step S103: detect the audio frequency playing request that the first application of described terminal sends, when the audio frequency playing request sending in the first application that terminal detected, determine the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code;
In the present embodiment first application comprises the various application that need to carry out audio frequency broadcasting in described terminal, also can comprise above-mentioned music application, and broadcast strategy mainly comprises to be play and does not play two kinds;
Owing to adding to the first identification information as identification code in the exclusive played file of default music path, and due to whenever having application message to push or notified etc. need to playing music, prompting sound, when the tinkle of bells, all need audio frequency related service to terminal (as audio processing modules, or be called audio frequency treatment scheme) transmission audio frequency playing request, at this moment, can obtain the process title of the first application, routine package name or process number, by the process title getting, routine package name or process number and described codes match, according to the broadcast strategy of the audio frequency of the first application described in matching result control control,
Particularly, in an embodiment, obtain the second identification information of described the first application according to described audio frequency playing request therein; Judge described the second identification information whether with described codes match; If coupling, plays the audio frequency of described the first application, broadcast strategy is for playing; If do not mate, return to the step of the audio frequency playing request that described detection first applies, be also that broadcast strategy is not for playing; Wherein, the second identification information can comprise any one in process title, routine package name or the process number of the first application, the process play of audio frequency of described the first application mainly comprises that parsings (decoding) first apply the audio file of appointment, then by earphone or put outward and play back etc.
In addition, the method of carrying out the exclusive broadcasting of music in terminal in the present embodiment can further include step: in the time receiving the out code of the exclusive play mode of described music or pause instruction, or in the time that the described music of playing finishes play or stop playing, close the exclusive play mode of music, like this can, recover all application audio playing function of (or also can be called the first application).
Accordingly, according to the scheme of above-described embodiment, it is in terminal, to have set up in advance the exclusive play mode of music, in the time that music is carried out in the music application of described terminal, if receive the instruction of opening the exclusive play mode of this music, open the exclusive play mode of this music, and obtain the first identification information of described music application, add to this first identification information as identification code in the exclusive played file of default music path, detect the audio frequency playing request of the first application transmission of described terminal, determine the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code, control audio frequency whether played of the first application, owing to having set up the exclusive play mode of music in terminal, and owing to having added to the first identification information of the music of playing as identification code in the exclusive played file of default music path, and can be according to the broadcasting that the audio frequency that audio frequency playing request and described identification code control first are applied detected whether, thereby, avoid causing unnecessary bothering to user in the time of terminal plays music, promote user's experience.
Embodiment bis-
Consider in the time that described terminal enters the exclusive play mode of music, user may still wish that the message the tinkle of bells (also can be considered to music) of certain applications is played, for example, the tinkle of bells of note, incoming call, therefore, can also increase and add the step in the exclusive played file of described music path using the 3rd identification information of these application as identification code to.
As shown in Figure 2, the method for carrying out the exclusive broadcasting of music in terminal in the present embodiment comprises the steps:
Step S201: in the time that music is carried out in the music application of described terminal, if receive the open command of the exclusive play mode of music, open the exclusive play mode of described music, wherein, the exclusive play mode of described music is a music playing mode of setting up in advance in described terminal, enters step S202;
Step S202: obtain the first identification information of described music application, add to described the first identification information as identification code in the exclusive played file of default music path, enter step S203;
Step S203: receive and add instruction, the 3rd identification information of the second corresponding this interpolation instruction application is added in the exclusive played file of described music path as identification code, enter step S204;
In the present embodiment second application comprises the various application that need to carry out audio frequency broadcasting in described terminal, does not generally comprise above-mentioned music application;
Wherein, can add as required in the exclusive played file of described music path any one in process title, routine package name or the process number etc. of the application of these (or this) of the 3rd identification information to using the 3rd identification information of the second application as identification code;
Step S204: detect the audio frequency playing request that the first application of described terminal sends, when the audio frequency playing request sending in the first application that terminal detected, determine the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code.
Identical with above-described embodiment one of other technologies feature in the present embodiment, does not repeat them here.
It should be noted that, adding to the 3rd identification information of other application as identification code in the exclusive played file of music path in the present embodiment is not limited to carry out after step S202, for example, can also before step S202, carry out, and do not repeat them here.
Embodiment tri-
As shown in Figure 3, be the schematic flow sheet of embodiment of the method three of carrying out the exclusive broadcasting of music in terminal of the present invention.In the present embodiment, be with the difference of above-described embodiment one, consider that user is in the time listening to the music, particularly, in the time listening the music of high-quality, if there are other application on the backstage that this music is Online Music and terminal also using wifi, data network download or upgrade, can cause Online Music download bandwidth inadequate, surge time is long, thereby, increase the step of the operation of current use network and the application except the application of described music, to improve user's experience.
The method of as shown in Figure 3, carrying out the exclusive broadcasting of music in the present embodiment in terminal comprises the steps:
Step S301: in the time that music is carried out in the music application of described terminal, if receive the open command of the exclusive play mode of music, open the exclusive play mode of described music, wherein, the exclusive play mode of described music is a music playing mode of setting up in advance in described terminal, enters step S302;
Step S302: obtain the first identification information of described music application, add to described the first identification information as identification code in the exclusive played file of default music path, enter step S303;
Step S303: judge whether the current music of playing is Online Music, if so, enters step S304, if not, enters step S305;
Step S304: keep the described music application of operation, and forbid or suspend the operation of current use network and the application except described music application, enter step S305;
Step S305: detect the audio frequency playing request that the first application of described terminal sends, when the audio frequency playing request sending in the first application that terminal detected, determine the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code;
Judge that whether the current music of playing is that the implementation of Online Music can be: whether the average speed of download that judges described music application reaches default download threshold value, if, can be judged to be the current music of playing is Online Music, if not, can be judged to be the current music of playing is local music, wherein, download threshold value and can set according to actual needs, for example 20KB/s.
Identical with above-described embodiment one of other technologies feature in the present embodiment, does not repeat them here.
It should be noted that, step S303, the step S304 in the present embodiment is not limited to carry out after step S302, for example, can also before step S302, carry out, and do not repeat them here.
Embodiment tetra-
As shown in Figure 4, be the schematic flow sheet of embodiment of the method four of carrying out the exclusive broadcasting of music in terminal of the present invention.In the present embodiment, be with the difference of above-described embodiment one, consider that the process of moving takies cpu (Central Processing Unit in terminal, central processing unit) when more, can cause playing music decoding speed inadequate, occur that the user that in music process, card pauses experiences, thereby, increase the step of closing or suspending non-key process, to improve user's experience.
The method of as shown in Figure 4, carrying out the exclusive broadcasting of music in the present embodiment in terminal comprises the steps:
Step S401: in the time that music is carried out in the music application of described terminal, if receive the open command of the exclusive play mode of music, open the exclusive play mode of described music, wherein, the exclusive play mode of described music is a music playing mode of setting up in advance in described terminal, enters step S402;
Step S402: obtain the first identification information of described music application, add to described the first identification information as identification code in the exclusive played file of default music path, enter step S403;
Step S403: judge that whether described terminal is in screen closed condition, if described not in described terminal in screen closed condition, enter step S404, if described terminal, in screen closed condition, enters step S405;
Step S404: judge whether music-playing interface is full frame interface, if described music-playing interface is full frame interface, enters step S405, if described music-playing interface is not full frame interface, enters step S408;
Step S405: inquire about the process grouping of the current operation process of described terminal, enter step S406;
Step S406: judge according to described process grouping whether this process grouping is default critical processes grouping, if not the grouping of default critical processes enters step S407;
Step S407: stop or suspend described current operation process, entering step S408;
Step S408: detect the audio frequency playing request that the first application of described terminal sends, when the audio frequency playing request sending in the first application that terminal detected, determine the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code;
In Android system, process grouping comprises root, system, radio, media, user etc., critical processes fingering journey is grouped into root, system, the process of radio, the process of other process groupings all can be considered non-key process, in the exclusive play mode of music, can be terminated or suspend.
Identical with above-described embodiment one of other technologies feature in the present embodiment, does not repeat them here.
It should be noted that, the step S403~step S407 in the present embodiment is not limited to carry out after step S402, for example, can also before step S402, carry out, and does not repeat them here.
In addition, in the present embodiment, judge that described terminal is whether in screen closed condition with judge whether music-playing interface is that full frame interface also can be not according to above-mentioned order execution, for example, can also be first to carry out to judge whether music-playing interface is the step at full frame interface, carry out and judge that whether described terminal is in screen closed condition again, simultaneously, in above-described embodiment, to comprise judging that described terminal is whether in screen closed condition with judge whether music-playing interface is the mode at full frame interface simultaneously, also can only comprise and judge the whether mode in screen closed condition of described terminal, or only comprise and judge whether music-playing interface is the mode at full frame interface, do not repeat them here.
Embodiment five
As shown in Figure 5, be the schematic flow sheet of embodiment of the method four of carrying out the exclusive broadcasting of music in terminal of the present invention.In the present embodiment, be with the difference of above-described embodiment four, adopt other a kind of mode to realize and stop or suspend non-key process, to improve user's experience.
The method of as shown in Figure 5, carrying out the exclusive broadcasting of music in the present embodiment in terminal comprises the steps:
Step S501: in the time that music is carried out in the music application of described terminal, if receive the open command of the exclusive play mode of music, open the exclusive play mode of described music, wherein, the exclusive play mode of described music is a music playing mode of setting up in advance in described terminal, enters step S502;
Step S502: obtain the first identification information of described music application, add to described the first identification information as identification code in the exclusive played file of default music path;
Step S503: judge that whether described terminal is in screen closed condition, if described not in described terminal in screen closed condition, enter step S504, if described terminal, in screen closed condition, enters step S505;
Step S504: judge whether music-playing interface is full frame interface, if described music-playing interface is full frame interface, enters step S505, if described music-playing interface is not full frame interface, enters step S507;
Step S505: inquire about the process identification (PID) of current operation process of described terminal whether in default critical processes identification list,, not in default critical processes identification list, enter step S506;
Step S506: stop or suspend described current operation process;
Step S507: detect the audio frequency playing request that the first application of described terminal sends, when the audio frequency playing request sending in the first application that terminal detected, determine the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code;
In the present embodiment, can be in advance using some processes as critical processes, add the process identification (PID) of these processes to critical processes identification list, process identification (PID) is not considered as non-key process in the process of critical processes identification list and is terminated or suspends, and can provide abundant cpu resource and memory source for the decoding of high-quality music.
Identical with above-described embodiment one of other technologies feature in the present embodiment, does not repeat them here.
It should be noted that, the step S503~step S506 in the present embodiment is not limited to carry out after step S502, for example, can also before step S502, carry out, and does not repeat them here.
In addition, in the present embodiment, judge that described terminal is whether in screen closed condition with judge whether music-playing interface is that full frame interface also can be not according to above-mentioned order execution, for example, can also be first to carry out to judge whether music-playing interface is the step at full frame interface, carry out and judge that whether described terminal is in screen closed condition again, simultaneously, in above-described embodiment, to comprise judging that described terminal is whether in screen closed condition with judge whether music-playing interface is the mode at full frame interface simultaneously, also can only comprise and judge the whether mode in screen closed condition of described terminal, or only comprise and judge whether music-playing interface is the mode at full frame interface, do not repeat them here.
According to the method for carrying out the exclusive broadcasting of music in terminal of the invention described above, the present invention also provides a kind of system of carrying out the exclusive broadcasting of music in terminal, below is elaborated with regard to the embodiment that carries out the system of the exclusive broadcasting of music in terminal of the present invention.The structural representation that carries out the embodiment of the system of the exclusive broadcasting of music in terminal of the present invention has been shown in Fig. 6.For convenience of explanation, in Fig. 6, only show part related to the present invention.
As shown in Figure 6, the system of carrying out the exclusive broadcasting of music in terminal in the present embodiment, comprises opening module 601, acquisition module 602, control module 603, wherein:
Opening module 601, for in the time that music is carried out in the music application of described terminal, if receive the open command of the exclusive play mode of music, open the exclusive play mode of described music, wherein, the exclusive play mode of described music is a music playing mode of setting up in advance in described terminal;
Acquisition module 602, for obtaining the first identification information of described music application, adds to described the first identification information as identification code in the exclusive played file of default music path;
Control module 603, the audio frequency playing request sending for detection of the first application of described terminal, determines the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code.
Therein in an embodiment, control module 603 can be obtained according to described audio frequency playing request the second identification information of described the first application, judge described the second identification information whether with described codes match, if coupling, the audio frequency of described the first application is play, if do not mate, return to the step of the audio frequency playing request that described detection first applies.
In an embodiment, as shown in Figure 7, system of carrying out the exclusive broadcasting of music in terminal of the present invention can also comprise therein:
Add module 604, for receiving interpolation instruction, the 3rd identification information of the second corresponding this interpolation instruction application is added in the exclusive played file of described music path as identification code.
In an embodiment, as shown in Figure 8, system of carrying out the exclusive broadcasting of music in terminal of the present invention can also comprise therein:
Network control module 605, for judging whether the current music of playing is Online Music, if so, keeps the described music application of operation, and forbids or suspend the operation of current use network and the application except described music application.
In an embodiment, as shown in Figure 9, system of carrying out the exclusive broadcasting of music in terminal of the present invention can also comprise therein:
The first process processing module 606, be used for judging that whether described terminal is in screen closed condition, if described terminal is in screen closed condition, inquire about the process grouping of the current operation process of described terminal, judge according to described process grouping whether this process grouping is default critical processes grouping, if not default critical processes grouping, stop or suspend described current operation process;
In an embodiment, as shown in figure 10, system of carrying out the exclusive broadcasting of music in terminal of the present invention can also comprise therein:
The second process processing module 607, be used for judging whether music-playing interface is full frame interface, if described music-playing interface is full frame interface, inquire about the process grouping of the current operation process of described terminal, judge according to described process grouping whether this process grouping is default critical processes grouping, if not default critical processes grouping, stop or suspend described current operation process.
In an embodiment, as shown in figure 11, system of carrying out the exclusive broadcasting of music in terminal of the present invention can also comprise therein:
The 3rd process processing module 608, be used for judging that whether described terminal is in screen closed condition, if described terminal is in screen closed condition, inquire about the process identification (PID) of current operation process of described terminal whether in default critical processes identification list, if not in default critical processes identification list, stop or suspend described current operation process.
In an embodiment, as shown in figure 12, system of carrying out the exclusive broadcasting of music in terminal of the present invention can also comprise therein:
The 4th process processing module 609, be used for judging whether music-playing interface is full frame interface, if described music-playing interface is full frame interface, inquire about the process identification (PID) of current operation process of described terminal whether in default critical processes identification list, if not in default critical processes identification list, stop or suspend described current operation process.
System of carrying out the exclusive broadcasting of music in terminal of the present invention is corresponding one by one with method of carrying out the exclusive broadcasting of music in terminal of the present invention, technical characterictic and the beneficial effect thereof of setting forth at the embodiment of above-mentioned method of carrying out the exclusive broadcasting of music in terminal are all applicable in the embodiment of the system of carrying out the exclusive broadcasting of music in terminal, hereby statement.
In addition, in description of the invention, term " first ", " second ", " the 3rd " be only for describing object, and can not be interpreted as instruction or hint relative importance.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. a method of carrying out the exclusive broadcasting of music in terminal, is characterized in that, comprises the steps:
In the time that music is carried out in the music application of described terminal, if receive the open command of the exclusive play mode of music, open the exclusive play mode of described music, wherein, the exclusive play mode of described music is a music playing mode of setting up in advance in described terminal;
The first identification information that obtains described music application, adds to described the first identification information as identification code in the exclusive played file of default music path;
Detect the audio frequency playing request that the first application of described terminal sends, determine the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code.
2. method of carrying out the exclusive broadcasting of music in terminal according to claim 1, is characterized in that, describedly determines that according to audio frequency playing request and described identification code the broadcast strategy of the audio frequency of described the first application comprises the steps:
Obtain the second identification information of described the first application according to described audio frequency playing request;
Judge described the second identification information whether with described codes match;
If coupling, plays the audio frequency of described the first application;
If do not mate, return to the step of the audio frequency playing request that described detection first applies.
3. method of carrying out the exclusive broadcasting of music in terminal according to claim 1, it is characterized in that, also comprise step: receive and add instruction, the 3rd identification information of the second corresponding this interpolation instruction application is added in the exclusive played file of described music path as identification code.
4. method of carrying out the exclusive broadcasting of music in terminal according to claim 1, is characterized in that, also comprises step:
Judge whether the current music of playing is Online Music;
If so, keep the described music application of operation, and forbid or suspend the operation of current use network and the application except described music application.
5. method of carrying out the exclusive broadcasting of music in terminal according to claim 1, is characterized in that, also comprises step:
Judge that whether described terminal is in screen closed condition, if described terminal is in screen closed condition, inquire about the process grouping of the current operation process of described terminal, judge according to described process grouping whether this process grouping is default critical processes grouping, if not default critical processes grouping, stop or suspend described current operation process;
Or
Judge whether music-playing interface is full frame interface, if described music-playing interface is full frame interface, inquire about the process grouping of the current operation process of described terminal, judge according to described process grouping whether this process grouping is default critical processes grouping, if not default critical processes grouping, stop or suspend described current operation process;
Or
Judge that whether described terminal is in screen closed condition, if described terminal is in screen closed condition, inquire about the process identification (PID) of current operation process of described terminal whether in default critical processes identification list, if not in default critical processes identification list, stop or suspend described current operation process;
Or
Judge whether music-playing interface is full frame interface, if described music-playing interface is full frame interface, inquire about the process identification (PID) of current operation process of described terminal whether in default critical processes identification list, if not in default critical processes identification list, stop or suspend described current operation process.
6. a system of carrying out the exclusive broadcasting of music in terminal, is characterized in that, comprising:
Opening module, for in the time that music is carried out in the music application of described terminal, if receive the open command of the exclusive play mode of music, open the exclusive play mode of described music, wherein, the exclusive play mode of described music is a music playing mode of setting up in advance in described terminal;
Acquisition module, for obtaining the first identification information of described music application, adds to described the first identification information as identification code in the exclusive played file of default music path;
Control module, the audio frequency playing request sending for detection of the first application of described terminal, determines the broadcast strategy of the audio frequency of described the first application according to audio frequency playing request and described identification code.
7. system of carrying out the exclusive broadcasting of music in terminal according to claim 6, is characterized in that:
Described control module is obtained the second identification information of described the first application according to described audio frequency playing request, judge described the second identification information whether with described codes match, if coupling, the audio frequency of described the first application is play, if do not mate, return to the step of the audio frequency playing request that described detection first applies.
8. system of carrying out the exclusive broadcasting of music in terminal according to claim 6, is characterized in that, also comprises:
Add module, for receiving interpolation instruction, the 3rd identification information of the second corresponding this interpolation instruction application is added in the exclusive played file of described music path as identification code.
9. system of carrying out the exclusive broadcasting of music in terminal according to claim 6, is characterized in that, also comprises:
Network control module, for judging whether the current music of playing is Online Music, if so, keeps the described music application of operation, and forbids or suspend the operation of current use network and the application except described music application.
10. system of carrying out the exclusive broadcasting of music in terminal according to claim 6, is characterized in that, also comprises:
The first process processing module, be used for judging that whether described terminal is in screen closed condition, if described terminal is in screen closed condition, inquire about the process grouping of the current operation process of described terminal, judge according to described process grouping whether this process grouping is default critical processes grouping, if not default critical processes grouping, stop or suspend described current operation process;
Or
The second process processing module, be used for judging whether music-playing interface is full frame interface, if described music-playing interface is full frame interface, inquire about the process grouping of the current operation process of described terminal, judge according to described process grouping whether this process grouping is default critical processes grouping, if not default critical processes grouping, stop or suspend described current operation process;
Or
The 3rd process processing module, be used for judging that whether described terminal is in screen closed condition, if described terminal is in screen closed condition, inquire about the process identification (PID) of current operation process of described terminal whether in default critical processes identification list, if not in default critical processes identification list, stop or suspend described current operation process;
Or
The 4th process processing module, be used for judging whether music-playing interface is full frame interface, if described music-playing interface is full frame interface, inquire about the process identification (PID) of current operation process of described terminal whether in default critical processes identification list, if not in default critical processes identification list, stop or suspend described current operation process.
CN201410342026.4A 2014-07-17 2014-07-17 Method and system for exclusively playing music on terminal Expired - Fee Related CN104102717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410342026.4A CN104102717B (en) 2014-07-17 2014-07-17 Method and system for exclusively playing music on terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410342026.4A CN104102717B (en) 2014-07-17 2014-07-17 Method and system for exclusively playing music on terminal

Publications (2)

Publication Number Publication Date
CN104102717A true CN104102717A (en) 2014-10-15
CN104102717B CN104102717B (en) 2019-12-27

Family

ID=51670871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410342026.4A Expired - Fee Related CN104102717B (en) 2014-07-17 2014-07-17 Method and system for exclusively playing music on terminal

Country Status (1)

Country Link
CN (1) CN104102717B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426218A (en) * 2015-12-10 2016-03-23 小米科技有限责任公司 Method and device for controlling audio playing
CN108184193A (en) * 2017-12-28 2018-06-19 西安Tcl软件开发有限公司 Control method for playing back, bluetooth equipment and the computer storage media of bluetooth playback terminal
CN110191227A (en) * 2019-05-20 2019-08-30 维沃移动通信有限公司 Message prompt method and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1703059A (en) * 2004-05-28 2005-11-30 乐金电子(中国)研究开发中心有限公司 Method of realizing special mode functions of mp3 of mobile communication terminal
CN101277334A (en) * 2008-05-06 2008-10-01 宇龙计算机通信科技(深圳)有限公司 Mobile terminal with play mode and method for implementing play mode
CN102868809A (en) * 2012-08-30 2013-01-09 广东欧珀移动通信有限公司 Mobile phone music playing method and mobile phone
CN102982263A (en) * 2012-11-19 2013-03-20 中国联合网络通信集团有限公司 Application program protection method and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1703059A (en) * 2004-05-28 2005-11-30 乐金电子(中国)研究开发中心有限公司 Method of realizing special mode functions of mp3 of mobile communication terminal
CN101277334A (en) * 2008-05-06 2008-10-01 宇龙计算机通信科技(深圳)有限公司 Mobile terminal with play mode and method for implementing play mode
CN102868809A (en) * 2012-08-30 2013-01-09 广东欧珀移动通信有限公司 Mobile phone music playing method and mobile phone
CN102982263A (en) * 2012-11-19 2013-03-20 中国联合网络通信集团有限公司 Application program protection method and equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426218A (en) * 2015-12-10 2016-03-23 小米科技有限责任公司 Method and device for controlling audio playing
CN108184193A (en) * 2017-12-28 2018-06-19 西安Tcl软件开发有限公司 Control method for playing back, bluetooth equipment and the computer storage media of bluetooth playback terminal
CN110191227A (en) * 2019-05-20 2019-08-30 维沃移动通信有限公司 Message prompt method and mobile terminal

Also Published As

Publication number Publication date
CN104102717B (en) 2019-12-27

Similar Documents

Publication Publication Date Title
CN110459221B (en) Method and device for multi-device cooperative voice interaction
KR101963424B1 (en) Message Transmission Method, and Message Reception Method and Apparatus
US8588849B2 (en) System and method for resuming media
CN111078448B (en) Method for processing audio abnormity and electronic equipment
CN105159672B (en) Remote assistance method and client
KR101727249B1 (en) Method, device, program and recording medium for testing terminal
AU2014200056B2 (en) Apparatus and method for providing a near field communication function in a portable terminal
KR20230008147A (en) WI-FI peer-to-peer service implementation method and related device
CN104144260A (en) Control method and device for avoiding disturbing from mobile terminal incoming calls
KR20140042911A (en) Device, system and method of processing a received alert
CN104793991B (en) A kind of audio output apparatus switching method and device
CN106940997B (en) Method and device for sending voice signal to voice recognition system
CN106095387A (en) The audio method to set up of a kind of terminal and terminal
KR20190061438A (en) Remote control, electronic apparatus and pairing method thereof
CN104079542A (en) Information processing method and device management server
CN104102717A (en) Method and system for exclusively playing music at terminal
CN108702708B (en) Downlink control signaling detection method, device and storage medium
EP3157175A1 (en) Voice data transmission processing method, terminal, and computer storage medium
CN108476520A (en) Data transmission method, device and computer readable storage medium
CN105335192B (en) A kind of information processing method and electronic equipment
CN112786070B (en) Audio data processing method and device, storage medium and electronic equipment
CN109194998A (en) Data transmission method, device, electronic equipment and computer-readable medium
CN106878976B (en) Mobile terminal and data sharing method of dual systems
CN103167127A (en) System and method for achieving incoming call mute of mobile phone based on range sensor and gesture operation
US9214914B2 (en) Audio device control program, mobile telephone, recording medium, and control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191227