CN105162886B - A kind of audio control method and device - Google Patents
A kind of audio control method and device Download PDFInfo
- Publication number
- CN105162886B CN105162886B CN201510624999.1A CN201510624999A CN105162886B CN 105162886 B CN105162886 B CN 105162886B CN 201510624999 A CN201510624999 A CN 201510624999A CN 105162886 B CN105162886 B CN 105162886B
- Authority
- CN
- China
- Prior art keywords
- application program
- terminal equipment
- itself
- information
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000005540 biological transmission Effects 0.000 claims abstract description 27
- 230000004044 response Effects 0.000 claims description 22
- 238000011084 recovery Methods 0.000 claims description 4
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 230000003044 adaptive effect Effects 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 210000004556 brain Anatomy 0.000 description 1
- 230000006854 communication Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention discloses a kind of audio control method and devices, this method is applied to first terminal equipment, the application starting notification information of second terminal equipment transmission is received by P2P mode, the identification information for the application program that the second terminal equipment is currently up wherein is carried in the application starting notification information, according to the identification information of the application program, judge whether the priority of the application program is higher than the priority of itself currently running application program;If it is, close the sound of itself currently running application program, if not, keeping current state constant.In the embodiment of the present invention, the application starting notification information of other terminals transmission is received by P2P mode, and the priority of the application program be higher than itself currently running application program priority when, in order to avoid the interference of sound, by the audible closure of currently running application program, to realize the unified sound control of striding equipment, adaptive intelligent sound control program is realized.
Description
Technical field
The present invention relates to technical field of voice control, in particular to a kind of audio control method and device.
Background technique
Sound is a kind of medium of exclusive formula, it is broadcasted by air.Different sound can mix in communication process
Together.So the mankind can be heard in public places from each provenance and the sound that mixes.In general, it is only necessary to connect
Treat as noise removal by the sound of particular source, and the sound in other sources.Or the sound in these sources is all critically important, needs
It to separate and propagate, rather than be fused together, so as to cause can not hear clearly.
In the prior art, on personal smart machine, operating system can help people to solve this sound and monopolize asking for formula
Topic.Operating system arranges the output of sound using priority for application program, has reached the purpose of control sound.
In order to realize control to sound on different terminals, in the prior art can in the family by server into
Row control.Specifically, each equipment in family is registered in the server, and is realized and controlled by server.But the party
Method is very restricted, this is because all control functions all concentrate on the server, when server system overload or
Collapse will be unable to the control for realizing sound;In addition, the program can only control the equipment being registered in server, if
There is new extraneous device, then cannot achieve and it is controlled, sound still can be admixed together.
Summary of the invention
The purpose of the embodiment of the present invention is that a kind of audio control method and device are provided, for realizing between different terminals
The control of sound.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of audio control methods, are applied to first terminal equipment,
The described method includes:
The application starting notification information that the transmission of second terminal equipment is received by P2P mode, wherein application starting is logical
Know the identification information that the application program that the second terminal equipment is currently up is carried in information;
According to the identification information of the application program, judge whether the priority of the application program is higher than itself current operation
Application program priority;If it is, closing the sound of itself currently running application program;If not, keeping current
State it is constant.
Optionally, the method also includes:
The application end notification information that second terminal equipment is sent is received, wherein carrying in the application end notification information
The identification information for the application program that the second terminal equipment currently terminates;
According to the identification information of the application program, judge whether the priority of the application program is higher than itself current operation
Application program priority;If so, restoring the sound of the currently running application program of equipment of itself;If not, keeping working as
Preceding state is constant.
Optionally, the method also includes:
The prompt information opened to user's sending application program audio, wherein carries the application for closing sound in prompt information
The identification information of program;
And when receiving user's unlatching request, the sound of the application program is opened.
Optionally, described before the application starting notification information that the transmission of second terminal equipment is received by P2P mode
Method further include:
The registration information that second terminal equipment is sent is received, wherein carrying the second terminal equipment institute in the registration information
In the identification information of local area network;
Judge whether the identification information of the local area network is identical as the identification information of local area network where itself;
It is connect if it is, establishing P2P with the second terminal equipment, and returns and establish to the second terminal equipment
The response message of P2P connection connect second terminal equipment with P2P itself is established.
Optionally, described before the application starting notification information that the transmission of second terminal equipment is received by P2P mode
Method further include:
The registration information that second terminal equipment is sent is received, wherein carrying the second terminal equipment in the registration information
The information of user name;
Judge whether the user name is identical as the user name of itself;
It is connect if it is, establishing P2P with the second terminal equipment, and returns and establish to the second terminal equipment
The response message of P2P connection connect second terminal equipment with P2P itself is established.
The embodiment of the invention provides a kind of sound control apparatus, are applied to first terminal equipment, and described device includes:
Message reception module, for receiving the application starting notification information of second terminal equipment transmission by P2P mode,
Described in using carrying the identification information of the application program that the second terminal equipment is currently up in starting notification information;
Message response module judges that the priority of the application program is for the identification information according to the application program
The no priority higher than itself currently running application program;If it is, closing the sound of itself currently running application program
Sound;If not, keeping current state constant.
Optionally, described device further include:
Recovery module, for receiving the application end notification information of second terminal equipment transmission, wherein the application terminates
The identification information for the application program that the second terminal equipment currently terminates is carried in notification information;According to the mark of the application program
Know information, judges whether the priority of the application program is higher than the priority of itself currently running application program;If so, extensive
The sound of the multiple currently running application program of equipment of itself;If not, keeping current state constant.
Optionally, described device further include:
Cue module, the prompt information for opening to user's sending application program audio, wherein carries in prompt information
Close the identification information of the application program of sound;And when receiving user's unlatching request, the sound of the application program is opened.
Optionally, described device further include:
Registration module, for receiving the registration information of second terminal equipment transmission, wherein carrying in the registration information should
The identification information of local area network where second terminal equipment;Judge the mark of the identification information of the local area network and local area network where itself
Whether identical know information;It connect if it is, establishing P2P with the second terminal equipment, and is returned to the second terminal equipment
The response message for establishing P2P connection is returned, connect second terminal equipment with P2P itself is established.
Optionally, described device further include:
Registration module, for receiving the registration information of second terminal equipment transmission, wherein carrying in the registration information should
The information of the user name of second terminal equipment;Judge whether the user name is identical as the user name of itself;If it is, with described
Second terminal equipment establishes P2P connection, and the response message for establishing P2P connection is returned to the second terminal equipment, makes second
Terminal device is connect with P2P itself is established.
As it can be seen that the application starting notification information of other terminals transmission is received by P2P mode in the embodiment of the present invention,
And the priority of the application program is when being higher than the priority of itself currently running application program, in order to avoid the interference of sound,
By the audible closure of currently running application program, to realize the unified sound control of striding equipment, adaptive intelligence is realized
It can sound control scheme.Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach above-described simultaneously
All advantages.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of audio control method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another audio control method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of sound control apparatus provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another sound control apparatus provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow diagram of audio control method provided in an embodiment of the present invention, and this method is applied to first
Terminal device the described method comprises the following steps:
S101: the application starting notification information of second terminal equipment transmission is received by P2P mode, wherein the application is opened
The identification information for the application program that the second terminal equipment is currently up is carried in dynamic notification information.
Specifically, terminal device can set for terminals such as smart television, plate, mobile phone, mobile unit and wearable devices
It is standby.The application program can be the application programs such as video, game, music, phone, alarm clock.
In embodiments of the present invention in order to realize sound control, pass through P2P between the terminal device for carrying out sound control
Connection.It before carrying out sound control, is registered between terminal device, forms the connection structure of P2P.Work as any terminal
When application program launching in equipment, which all can be to other terminal device sending applications for using P2P to connect with it
Start notification information, wherein carrying the mark for the application program that the terminal device is currently up in application starting notification information
Information.
S102: according to the identification information of the application program, judge whether the priority of the application program is worked as higher than itself
The priority of the application program of preceding operation;If so, executing S103;If not, keeping current state constant.
Sound control is carried out between different terminal equipment in order to realize, the every of setting is preserved in each terminal device
The priority list of a application program, the priority list saved in each terminal device are identical.The priority list can be pre-
It is first stored in each terminal device, can also be configured by user, after being provided with, in the different terminals of P2P network
It is shared between equipment, keeps the priority list saved in each terminal device identical.
The priority of each application program saved in the priority list can according to need flexible setting, such as can be with
By the relatively high of the priority of phone and alarm clock setting, relatively low etc., Huo Zhe electricity is arranged in the priority of other applications
The highest priority of words, followed by the priority of alarm clock, the priority of other applications are all equal and preferential lower than alarm clock
Grade etc..
S103: the sound of itself currently running application program is closed.
When first terminal equipment determines that the priority of the application program of current second terminal equipment starting is higher than itself currently
When the priority of the application program of operation, in order to avoid the interference of equipment room sound, first terminal equipment currently runs itself
Application program audible closure.
After closing application program, the method also includes:
The prompt information opened to user's sending application program audio, wherein carries the application for closing sound in prompt information
The identification information of program;
And when receiving user's unlatching request, the sound of the application program is opened.
Further, when the higher application program of the priority is closed, in order to guarantee the experience of user, second end
It holds to the other first terminals for carrying out P2P connection with it and sends prompt information, so that second terminal opens the sound of application program.
In the embodiment of the present invention, the application starting notification information of other terminals transmission is received by P2P mode, and this is answered
It, will be current in order to avoid the interference of sound when being higher than the priority of itself currently running application program with the priority of program
The audible closure of the application program of operation realizes adaptive intelligent sound to realize the unified sound control of striding equipment
Control program.
In order to realize the connection of the P2P between terminal, registered between terminal in embodiments of the present invention, it is described logical
It crosses before the application starting notification information that P2P mode receives the transmission of second terminal equipment, the method also includes:
The registration information that second terminal equipment is sent is received, wherein carrying the second terminal equipment institute in the registration information
In the identification information of local area network;
Judge whether the identification information of the local area network is identical as the identification information of local area network where itself;
It is connect if it is, establishing P2P with the second terminal equipment, and returns and establish to the second terminal equipment
The response message of P2P connection connect second terminal equipment with P2P itself is established.
It when being registered, can also be registered according to the user name of user, which includes:
The registration information that second terminal equipment is sent is received, wherein carrying the second terminal equipment in the registration information
The information of user name;
Judge whether the user name is identical as the user name of itself;
It is connect if it is, establishing P2P with the second terminal equipment, and returns and establish to the second terminal equipment
The response message of P2P connection connect second terminal equipment with P2P itself is established.
After completing registration between terminal, being uniformly controlled for sound can be carried out in terminal after registration.
Fig. 2 is the flow diagram of another audio control method provided in an embodiment of the present invention, is applied to first terminal
Equipment the described method comprises the following steps:
S201: the registration information that second terminal equipment is sent is received, wherein carrying the second terminal in the registration information
The identification information of local area network where equipment;Judging the identification information of the identification information and local area network where itself of the local area network is
It is no identical;It is connect if it is, establishing P2P with the second terminal equipment, and establishes P2P to second terminal equipment return
The response message of connection connect second terminal equipment with P2P itself is established.
It is that P2P registration, the local are carried out according to the identification information of local area network in above-mentioned implementation process of the invention
Net can may be WLAN for the local area network in a local geographic range, when second terminal equipment enters local
Within the scope of net, registration information is sent to first terminal equipment, wherein where carrying the second terminal equipment in the registration information
The identification information of local area network;First terminal equipment judges that the identification information of the local area network and the mark of local area network where itself are believed
It whether identical ceases;It connect if it is, establishing P2P with the second terminal equipment, and is built to second terminal equipment return
The response message of vertical P2P connection, connect second terminal equipment with P2P itself is established, thus first terminal equipment and the second end
End equipment completes registration process and forms P2P connection structure, and any terminal device in local area network can pass through identical side
Formula is registered, and this will not be repeated here.
It when being registered, can also be registered according to user name, specifically include: to receive second terminal equipment to send
Registration information, wherein carrying the information of the user name of the second terminal equipment in the registration information;Judging the user name is
It is no identical as the user name of itself;It is connect if it is, establishing P2P with the second terminal equipment, and to the second terminal
Equipment returns to the response message for establishing P2P connection, connect second terminal equipment with P2P itself is established.
It is that P2P registration, the terminal device are carried out according to the information of user name in above-mentioned implementation process of the invention
It is embedded in virtual acoustic manager (EVVM), same user name is distributed for same user, on the different terminal equipment of the user
The same user name can be used in EVVM.EVVM in first terminal equipment receives the note that the EVVM in second terminal equipment is sent
Volume information judges that the user name is wherein carrying the information of the user name of second terminal equipment EVVM in the registration information
It is no identical as the EVVM user name of itself;It is connect if it is, establishing P2P with the second terminal equipment, and to described second
Terminal device returns to the response message for establishing P2P connection, connect second terminal equipment with P2P itself is established, and thus first eventually
End equipment and second terminal equipment complete registration process and form P2P connection structure, and any terminal device in local area network is equal
It can be registered in the same way, this will not be repeated here.
S202: the application starting notification information of second terminal equipment transmission is received by P2P mode, wherein the application is opened
The identification information for the application program that the second terminal equipment is currently up is carried in dynamic notification information.
S203: according to the identification information of the application program, judge whether the priority of the application program is worked as higher than itself
The priority of the application program of preceding operation;If it is, closing the sound of itself currently running application program;If not, protecting
It is constant to hold current state.
S204: the application end notification information that second terminal equipment is sent is received, wherein the application end notification information
The middle identification information for carrying the application program that the second terminal equipment currently terminates;According to the identification information of the application program,
Judge whether the priority of the application program is higher than the priority of itself currently running application program;If so, restoring itself
The sound of the currently running application program of equipment;If not, keeping current state constant.
When first terminal equipment determines that the priority of the application program of current second terminal device end is higher than itself currently
When the priority of the application program of operation, in order to not influence the use of user, it is current that first terminal equipment will restore equipment of itself
The sound of the application program of operation.
In embodiments of the present invention, after the application program in second terminal equipment, in order to not influence making for user
With it is current to restore equipment of itself when receiving the application end notification information of second terminal equipment transmission for first terminal equipment
The sound of the application program of operation realizes adaptive intelligent sound control to realize the unified sound control of striding equipment
Scheme.
It should be noted that sound can be carried out in the same way by mutually establishing each terminal device of P2P connection
Control, for the sake of clarity, the method that the embodiment of the present invention introduces sound control from the angle of first terminal equipment, this first
Terminal device is any one terminal device for mutually establishing P2P connection.
It is situated between below with reference to a kind of method that a specific embodiment is provided for the embodiments of the invention sound control
It continues.
Assuming that first terminal equipment is tablet computer, second terminal equipment is mobile phone, third terminal equipment is PC.And it is false
If the priority of telephony application is higher than the priority of audio play-back application, and also above screen play-back application
Priority.
Tablet computer receives the registration information that mobile phone is sent, wherein local area network where carrying mobile phone in the registration information
Identification information, tablet computer judge whether the identification information of the local area network is identical as the identification information of local area network where itself,
It is connect if it is, establishing P2P with mobile phone, and returns to the response message for establishing P2P connection to mobile phone, make mobile phone and itself established
P2P connection.Or tablet computer receive mobile phone send registration information, wherein in the registration information carrying mobile phone user name
Information, judge whether the user name identical as the user name of itself, connect if it is, establishing P2P with mobile phone, and to mobile phone
The response message for establishing P2P connection is returned, connect mobile phone with P2P itself is established.Likewise, PC and tablet computer and mobile phone
Between registration process it is identical, repeat no more herein.
It is currently running screen play-back application in tablet computer, audio play-back application is currently running in PC.Mobile phone
In telephony application starting, such as incoming call when, at this point, mobile phone is opened by P2P mode to tablet computer and PC sending application
Dynamic notification information, the application start the identification information of portable phone application program in notification information, and tablet computer and PC pass through P2P
Mode receives application starting notification information, the identification information of portable phone application program, root in the application starting notification information
According to the identification information of telephony application, tablet computer judges that the priority of telephony application is broadcast higher than the screen of self-operating
The priority of application program is put, then tablet computer closes the sound of the video playing application program of operation.Likewise, PC also according to
Above-mentioned similar process executes judgement, closes audio play-back application, repeats no more herein.
Telephony application in mobile phone terminates, such as at the end of incoming call, at this point, mobile phone is electric to plate by P2P mode
Brain and PC sending application end notification information, this applies the identification information of portable phone application program in end notification information, puts down
Plate computer and PC receive this by P2P mode and apply end notification information, this is using portable phone application in end notification information
The identification information of program, since tablet computer and PC have been turned off the sound of itself currently running application program at this time, because
This, tablet computer and PC judge that the priority of telephony application is transported higher than itself according to the identification information of telephony application
The priority of capable application program, the then sound for the application program that tablet computer and PC resume operation.
Fig. 3 is a kind of structural schematic diagram of sound control apparatus provided in an embodiment of the present invention, with process phase shown in FIG. 1
Corresponding, which is applied to first terminal equipment, and described device includes:
Message reception module 301, for receiving the application starting notice letter of second terminal equipment transmission by P2P mode
Breath, wherein carrying the identification information for the application program that the second terminal equipment is currently up in application starting notification information;
Message response module 302 judges the priority of the application program for the identification information according to the application program
Whether the priority of itself currently running application program is higher than;If it is, closing itself currently running application program
Sound.
Described device further include:
Recovery module (not shown), for receiving the application end notification information of second terminal equipment transmission, wherein
It is described using the identification information for carrying the application program that the second terminal equipment currently terminates in end notification information;According to described
The identification information of application program, judges whether the priority of the application program is higher than the preferential of itself currently running application program
Grade;If so, restoring the sound of the currently running application program of equipment of itself;If not, keeping current state constant.
Described device further include:
Cue module (not shown), the prompt information for being opened to user's sending application program audio, wherein mentioning
Show the identification information for carrying in information and closing the application program of sound, and when receiving user's unlatching request, opens the application
The sound of program.
Fig. 4 is the structural schematic diagram of another sound control apparatus provided in an embodiment of the present invention, with process shown in Fig. 2
Corresponding, which is applied to first terminal equipment, and described device includes:
Message reception module 402, for receiving the application starting notice letter of second terminal equipment transmission by P2P mode
Breath, wherein carrying the identification information for the application program that the second terminal equipment is currently up in application starting notification information;
Message response module 403 judges the priority of the application program for the identification information according to the application program
Whether the priority of itself currently running application program is higher than;If it is, closing itself currently running application program
Sound.
Described device further include:
Registration module 401, for receiving the registration information of second terminal equipment transmission, wherein being carried in the registration information
The identification information of local area network where the second terminal equipment;The identification information and local area network where itself for judging the local area network
Whether identification information is identical;It is connect if it is, establishing P2P with the second terminal equipment, and to the second terminal equipment
The response message for establishing P2P connection is returned, connect second terminal equipment with P2P itself is established.
Described device further include:
Registration module 401, for receiving the registration information of second terminal equipment transmission, wherein being carried in the registration information
The information of the user name of the second terminal equipment;Judge whether the user name is identical as the user name of itself;If it is, with institute
It states second terminal equipment and establishes P2P connection, and return to the response message for establishing P2P connection to the second terminal equipment, make the
Two terminal devices are connect with P2P itself is established.
Described device further include:
Recovery module 404, for receiving the application end notification information of second terminal equipment transmission, wherein the application knot
The identification information that the application program that the second terminal equipment currently terminates is carried in beam notification information, according to the application program
Identification information, judges whether the priority of the application program is higher than the priority of itself currently running application program;If so,
Restore the sound of the currently running application program of equipment of itself;If not, keeping current state constant.
The embodiment of the invention discloses a kind of audio control method and device, this method is applied to first terminal equipment, leads to
It crosses P2P mode and receives the application starting notification information of second terminal equipment transmission, wherein being taken in application starting notification information
Identification information with the application program that the second terminal equipment is currently up, according to the identification information of the application program, judgement
Whether the priority of the application program is higher than the priority of itself currently running application program;Work as if it is, closing itself
The sound of the application program of preceding operation, if not, keeping current state constant.In the embodiment of the present invention, connect by P2P mode
The application starting notification information of other terminals transmission is received, and the priority of the application program is higher than itself currently running application
When the priority of program, in order to avoid the interference of sound, by the audible closure of currently running application program, thus realize across
The unified sound control of equipment realizes adaptive intelligent sound control program.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (6)
1. a kind of audio control method, which is characterized in that be applied to first terminal equipment, which comprises
The registration information that second terminal equipment is sent is received, wherein carrying office where the second terminal equipment in the registration information
The information of the user name of the identification information or second terminal equipment of domain net;
The identification information of the identification information of local area network where judging the second terminal equipment and itself place local area network whether phase
Together;It is connect if it is, establishing P2P with the second terminal equipment, and establishes P2P connection to second terminal equipment return
Response message, connect second terminal equipment with P2P itself is established;
Or judge whether the user name of the second terminal equipment is identical as the user name of itself;If it is, with described second
Terminal device establishes P2P connection, and the response message for establishing P2P connection is returned to the second terminal equipment, makes second terminal
Equipment is connect with P2P itself is established;
The application starting notification information of second terminal equipment transmission is received by P2P mode, wherein application starting notice letter
The identification information for the application program that the second terminal equipment is currently up is carried in breath;
According to the identification information of the application program, judge whether the priority of the application program is higher than itself and currently running answers
With the priority of program;If it is, closing the sound of itself currently running application program;If not, keeping current shape
State is constant.
2. the method according to claim 1, wherein the method also includes:
Receive the application end notification information that second terminal equipment is sent, wherein carried in the application end notification information this
The identification information for the application program that two terminal devices currently terminate;
According to the identification information of the application program, judge whether the priority of the application program is higher than itself and currently running answers
With the priority of program;If so, restoring the sound of the currently running application program of equipment of itself;If not, keeping currently
State is constant.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
The prompt information opened to user's sending application program audio, wherein carries the application program for closing sound in prompt information
Identification information;
And when receiving user's unlatching request, the sound of the application program is opened.
4. a kind of sound control apparatus, which is characterized in that be applied to first terminal equipment, described device includes:
Registration module, for receive second terminal equipment transmission registration information, wherein carried in the registration information this second
The information of the user name of the identification information or second terminal equipment of local area network where terminal device;
The registration module, be also used to judge the local area network identification information and local area network where itself identification information whether
It is identical;It is connect if it is, establishing P2P with the second terminal equipment, and establishes P2P to second terminal equipment return and connect
The response message connect connect second terminal equipment with P2P itself is established;
Alternatively, judging whether the user name is identical as the user name of itself;If it is, being established with the second terminal equipment
P2P connection, and the response message for establishing P2P connection is returned to the second terminal equipment, build second terminal equipment with itself
Vertical P2P connection;
Message reception module, the application for receiving the transmission of second terminal equipment by P2P mode start notification information, wherein institute
It states using the identification information for carrying the application program that the second terminal equipment is currently up in starting notification information;
Message response module judges whether the priority of the application program is high for the identification information according to the application program
In the priority of itself currently running application program;If it is, closing the sound of itself currently running application program;Such as
Fruit is no, keeps current state constant.
5. device according to claim 4, which is characterized in that described device further include:
Recovery module, for receiving the application end notification information of second terminal equipment transmission, wherein described apply end notification
The identification information for the application program that the second terminal equipment currently terminates is carried in information;Believed according to the mark of the application program
Breath, judges whether the priority of the application program is higher than the priority of itself currently running application program;If so, restoring certainly
The sound of the currently running application program of body equipment;If not, keeping current state constant.
6. device according to claim 4 or 5, which is characterized in that described device further include:
Cue module, the prompt information for opening to user's sending application program audio are wherein carried in prompt information and are closed
The identification information of the application program of sound;And when receiving user's unlatching request, the sound of the application program is opened.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510624999.1A CN105162886B (en) | 2015-09-25 | 2015-09-25 | A kind of audio control method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510624999.1A CN105162886B (en) | 2015-09-25 | 2015-09-25 | A kind of audio control method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105162886A CN105162886A (en) | 2015-12-16 |
| CN105162886B true CN105162886B (en) | 2019-04-12 |
Family
ID=54803638
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510624999.1A Active CN105162886B (en) | 2015-09-25 | 2015-09-25 | A kind of audio control method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105162886B (en) |
Families Citing this family (56)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105609122A (en) * | 2015-12-25 | 2016-05-25 | 百度在线网络技术(北京)有限公司 | Control method and device of terminal device |
| US10095470B2 (en) | 2016-02-22 | 2018-10-09 | Sonos, Inc. | Audio response playback |
| US9947316B2 (en) | 2016-02-22 | 2018-04-17 | Sonos, Inc. | Voice control of a media playback system |
| US10264030B2 (en) | 2016-02-22 | 2019-04-16 | Sonos, Inc. | Networked microphone device control |
| US9811314B2 (en) | 2016-02-22 | 2017-11-07 | Sonos, Inc. | Metadata exchange involving a networked playback system and a networked microphone system |
| US10743101B2 (en) | 2016-02-22 | 2020-08-11 | Sonos, Inc. | Content mixing |
| US9978390B2 (en) | 2016-06-09 | 2018-05-22 | Sonos, Inc. | Dynamic player selection for audio signal processing |
| US10134399B2 (en) | 2016-07-15 | 2018-11-20 | Sonos, Inc. | Contextualization of voice inputs |
| US10115400B2 (en) | 2016-08-05 | 2018-10-30 | Sonos, Inc. | Multiple voice services |
| US9942678B1 (en) | 2016-09-27 | 2018-04-10 | Sonos, Inc. | Audio playback settings for voice interaction |
| US10181323B2 (en) | 2016-10-19 | 2019-01-15 | Sonos, Inc. | Arbitration-based voice recognition |
| US11183181B2 (en) | 2017-03-27 | 2021-11-23 | Sonos, Inc. | Systems and methods of multiple voice services |
| US10475449B2 (en) | 2017-08-07 | 2019-11-12 | Sonos, Inc. | Wake-word detection suppression |
| US10048930B1 (en) | 2017-09-08 | 2018-08-14 | Sonos, Inc. | Dynamic computation of system response volume |
| US10446165B2 (en) | 2017-09-27 | 2019-10-15 | Sonos, Inc. | Robust short-time fourier transform acoustic echo cancellation during audio playback |
| US10482868B2 (en) | 2017-09-28 | 2019-11-19 | Sonos, Inc. | Multi-channel acoustic echo cancellation |
| US10051366B1 (en) | 2017-09-28 | 2018-08-14 | Sonos, Inc. | Three-dimensional beam forming with a microphone array |
| US10466962B2 (en) | 2017-09-29 | 2019-11-05 | Sonos, Inc. | Media playback system with voice assistance |
| US10880650B2 (en) | 2017-12-10 | 2020-12-29 | Sonos, Inc. | Network microphone devices with automatic do not disturb actuation capabilities |
| US10818290B2 (en) | 2017-12-11 | 2020-10-27 | Sonos, Inc. | Home graph |
| WO2019152722A1 (en) | 2018-01-31 | 2019-08-08 | Sonos, Inc. | Device designation of playback and network microphone device arrangements |
| US11175880B2 (en) | 2018-05-10 | 2021-11-16 | Sonos, Inc. | Systems and methods for voice-assisted media content selection |
| US10959029B2 (en) | 2018-05-25 | 2021-03-23 | Sonos, Inc. | Determining and adapting to changes in microphone performance of playback devices |
| US10681460B2 (en) | 2018-06-28 | 2020-06-09 | Sonos, Inc. | Systems and methods for associating playback devices with voice assistant services |
| US11076035B2 (en) | 2018-08-28 | 2021-07-27 | Sonos, Inc. | Do not disturb feature for audio notifications |
| US10461710B1 (en) | 2018-08-28 | 2019-10-29 | Sonos, Inc. | Media playback system with maximum volume setting |
| US10587430B1 (en) | 2018-09-14 | 2020-03-10 | Sonos, Inc. | Networked devices, systems, and methods for associating playback devices based on sound codes |
| US11024331B2 (en) | 2018-09-21 | 2021-06-01 | Sonos, Inc. | Voice detection optimization using sound metadata |
| US10811015B2 (en) | 2018-09-25 | 2020-10-20 | Sonos, Inc. | Voice detection optimization based on selected voice assistant service |
| US11100923B2 (en) | 2018-09-28 | 2021-08-24 | Sonos, Inc. | Systems and methods for selective wake word detection using neural network models |
| US10692518B2 (en) | 2018-09-29 | 2020-06-23 | Sonos, Inc. | Linear filtering for noise-suppressed speech detection via multiple network microphone devices |
| US11899519B2 (en) | 2018-10-23 | 2024-02-13 | Sonos, Inc. | Multiple stage network microphone device with reduced power consumption and processing load |
| EP3654249A1 (en) | 2018-11-15 | 2020-05-20 | Snips | Dilated convolutions and gating for efficient keyword spotting |
| US11183183B2 (en) | 2018-12-07 | 2021-11-23 | Sonos, Inc. | Systems and methods of operating media playback systems having multiple voice assistant services |
| US11132989B2 (en) | 2018-12-13 | 2021-09-28 | Sonos, Inc. | Networked microphone devices, systems, and methods of localized arbitration |
| US10602268B1 (en) | 2018-12-20 | 2020-03-24 | Sonos, Inc. | Optimization of network microphone devices using noise classification |
| US10867604B2 (en) | 2019-02-08 | 2020-12-15 | Sonos, Inc. | Devices, systems, and methods for distributed voice processing |
| US11120794B2 (en) | 2019-05-03 | 2021-09-14 | Sonos, Inc. | Voice assistant persistence across multiple network microphone devices |
| US11200894B2 (en) | 2019-06-12 | 2021-12-14 | Sonos, Inc. | Network microphone device with command keyword eventing |
| US11138969B2 (en) | 2019-07-31 | 2021-10-05 | Sonos, Inc. | Locally distributed keyword detection |
| US10871943B1 (en) | 2019-07-31 | 2020-12-22 | Sonos, Inc. | Noise classification for event detection |
| US11189286B2 (en) | 2019-10-22 | 2021-11-30 | Sonos, Inc. | VAS toggle based on device orientation |
| US11200900B2 (en) | 2019-12-20 | 2021-12-14 | Sonos, Inc. | Offline voice control |
| US11562740B2 (en) | 2020-01-07 | 2023-01-24 | Sonos, Inc. | Voice verification for media playback |
| US11556307B2 (en) | 2020-01-31 | 2023-01-17 | Sonos, Inc. | Local voice data processing |
| US11308958B2 (en) | 2020-02-07 | 2022-04-19 | Sonos, Inc. | Localized wakeword verification |
| CN111580776B (en) * | 2020-04-28 | 2023-07-21 | 广州市百果园信息技术有限公司 | Audio function recovery method, device, terminal and storage medium |
| US11482224B2 (en) | 2020-05-20 | 2022-10-25 | Sonos, Inc. | Command keywords with input detection windowing |
| US11308962B2 (en) | 2020-05-20 | 2022-04-19 | Sonos, Inc. | Input detection windowing |
| US12387716B2 (en) | 2020-06-08 | 2025-08-12 | Sonos, Inc. | Wakewordless voice quickstarts |
| US11698771B2 (en) | 2020-08-25 | 2023-07-11 | Sonos, Inc. | Vocal guidance engines for playback devices |
| US12283269B2 (en) | 2020-10-16 | 2025-04-22 | Sonos, Inc. | Intent inference in audiovisual communication sessions |
| US11984123B2 (en) | 2020-11-12 | 2024-05-14 | Sonos, Inc. | Network device interaction by range |
| EP4409933A1 (en) | 2021-09-30 | 2024-08-07 | Sonos, Inc. | Enabling and disabling microphones and voice assistants |
| EP4564154A3 (en) | 2021-09-30 | 2025-07-23 | Sonos Inc. | Conflict management for wake-word detection processes |
| US12327549B2 (en) | 2022-02-09 | 2025-06-10 | Sonos, Inc. | Gatekeeping for voice intent processing |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102930889A (en) * | 2012-10-26 | 2013-02-13 | 北京世纪联成科技有限公司 | Sound conflict processing method based on vehicle-mounted information entertainment system |
| CN104869206A (en) * | 2014-02-20 | 2015-08-26 | 华为终端有限公司 | Communication method and terminal |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103634275A (en) * | 2012-08-21 | 2014-03-12 | 联想(北京)有限公司 | Multi-device management and task migration methods and management server |
| CN103856386B (en) * | 2012-11-28 | 2016-10-26 | 腾讯科技(深圳)有限公司 | Information interacting method, system, server and instant messaging client |
| CN104010017A (en) * | 2013-02-27 | 2014-08-27 | 联想(北京)有限公司 | Terminal device and information processing method applied thereto |
| CN105120524A (en) * | 2015-07-21 | 2015-12-02 | 美国掌赢信息科技有限公司 | Method for establishing communication connection and electronic device |
-
2015
- 2015-09-25 CN CN201510624999.1A patent/CN105162886B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102930889A (en) * | 2012-10-26 | 2013-02-13 | 北京世纪联成科技有限公司 | Sound conflict processing method based on vehicle-mounted information entertainment system |
| CN104869206A (en) * | 2014-02-20 | 2015-08-26 | 华为终端有限公司 | Communication method and terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105162886A (en) | 2015-12-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105162886B (en) | A kind of audio control method and device | |
| CN104378522B (en) | Control method, control device and the remote control communication system of communication terminal | |
| CN101697580B (en) | Method and device for realizing videophone | |
| US20070165820A1 (en) | Sorting Speakers in a Network-Enabled Conference | |
| DE60330450D1 (en) | METHOD AND SYSTEM FOR TRANSFERRING DEVICE DATA IN A RADIO COMMUNICATION SYSTEM | |
| EP2526693A1 (en) | Method for pairing computer and video conference appliances | |
| CN104363360A (en) | Missed call transferring reminding system and method | |
| CN105610777B (en) | remote live broadcast method and system | |
| CN104168263B (en) | A kind of server and its alarm clock implementing method | |
| KR20170008862A (en) | Video media playing methods, apparatuses and systems, and computer storage medium | |
| CN110493556A (en) | The method and apparatus of dynamic transfer membership between a kind of conference terminal | |
| EP4096252B1 (en) | Voice call transfer method and electronic device | |
| CN107105339B (en) | A kind of methods, devices and systems playing live video | |
| CN109660988A (en) | Communicate authentication processing method, device and electronic equipment | |
| CN103795841B (en) | A kind of information cuing method and device | |
| CN106850259A (en) | Method and device for managing and controlling policy execution and electronic equipment | |
| CN105847096A (en) | Audio frequency data communication method, device and system | |
| US20150056967A1 (en) | System and method for community based mobile device profiling | |
| CN102413591A (en) | Method and system for realizing voice time reporting of Bluetooth headset | |
| CN106534877A (en) | Method and device for sending media stream | |
| CN110336919A (en) | A kind of audio communication system and its call scheme of intelligent monitoring device | |
| US20230239406A1 (en) | Communication system | |
| CN109660914A (en) | A kind of distributed bluetooth audible control system | |
| CN104821980A (en) | Call reminder method and device based on wireless speaker | |
| CN103794216A (en) | Voice audio mixing processing method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |