CN107479909B - Method and device for closing multimedia application and intelligent terminal - Google Patents

Method and device for closing multimedia application and intelligent terminal Download PDF

Info

Publication number
CN107479909B
CN107479909B CN201710492181.8A CN201710492181A CN107479909B CN 107479909 B CN107479909 B CN 107479909B CN 201710492181 A CN201710492181 A CN 201710492181A CN 107479909 B CN107479909 B CN 107479909B
Authority
CN
China
Prior art keywords
intelligent terminal
volume
distance
multimedia application
environment
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
Application number
CN201710492181.8A
Other languages
Chinese (zh)
Other versions
CN107479909A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201710492181.8A priority Critical patent/CN107479909B/en
Publication of CN107479909A publication Critical patent/CN107479909A/en
Application granted granted Critical
Publication of CN107479909B publication Critical patent/CN107479909B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/445Program loading or initiating
    • G06F9/44594Unloading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Abstract

The embodiment of the invention relates to the technical field of multimedia, in particular to a method, a device and an intelligent terminal for closing multimedia application, wherein the method comprises the steps of acquiring the multimedia application currently running by the intelligent terminal when detecting that an earphone is pulled out of the intelligent terminal; identifying whether the ambient environment of the intelligent terminal meets a preset environmental condition; and if so, closing the currently running multimedia application. By the method, the problem that the user is embarrassed due to the fact that environmental personnel in the surrounding environment hear the sound of the audio frequency after the intelligent terminal is pulled out of the earphone and the sound of the audio frequency played in the multimedia application is still transmitted through the loudspeaker can be well avoided.

Description

