The content of the invention
The purpose of invention is to solve the deficiencies in the prior art to play there is provided one kind control game application and other application sound
Method and apparatus, by providing a variety of game applications and other application sound broadcast mode, allow the developer of game application
Can according to demand, flexibly modification game application and other application are to sound play mode, and user can also voluntarily select
Game application sound broadcast mode, with obtain simultaneously improve different type Consumer's Experience effect.
To achieve these goals, the present invention proposes a kind of method for controlling game application to be played with other application sound,
Comprise the following steps:
S100 after) game application starts, detected whether that sound plays setting table, step S300 directly performed if having,
Otherwise step S200 is performed;
S200) prompting user sets the sound broadcast mode of related other application, and forms the sound and play setting table,
It is saved in the game application;
S300) played according to the sound and table is set, control the volume for the game application and other application currently run.
In the above method of the present invention, step S300 is the sound that the other application is gradually reduced by way of gradual change
Amount.
Similarly, in the above method of the present invention, step S300 can also be specified in the music of the other application
After time, such as after the music of the other application is finished, stop the music of the other application and play the game application
Music.
In the above method of the present invention, developer can preset the sound in game application and play setting table.With
When family is not provided with the sound broadcast mode of related application, the default sound plays the sound that setting table will be regarded as user's setting
Sound, which is played, sets table, to control the volume for the game application and other application currently run.
The present invention is it is also proposed that a kind of device for controlling game application and other application sound to play, including with lower module:
Logging modle, setting table is played for storing sound;
Editor module, sets the sound broadcast mode of the game application and the other application, and formed for obtaining user
The sound, which is played, sets table;
Performing module, table is set for being played according to the sound, controls the game application that currently runs and other application
Volume.
In the said apparatus of the present invention, the performing module is the sound that other application is gradually reduced by way of gradual change
Amount.
Similarly, the present invention said apparatus in, the performing module other application music specify the time after,
For example after the music of other application is finished, stop the music of other application and the music of game replaying application.
In the said apparatus of the present invention, developer presets the sound in the logging modle and plays setting table.With
When family is not provided with the game application and the sound broadcast mode of the other application, the default sound is played and set by the performing module
The sound broadcasting setting table that table is considered as user's setting is put, to control the sound for the game application and other application currently run
Amount.
Present invention also offers a kind of computer-readable medium, comprising should with other for performing above-mentioned control game application
With the instruction of sound playing method.
The technical problem that the present invention conflicts for existing game application and other application sound broadcast mode, is proposed a kind of
The method and apparatus for controlling game application and other application sound to play, with obtain user can voluntarily select game application and other
The sound play mode of application, so as to improve the technique effect of different type user's game experiencing simultaneously.
Embodiment
The technique effect of the design of the present invention, concrete structure and generation is carried out below with reference to embodiment and accompanying drawing clear
Chu, complete description, to be completely understood by the purpose of the present invention, scheme and effect.It should be noted that in situation about not conflicting
Under, the feature in embodiment and embodiment in the application can be mutually combined.The identical accompanying drawing mark used everywhere in accompanying drawing
Note indicates same or analogous part.
The method flow diagram that control game application shown in reference picture 1 is played with other application sound, according to the present invention's
One embodiment, method proposed by the invention comprises the following steps:
S100 after) game application starts, detected whether that sound plays setting table, step S300 directly performed if having,
Otherwise step S200 is performed;
S200) prompting user sets the sound broadcast mode of other application, and forms the sound broadcasting setting table, wherein
The sound, which plays setting table, can use including but not limited to following manner preservation, for example, recorded in game application, preserve
For readable external file or it recorded in registration table;
S300) played according to the sound and table is set, control the volume for the game application and other application currently run.
In one embodiment of the invention, game application can gradually reduce the sound of other application by way of gradual change
Amount, and the volume of final plant closure other application so that user can progressively adapt to the audio between game application and other application
And volume change, improve the usage experience of user.
In another embodiment of the present invention, the music of the other application was specified after the time, stop it is described its
The music for music and the game replaying application that he applies.Specifically, the performing module is internally provided with timer.User can be with
The time of specifying is set in game application described in preceding one-shot.When user is again started up the game application, and detect institute
Other application is stated in running background, the game application music of itself will stop playing and timer will start timing, and
After the default specified time, stop the music of the other application, and commence play out answering for the game application itself
With.
Further, the other application by way of setting timer, can monitor the current sound of the other application
Happy broadcast state;After the music of the other application is finished, the game application just commences play out the music of itself, from
And avoid user from listening the music midway of the other application to be forced to interrupt, influence the Consumer's Experience of the game application.
In another embodiment of the present invention, the developer of the game application can be according to the game application
The hobby of type and targeted user population, the sound is preset in the game application and plays setting table.User opens first
Move after the game application, the sound broadcast mode of related application can be not provided with, but directly use the default sound
Sound setting table is played as user set plays setting table, to control the game application that currently runs and described
The volume of other application, so as to quickly start the game application, the setting for simplifying the game application operates to improve user
Experience.
The structure flow chart that control game application shown in reference picture 2 is played with other application sound, according to the present invention's
One embodiment, device proposed by the invention is included with lower module:Logging modle, setting table is played for storing sound;Editor
Module, sets the sound broadcast mode of the game application and the other application, and form the sound for obtaining user
Play and table is set;Performing module, table is set for being played according to the sound, controls the game application and the institute currently run
State the volume of other application.Specifically, after user starts the game application, the editor module will be to the logging modle
Instruction is sent, the whether recorded sound of the game application is inquired about and plays setting table.Wherein, the logging modle can be with
The sound is stored by the way of including but not limited to following and plays setting table, for example, recorded the data of the logging modle
In storehouse, save as readable external file or recorded in registration table.If the logging modle is returned to the editor module
It is sky to return result, then the editor module will issue the user with the sound broadcasting for setting the game application and the other application
Mode, and according to the setting of user, form the sound and play setting table, be saved in the logging modle.Finally, it is described to compile
Volume module will send message to the performing module, it is desirable to which the performing module is according to the sound of the logging modle memory storage
Sound equipment list, controls the volume for the game application and other application currently run.
In one embodiment of the invention, the performing module can gradually reduce other application by way of gradual change
Volume, and the volume of final plant closure other application so that user progressively can be adapted between game application and other application
Audio and volume change, improve the usage experience of user.
In another embodiment of the present invention, the music of the other application was specified after the time, the execution mould
Block stops the music of the music of the other application and game replaying application.Specifically, the performing module is internally provided with fixed
When device.User can set the time of specifying in game application described in preceding one-shot.Answered when user is again started up the game
With and detecting the other application in running background, the game application music of itself will stop playing and described hold
The timer of row module will start timing.After the default specified time, the performing module is played according to the sound
Table is set, stops the music of the other application, and commences play out the game application application of itself.
Further, the performing module sends message with certain frequency by way of setting timer to system,
The current music broadcast state of the other application is inquired about, so as to monitor the other application.When the music of the other application
After finishing, the performing module just commences play out the music of the game application, thus avoid user listen it is described other
The music midway of application is forced to interrupt, and influences the Consumer's Experience of the game application.
In another embodiment of the present invention, the developer of the game application can be according to the game application
The hobby of type and targeted user population, the sound is preset in the logging modle and plays setting table.User opens first
Move after the game application, the sound broadcast mode of related application can be not provided with, but directly use the default sound
Sound setting table is played as user set plays setting table, to control the game application that currently runs and described
The volume of other application, so as to quickly start the game application, the setting for simplifying the game application operates to improve user
Experience.
Although description of the invention is quite detailed and especially several embodiments are described, it is not
These any details or embodiment or any specific embodiments are intended to be limited to, but it is by reference to appended that should be considered as
Claim considers that prior art is explained for the possibility that these claims provide broad sense, so as to effectively cover the present invention
Preset range.In addition, with the foreseeable embodiment of inventor, present invention is described above, its purpose is to be provided with
Description, and those unsubstantialities changes to the present invention still unforeseen at present can still represent the equivalent modifications of the present invention.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in computer read/write memory medium.Understood based on such, technical scheme is substantially in other words to existing
The part for having part that technology contributes or the technical scheme can be embodied in the form of software product, the computer
Software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be personal meter
Calculation machine, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.And it is preceding
The storage medium stated includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It will be appreciated by those skilled in the art that the present invention can be implemented as a kind of system, device, equipment, method or calculating
Machine program product.Therefore, the disclosure can be implemented as following form, i.e.,:Complete hardware, complete software are (including solid
Part, resident software, microcode etc.), or the form that hardware and software is combined.