Method and device for closing multimedia application and intelligent terminal
Technical Field
The embodiment of the invention relates to the technical field of multimedia, in particular to a method and a device for closing multimedia application and an intelligent terminal.
Background
The earphone is a device capable of receiving an electric signal sent by a media player and converting the electric signal into audible sound waves by using a loudspeaker close to an ear. Generally, the earphone is separated from the media player, and through a plug connection, after the user wears the earphone, the user can listen to the sound independently without influencing other people.
Currently, intelligent terminals, for example: generally, a smart phone, a tablet computer, and the like are integrated with a multimedia function, a user plugs an earphone into an earphone hole of the smart terminal, and after the multimedia application of the smart terminal is started to play audio, the smart terminal plays audio sound through the earphone.
The inventor of the present invention finds the following problems in the related art in the process of implementing the present invention: when the earphone is suddenly pulled out of the intelligent terminal, the intelligent terminal can automatically switch the sound channel from the earphone to the speaker of the intelligent terminal, and at the moment, if the multimedia application is still in operation, the sound of the audio played by the multimedia application can be broadcast to the environment through the speaker, so that environmental personnel in the environment can hear the sound of the audio, and the embarrassment of a user is caused; although some intelligent terminals pause the running multimedia application when the earphone is disconnected from the intelligent terminal at present, because the multimedia application is only in a temporary state, when the user opens the touch screen again to operate the intelligent terminal, the user can easily touch the multimedia application, the multimedia application is restarted, environmental personnel in the environment hear the sound of the audio played in the multimedia application, and the user is embarrassed.
Disclosure of Invention
The invention provides a method, a device and an intelligent terminal for closing a multimedia application, and solves the technical problem that in public occasions, when an earphone is pulled out of the intelligent terminal, the multimedia application of the intelligent terminal still plays audio or a user restarts the multimedia application carelessly, environmental personnel in the environment hear the sound of the audio played in the multimedia application, and the user is embarrassed.
In order to solve the technical problem, in a first aspect, a method for closing a multimedia application is provided, and is applied to an intelligent terminal, and includes acquiring a multimedia application currently running by the intelligent terminal when an earphone is detected to be pulled out of the intelligent terminal; identifying whether the ambient environment of the intelligent terminal meets a preset environmental condition; and if so, closing the currently running multimedia application.
Optionally, the identifying whether the surrounding environment of the intelligent terminal meets a preset environmental condition includes: and identifying whether environmental personnel exist around the intelligent terminal, and if so, determining that the surrounding environment of the intelligent terminal meets a preset environmental condition.
Optionally, identifying whether the surrounding environment of the intelligent terminal meets a preset environmental condition includes: identifying whether environmental personnel exist in the surrounding environment of the intelligent terminal; if the environmental personnel exist, detecting the distance between each environmental personnel and the intelligent terminal, and extracting the minimum distance from the detected distance; judging whether the minimum distance is smaller than or equal to a propagation distance corresponding to the minimum allowable volume in a preset distance volume model; and if so, determining that the ambient environment of the intelligent terminal meets preset environmental conditions.
Optionally, the method further includes: if the minimum distance is larger than the propagation distance corresponding to the minimum allowed volume in a preset distance volume model, acquiring the maximum allowed volume corresponding to the minimum distance according to the preset distance volume model; judging whether the playing volume of the multimedia application currently running is larger than the maximum allowable volume; and if so, adjusting the playing volume of the currently running multimedia application to be within the maximum allowed volume.
Optionally, the environmental personnel and the distance between each environmental personnel and the intelligent terminal are obtained by acquiring an environmental image through cameras arranged around the intelligent terminal and identifying the environmental image.
In a second aspect, an apparatus for closing a multimedia application is provided, which includes a first obtaining module, configured to obtain a multimedia application currently running on an intelligent terminal when it is detected that an earphone is pulled out from the intelligent terminal; the identification module is used for identifying whether the ambient environment of the intelligent terminal meets a preset environmental condition or not; and the closing module is used for closing the currently running multimedia application when the recognition module recognizes that the surrounding environment of the intelligent terminal meets the preset environment condition.
Optionally, the identification module is specifically configured to: and identifying whether environmental personnel exist in the ambient environment of the intelligent terminal, and if so, determining that the ambient environment of the intelligent terminal meets a preset environmental condition.
Optionally, the identification module includes: the personnel identification unit is used for identifying whether environmental personnel exist around the intelligent terminal; the distance detection unit is used for detecting the distance between each environmental person and the intelligent terminal when the person identification unit identifies that the environmental person exists around the intelligent terminal, and extracting the minimum distance from the detected distance; and the distance judgment unit is used for judging whether the minimum distance is smaller than or equal to the propagation distance corresponding to the minimum allowed volume in the preset distance volume model, and if so, determining that the ambient environment of the intelligent terminal meets preset environmental conditions.
Optionally, the apparatus further comprises: the second obtaining module is used for obtaining the maximum allowed volume corresponding to the minimum distance according to the preset distance volume model when the distance judging unit judges that the minimum distance is larger than the propagation distance corresponding to the minimum allowed volume in the preset distance volume model; the volume judgment module is used for judging whether the playing volume of the currently running multimedia application is greater than the maximum allowable volume; and the volume adjusting module is used for adjusting the playing volume of the currently running multimedia application to be within the maximum allowable volume when the volume judging module judges that the playing volume of the currently running multimedia application is greater than the maximum allowable volume.
Optionally, the environmental personnel and the distance between each environmental personnel and the intelligent terminal are obtained by acquiring an environmental image through cameras arranged around the intelligent terminal and identifying the environmental image.
In a third aspect, an intelligent terminal is provided, which includes a camera for acquiring an environment image of an environment around the intelligent terminal; at least one processor in communication with the camera; a memory coupled to the at least one processor, the memory storing instructions executable by the at least one processor to enable the at least one processor to perform the method described above based on the environmental image.
In the embodiment of the invention, when the earphone is detected to be pulled out of the intelligent terminal and the surrounding environment of the intelligent terminal meets the preset environmental condition, the multimedia application currently running in the intelligent terminal is closed, so that the sound of the audio played in the multimedia application can be well prevented from being transmitted through a loudspeaker after the earphone is pulled out of the intelligent terminal, and the circumstance that the sound of the audio is heard by surrounding environment personnel to cause embarrassment is well avoided; in addition, when the multimedia application is closed, the multimedia application is processed by combining the surrounding environment, the multimedia application is closed when necessary, the intelligent degree is higher, and the user experience is better.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a flowchart illustrating a first embodiment of a method for closing a multimedia application according to the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for closing a multimedia application according to the present invention;
FIG. 3 is a diagram of a first embodiment of an apparatus for closing a multimedia application according to the present invention;
FIG. 4 is a diagram illustrating a second embodiment of a method for closing a multimedia application according to the present invention;
fig. 5 is a schematic diagram of an embodiment of an intelligent terminal of the present invention.
Detailed Description
The following description is of some of the many possible embodiments of the invention and is intended to provide a basic understanding of the invention and is not intended to identify key or critical elements of the invention or to delineate the scope of the invention. It is easily understood that, according to the technical solution of the present invention, other alternative implementations may be suggested by those skilled in the art without changing the spirit of the present invention. Therefore, the following detailed description and the accompanying drawings are merely illustrative of the technical aspects of the present invention, and should not be construed as all of the present invention or as limitations or limitations on the technical aspects of the present invention.
In the following description, for clarity and conciseness of description, not all of the components of the air conditioner control system are shown in the drawings, emphasis being placed upon illustrating the various components of the air conditioner control system that would be fully within the capabilities of one of ordinary skill in the art and the operation of many of which would be familiar and obvious to those of ordinary skill in the art.
The present invention will be described in detail below with reference to the accompanying drawings and examples.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for closing a multimedia application according to a first embodiment of the present invention, the method being applied to an intelligent terminal, for example: the method includes that the intelligent terminal is an execution main body of the method, and specifically includes the following steps:
step 201: when the earphone is detected to be pulled out of the intelligent terminal, acquiring the multimedia application currently running by the intelligent terminal;
multimedia applications refer to applications that play audio, including audio-only multimedia, such as: MP3, also includes video containing audio, such as AVI.
Step 202: identifying whether the surrounding environment of the intelligent terminal meets preset environmental conditions, if so, entering a step 203, otherwise, the intelligent terminal does not perform any processing on the currently running multimedia application, such as: before the earphone is pulled out, if the multimedia application of the intelligent terminal plays audio, the multimedia application of the intelligent terminal still plays normally after the earphone is pulled out.
Step 203: and closing the currently running multimedia application.
The preset environmental conditions refer to conditions that may be suitable for publicly playing sound, such as: the private environment refers to an environment where only a user and other environment personnel exist, if the environment where the user is located is the private environment, even if sound is broadcast through a loudspeaker, only the user can hear the sound, and the user does not feel embarrassment.
In the embodiment of the invention, when the earphone is detected to be pulled out of the intelligent terminal and the surrounding environment of the intelligent terminal meets the preset environmental condition, the multimedia application currently running at the intelligent terminal is closed, so that the situation that the sound of the audio played by the multimedia application is still transmitted through a loudspeaker after the earphone is pulled out by the intelligent terminal and the surrounding personnel in the surrounding environment hear the audio to cause embarrassment of a user can be well avoided; in addition, when the multimedia application is closed, the multimedia application is processed by combining the surrounding environment, the multimedia application is closed when necessary, the intelligent degree is higher, and the user experience is better.
Specifically, whether the surrounding environment of the intelligent terminal meets the preset environmental conditions or not is identified and comprises the following steps: and identifying whether environmental personnel exist in the surrounding environment of the intelligent terminal, and if so, determining that the surrounding environment of the intelligent terminal meets the preset environmental conditions. When environmental personnel exist in the surrounding environment of the intelligent terminal, the surrounding environment is a public environment, and privacy protection needs to be paid attention to.
Further, after the earphone is pulled out from the intelligent terminal, the sound channel of the intelligent terminal is automatically switched to the speaker to play, the sound played by the speaker is directly transmitted in the surrounding environment, the sound is attenuated along with the propagation distance when propagating in the environment, and the propagation distances of different sound volumes are limited, so that whether to close the multimedia application can be judged according to the distance between the environment personnel and the intelligent terminal in the public environment, specifically, refer to fig. 3, where fig. 3 is a flowchart of a second embodiment of a method for closing the multimedia application, the method includes:
step 201: when the earphone is detected to be pulled out of the intelligent terminal, acquiring the multimedia application currently running by the intelligent terminal;
step 2021: identifying whether environmental personnel exist in the surrounding environment of the intelligent terminal, and if so, entering step 2022;
step 2022: detecting the distance between each environmental person and the intelligent terminal, and extracting the minimum distance from the detected distances;
step 2023: judging whether the minimum distance is smaller than or equal to the distance corresponding to the minimum allowed volume in the preset distance volume model, if so, entering step 203;
the preset distance volume model records volume and a propagation distance corresponding to the volume, wherein the propagation distance refers to the maximum transmission distance of sound emitted by the volume, and a user can listen to the sound emitted by the volume within the propagation distance.
When the minimum distance is smaller than or equal to the propagation distance corresponding to the minimum allowable volume in the preset distance volume model, it is indicated that the environmental personnel is closer to the intelligent terminal, and even if the intelligent terminal plays the audio at the minimum allowable volume, the environmental personnel can still hear the audio, that is, the environmental personnel cannot be prevented from hearing the sound of the audio by adjusting the volume, and at this time, it can be determined that the surrounding environment of the intelligent terminal meets the preset environmental condition.
Step 203: closing the multimedia application which is currently running;
it is worth mentioning that: the environment personnel are other personnel except the user self in the surrounding environment that intelligent terminal is located, and the environment personnel to and, the distance between each environment personnel and the intelligent terminal is all through setting up the camera collection environment image around the intelligent terminal, and to the environment image discerns and obtains, for example: four cameras are arranged on the periphery of the shell of the intelligent terminal and are respectively positioned in four directions, so that the purpose of collecting the periphery of the intelligent terminal without dead angles is achieved. In order to distinguish the user from the environment personnel, the image of the user can be stored in the intelligent terminal in advance, and when a certain person is identified as the user, the image is directly removed and is not used as the environment personnel.
In other alternative embodiments, the identification of the environmental person can also be achieved by way of example: voice recognition, infrared detection and the like, and the distance between each environmental person and the intelligent terminal can be detected by means of ultrasonic ranging.
In the embodiment of the invention, when the environment personnel is close to the intelligent terminal and can still receive the audio even if the intelligent terminal plays the audio at the minimum allowed volume, the earphone is pulled out to close the currently running multimedia application, so that the embarrassment of a user caused by the fact that the environment personnel receives the audio is avoided.
Of course, when the distance between the environmental person and the intelligent terminal is relatively far, the environmental person can also be prevented from hearing the sound of the audio propagated through the speaker by adjusting the volume, and then the method further includes:
step 204: if the minimum distance is larger than the propagation distance corresponding to the minimum allowed volume in the preset distance volume model, acquiring the maximum allowed volume corresponding to the minimum distance according to the preset distance volume model;
step 205: judging whether the playing volume of the multimedia application currently running is larger than the maximum allowable volume, if so, entering a step 206, otherwise, not adjusting the volume;
step 206: and adjusting the playing volume of the audio media currently running to be within the maximum allowed volume.
In the embodiment of the invention, when the environmental personnel is too close to the intelligent terminal, the environmental personnel is prevented from hearing the sound of the audio frequency by closing the multimedia application, and when the environmental personnel is far away from the intelligent terminal, the environmental personnel is prevented from hearing the sound of the audio frequency by adjusting the playing volume of the multimedia application, so that the intelligent processing of the multimedia application is realized.
The invention further provides an embodiment of the device for closing the multimedia application. Referring to fig. 3, the apparatus 30 for closing audio media includes a first obtaining module 31, a recognition module 32 and a closing module 33.
The first obtaining module 31 is configured to obtain a multimedia application currently running in the intelligent terminal when it is detected that the earphone is pulled out of the intelligent terminal. And the identification module 32 is used for identifying whether the ambient environment of the intelligent terminal meets preset environmental conditions. And a closing module 33, configured to close the currently running multimedia application when the identification module 32 identifies that the ambient environment of the intelligent terminal meets a preset environmental condition.
In the embodiment of the invention, when the multimedia application is closed, the multimedia application is processed by combining with the surrounding environment, and the closing is realized when necessary, so that the situation that environmental personnel in the surrounding environment hear the sound of the audio and cause embarrassment of a user due to the fact that the intelligent terminal plays the sound of the audio played by the multimedia application through the loudspeaker after the earphone is pulled out is avoided, the intelligent terminal intelligently closes the multimedia application, and the user experience is better.
Specifically, the identification module 32 is specifically configured to: and identifying whether environmental personnel exist in the surrounding environment of the intelligent terminal, and if so, determining that the surrounding environment of the intelligent terminal meets the preset environmental conditions. Wherein, the ambient environment has environment personnel, and then it is public environment to say that the ambient environment is, and intelligent terminal is not suitable for through speaker broadcast sound.
Of course, in other alternative embodiments, the distance between the environmental person and the intelligent terminal may also be combined to determine whether the surrounding environment meets the preset environmental condition, and specifically, the identification module 32 includes a person identification unit 321, a distance detection unit 322, and a distance determination unit 323.
A person identification unit 321, configured to identify whether an environmental person exists around the intelligent terminal. A distance detecting unit 322, configured to detect a distance between each of the environmental persons and the smart terminal if the person identifying unit 321 identifies that the environmental person exists around the smart terminal, and extract a minimum distance from the detected distance. A distance determining unit 323, configured to determine whether the minimum distance is smaller than or equal to a propagation distance corresponding to a minimum allowed volume in a preset distance volume model, and if so, determine that a surrounding environment of the intelligent terminal meets a preset environmental condition.
Further, the apparatus 30 further includes a second obtaining module 34, a volume determining module 35, and a volume adjusting module 36.
A second obtaining module 34, configured to, when the distance determining unit 323 determines that the minimum distance is greater than a propagation distance corresponding to a minimum allowed volume in a preset distance volume model, obtain, according to the preset distance volume model, a maximum allowed volume corresponding to the minimum distance. And the volume judging module 35 is configured to judge whether the playing volume of the currently running multimedia application is greater than a maximum allowed volume. And a volume adjusting module 36, configured to adjust the playing volume of the currently running multimedia application to be within a maximum allowable volume when the volume determining module determines that the playing volume of the currently running multimedia application is greater than the maximum allowable volume.
It is worth mentioning that: the environment personnel and the distances between each environment personnel and the intelligent terminal are all acquired through cameras arranged around the intelligent terminal, and the environment images are identified and obtained. In order to distinguish the user from the environment personnel, the image of the user can be stored in the intelligent terminal in advance, and when a certain person is identified as the user, the user is directly removed and is not used as the environment personnel. Of course, in other alternative embodiments, the identification of the environmental person may also be achieved by way of example: voice recognition, infrared detection and the like, and the distance between each environmental person and the intelligent terminal can be detected by means of ultrasonic ranging. Of course, determining whether the ambient environment of the smart terminal satisfies the preset environmental condition is not limited to the above-described manner, for example: whether the surrounding environment meets the preset environmental condition can be determined in a voice recognition mode, and the method specifically comprises the following steps: identifying whether the surrounding environment has the voice of the environmental personnel, and if so, determining that the preset environment condition is met; still alternatively, it is determined whether the surrounding environment satisfies a preset environmental condition by combining sound recognition and image recognition. In the embodiment of the invention, when the environmental personnel is too close to the intelligent terminal, the environmental personnel is prevented from hearing the sound of the audio frequency by closing the multimedia application, and when the environmental personnel is far away from the intelligent terminal, the environmental personnel is prevented from hearing the sound of the audio frequency by adjusting the playing volume of the multimedia application, so that the intelligent processing of the multimedia application is realized, and the user experience is better.
The invention also provides an embodiment of the intelligent terminal. Referring to fig. 5, the intelligent terminal 50 includes: camera 51, memory 52 and at least one processor 53, at least one processor 53 is connected with memory 52 and camera 51 respectively.
The processor 54 is connected to the memory 53 and the image capturing device 52 through a bus or other means, and fig. 5 illustrates the bus connection.
The camera 51 is used for collecting an environment image of the environment around the intelligent terminal. The memory 52 stores instructions executable by the at least one processor 53, the program of instructions being executable by the at least one processor 53 to enable the at least one processor 53 to perform: steps 201 to 203 shown in fig. 1, steps 201 to 206 in fig. 2, blocks 31 to 33 in fig. 3, and blocks 31 to 36 in fig. 4.
The memory 52 is a non-volatile computer readable storage medium and can be used for storing non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions/modules corresponding to steps executed by the processor in the embodiments of the present invention. The memory 52 may include a storage program area, which may store an operating system, an application program required for at least one function, and a storage data area. Further, the memory 52 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 52 may optionally include memory located remotely from the processor 51, which may be connected to the air conditioner via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 52 and, when executed by the one or more processors 51, perform: steps 201 to 203 shown in fig. 1, steps 201 to 206 in fig. 2, blocks 31 to 33 in fig. 3, and blocks 31 to 36 in fig. 4.
An embodiment of the present invention provides a non-volatile computer-readable storage medium, where the non-volatile computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by an electronic device, the electronic device executes: steps 201 to 203 shown in fig. 1, steps 201 to 206 in fig. 2, blocks 31 to 33 in fig. 3, and blocks 31 to 36 in fig. 4.
An embodiment of the present invention provides a computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform: steps 201 to 203 shown in fig. 1, steps 201 to 206 in fig. 2, blocks 31 to 33 in fig. 3, and blocks 31 to 36 in fig. 4.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a general hardware platform, and may also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-only Memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
It should be noted that, because the contents of information interaction, execution process, and the like between the modules and units in the air conditioner control device in the embodiment of the present invention are based on the same concept as the method embodiment of the present invention, the specific contents are also applicable to the air conditioner control device. The respective modules in the embodiments of the present invention can be implemented as separate hardware or software, and the combination of the functions of the respective units can be implemented using separate hardware or software as necessary.

Claims (7)

1. A method for closing multimedia application is applied to an intelligent terminal, and is characterized by comprising the following steps:
when detecting that the earphone is pulled out of the intelligent terminal, acquiring a multimedia application currently running by the intelligent terminal;
identifying whether the ambient environment of the intelligent terminal meets a preset environmental condition;
if yes, closing the currently running multimedia application;
wherein, the identifying whether the surrounding environment of the intelligent terminal meets the preset environmental conditions comprises:
identifying whether environmental personnel exist around the intelligent terminal, if so, detecting the distance between each environmental personnel and the intelligent terminal, extracting the minimum distance from the detected distance, judging whether the minimum distance is smaller than or equal to the propagation distance corresponding to the minimum allowed volume in a preset distance volume model, if so, determining that the surrounding environment of the intelligent terminal meets preset environmental conditions, wherein the environmental personnel are other personnel except the user in the surrounding environment where the intelligent terminal is located.
2. The method of claim 1, further comprising:
if the minimum distance is larger than the propagation distance corresponding to the minimum allowed volume in a preset distance volume model, acquiring the maximum allowed volume corresponding to the minimum distance according to the preset distance volume model;
judging whether the playing volume of the multimedia application currently running is larger than the maximum allowable volume;
and if so, adjusting the playing volume of the currently running multimedia application to be within the maximum allowed volume.
3. The method according to claim 1 or 2,
the environment personnel and the distance between each environment personnel and the intelligent terminal are obtained by acquiring environment images through cameras arranged around the intelligent terminal and identifying the environment images.
4. An apparatus for closing a multimedia application, comprising:
the first acquisition module is used for acquiring the multimedia application currently running by the intelligent terminal when the earphone is detected to be pulled out of the intelligent terminal;
the identification module is used for identifying whether the surrounding environment of the intelligent terminal meets preset environmental conditions, and specifically comprises the following steps: identifying whether environmental personnel exist in the ambient environment of the intelligent terminal, if so, determining that the ambient environment of the intelligent terminal meets a preset environmental condition, wherein the environmental personnel are other personnel except the user in the ambient environment in which the intelligent terminal is located;
the closing module is used for closing the currently running multimedia application when the identification module identifies that the surrounding environment of the intelligent terminal meets the preset environmental conditions;
wherein the identification module comprises:
the personnel identification unit is used for identifying whether environmental personnel exist around the intelligent terminal;
the distance detection unit is used for detecting the distance between each environmental person and the intelligent terminal when the person identification unit identifies that the environmental person exists around the intelligent terminal, and extracting the minimum distance from the detected distance;
and the distance judgment unit is used for judging whether the minimum distance is smaller than or equal to the propagation distance corresponding to the minimum allowed volume in the preset distance volume model, and if so, determining that the ambient environment of the intelligent terminal meets preset environmental conditions.
5. The apparatus of claim 4, further comprising:
the second obtaining module is used for obtaining the maximum allowed volume corresponding to the minimum distance according to the preset distance volume model when the distance judging unit judges that the minimum distance is larger than the propagation distance corresponding to the minimum allowed volume in the preset distance volume model;
the volume judgment module is used for judging whether the playing volume of the currently running multimedia application is greater than the maximum allowable volume;
and the volume adjusting module is used for adjusting the playing volume of the currently running multimedia application to be within the maximum allowable volume when the volume judging module judges that the playing volume of the currently running multimedia application is greater than the maximum allowable volume.
6. The apparatus of claim 4 or 5,
the environment personnel and the distance between each environment personnel and the intelligent terminal are obtained by acquiring environment images through cameras arranged around the intelligent terminal and identifying the environment images.
7. An intelligent terminal, comprising:
the camera is used for acquiring an environment image of the environment around the intelligent terminal;
at least one processor in communication with the camera;
a memory coupled to the at least one processor, the memory storing instructions executable by the at least one processor to enable the at least one processor to perform, based on the environmental image: the method of any one of claims 1 to 3.
CN201710492181.8A 2017-06-26 2017-06-26 Method and device for closing multimedia application and intelligent terminal Active CN107479909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710492181.8A CN107479909B (en) 2017-06-26 2017-06-26 Method and device for closing multimedia application and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710492181.8A CN107479909B (en) 2017-06-26 2017-06-26 Method and device for closing multimedia application and intelligent terminal

Publications (2)

Publication Number Publication Date
CN107479909A CN107479909A (en) 2017-12-15
CN107479909B true CN107479909B (en) 2020-06-02

Family

ID=60594482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710492181.8A Active CN107479909B (en) 2017-06-26 2017-06-26 Method and device for closing multimedia application and intelligent terminal

Country Status (1)

Country Link
CN (1) CN107479909B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112512133B (en) * 2020-11-18 2022-04-19 努比亚技术有限公司 Reverse screen-projection audio control method and device and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011116723A2 (en) * 2011-04-29 2011-09-29 华为终端有限公司 Control method and device for audio output
WO2017101719A1 (en) * 2015-12-16 2017-06-22 华为技术有限公司 Method and device for adjusting earphone sound volume

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428328B (en) * 2013-08-14 2016-04-13 惠州Tcl移动通信有限公司 A kind of method and system of Lookup protocol mobile terminal loudness
CN104796556B (en) * 2015-05-08 2018-05-01 上海斐讯数据通信技术有限公司 A kind of intelligence adjusts method, system and the intelligent terminal of multimedia volume
CN105975242A (en) * 2016-04-28 2016-09-28 乐视控股(北京)有限公司 Multimedia loudspeaker volume control method and device as well as electronic equipment
CN106375590A (en) * 2016-09-28 2017-02-01 珠海格力电器股份有限公司 Volume adjustment method and device for smart terminal
CN106534541A (en) * 2016-11-15 2017-03-22 广东小天才科技有限公司 Volume adjusting method and device and terminal equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011116723A2 (en) * 2011-04-29 2011-09-29 华为终端有限公司 Control method and device for audio output
WO2017101719A1 (en) * 2015-12-16 2017-06-22 华为技术有限公司 Method and device for adjusting earphone sound volume

Also Published As

Publication number Publication date
CN107479909A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN108683798B (en) Sound output control method and mobile terminal
WO2018058899A1 (en) Sound volume adjusting method and apparatus of intelligent terminal
CN105451111A (en) Earphone play control method and apparatus and terminal
CN109284080B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN111343558B (en) Microphone hole blockage detection method and related product
WO2014183529A1 (en) Mobile terminal talk mode switching method, device and storage medium
CN111510814A (en) Noise reduction mode control method and device, electronic equipment and storage medium
CN107666583B (en) Call processing method and terminal
CN109473097B (en) Intelligent voice equipment and control method thereof
CN105049802B (en) A kind of speech recognition law-enforcing recorder and its recognition methods
CN113574525A (en) Media content recommendation method and equipment
EP4297023A1 (en) Voice control method and apparatus
WO2017215615A1 (en) Sound effect processing method and mobile terminal
CN106126179B (en) Information processing method and electronic equipment
CN107479909B (en) Method and device for closing multimedia application and intelligent terminal
CN111081275A (en) Terminal processing method and device based on sound analysis, storage medium and terminal
US9142223B2 (en) Sound processing to produce target volume level
CN107580785A (en) Wear-type audio collection module
CN108769799B (en) Information processing method and electronic equipment
CN111556406B (en) Audio processing method, audio processing device and earphone
CN114915574A (en) Method and system for automatically detecting response delay of intelligent doorbell through sound
KR101755120B1 (en) Apparatus and method for voice control
CN110851184A (en) Management method of sound box of intelligent projector and related product
CN114125735B (en) Earphone connection method and device, computer readable storage medium and electronic equipment
CN115474080B (en) Wired screen-throwing control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant