CN113535024A - Multi-window volume control method, equipment and computer readable storage medium - Google Patents

Multi-window volume control method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN113535024A
CN113535024A CN202110857088.9A CN202110857088A CN113535024A CN 113535024 A CN113535024 A CN 113535024A CN 202110857088 A CN202110857088 A CN 202110857088A CN 113535024 A CN113535024 A CN 113535024A
Authority
CN
China
Prior art keywords
volume
touch signal
output volume
touch
window
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.)
Pending
Application number
CN202110857088.9A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN202110857088.9A priority Critical patent/CN113535024A/en
Publication of CN113535024A publication Critical patent/CN113535024A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a multi-window volume control method, equipment and a computer readable storage medium, wherein the method comprises the following steps: when a secondary window for operating a second application program exists in a main window for operating a first application program, monitoring a first touch signal of a first volume key and a second touch signal of a second volume key; and when the first touch signal and the second touch signal are monitored within a first preset time, closing a first output volume of the first application program, or closing a second output volume of the second application program. The humanized multi-window volume control scheme is realized, so that a user can independently adjust a plurality of independent sound sources in the screen display interface, the setting logic of the adjustment operation is clear and efficient, the operation burden and the initial memory cost of the user are reduced, and the user experience is enhanced.

Description

Multi-window volume control method, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a method and apparatus for controlling volume in multiple windows, and a computer-readable storage medium.
Background
In the prior art, with the continuous development of intelligent terminal equipment, the functions of the current electronic terminals such as mobile phones and the like are more and more, wherein the function of projecting a small window is a function capable of running two applications simultaneously, for example, hanging up a small window to run a royal glory game, displaying and running a tremble or a Wechat in a full screen, and the like. It can be seen that multi-window operation saves time to start loading the game over the conventional approach. However, the hung multi-window-based small window has the advantages that the joker is operated to be glory, meanwhile, the sound of the joker game is not closed, the buffeting sound operated in the full screen is interfered, or when the WeChat operated in the full screen is used for voice chat, the video of the Tencent in the small window is hopefully muted. However, the conventional volume adjustment method can only increase or decrease the volume of two windows or applications at the same time, and the user experience still needs to be improved.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides a multi-window volume control method, which comprises the following steps:
when the main window for operating the first application program has the auxiliary window for operating the second application program, monitoring a first touch signal of the first volume key and a second touch signal of the second volume key.
And when the first touch signal and the second touch signal are monitored within a first preset time, closing a first output volume of the first application program, or closing a second output volume of the second application program.
When the first touch signal is monitored twice in sequence within second preset time, the first output volume is adjusted to be high or low within third preset time according to the first touch signal and the second touch signal.
And when the second touch signals are monitored twice in sequence within the second preset time, adjusting the second output volume to be higher or lower within a fourth preset time according to the first touch signals and the second touch signals.
Optionally, the monitoring a first touch signal of the first volume key and a second touch signal of the second volume key when the secondary window for running the second application exists in the primary window for running the first application includes:
when a secondary window for running a second application program exists in a main window for running a first application program, whether the first output volume exists or not and whether the second output volume exists or not are detected.
And if the first output volume and the second output volume exist at the same time, monitoring the first touch signal of the first volume key and the second touch signal of the second volume key.
Optionally, the monitoring, when a sub-window for running a second application program exists in the main window for running the first application program, a first touch signal of the first volume key and a second touch signal of the second volume key further includes:
and if the first output volume and the second output volume exist at the same time, detecting whether a first touch screen signal exists in an area except the auxiliary window in the main window and whether a second touch screen signal exists in the area of the auxiliary window.
And if the first touch screen signal and the second touch screen signal are not detected at the same time, monitoring the first touch signal of the first volume key and the second touch signal of the second volume key.
Optionally, the monitoring, when a sub-window for running a second application program exists in the main window for running the first application program, a first touch signal of the first volume key and a second touch signal of the second volume key further includes:
and if the first touch screen signal and the second touch screen signal are not detected at the same moment, detecting whether the generation time of a previous moving signal of the secondary window exceeds a preset time length.
And if the generation time of the previous mobile signal exceeds the preset time length, monitoring the first touch signal of the first volume key and the second touch signal of the second volume key.
Optionally, the closing a first output volume of the first application program or closing a second output volume of the second application program when the first touch signal and the second touch signal are monitored within a first preset time includes:
when the first touch signal and the second touch signal are monitored within the first preset time, detecting a generation sequence of the first touch signal and the second touch signal, wherein the first preset time is less than one second.
And if the first touch signal is generated before the second touch signal, the first output volume is closed, and if the first touch signal is generated after the second touch signal, the second output volume is closed.
Optionally, the closing a first output volume of the first application program or closing a second output volume of the second application program when the first touch signal and the second touch signal are monitored within a first preset time further includes:
and when the first touch signal and the second touch signal are monitored within the first preset time, detecting the magnitude relation between the first output volume and the second output volume.
If the first output volume is larger than the second output volume, the first output volume is closed, and if the first output volume is smaller than the second output volume, the second output volume is closed.
Optionally, when the first touch signal is monitored twice in a second preset time, adjusting up or down the first output volume according to the first touch signal and the second touch signal in a third preset time includes:
and when the first touch signals are monitored twice in sequence within the second preset time, detecting the magnitude relation between the first output volume and the second output volume.
If the first output volume is greater than the second output volume, the first output volume is adjusted to be low or the second output volume is adjusted to be high within the third preset time according to the first touch signal or the second touch signal.
Optionally, when the second touch signal is monitored twice in the second preset time, adjusting up or down the second output volume according to the first touch signal and the second touch signal in a fourth preset time includes:
and when the second touch signals are monitored twice in sequence within the second preset time, detecting the magnitude relation between the first output volume and the second output volume.
If the first output volume is smaller than the second output volume, the first output volume is adjusted to be higher or the second output volume is adjusted to be lower according to the first touch signal or the second touch signal within the fourth preset time.
The invention also provides a multi-window volume control device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the multi-window volume control method are realized.
The present invention further provides a computer-readable storage medium, in which a multi-window volume control program is stored, and when being executed by a processor, the multi-window volume control program implements the steps of the multi-window volume control method according to any one of the above items.
By implementing the multi-window volume control method, the multi-window volume control device and the computer readable storage medium, when a secondary window for operating a second application program exists in a main window for operating a first application program, a first touch signal of a first volume key and a second touch signal of a second volume key are monitored; when the first touch signal and the second touch signal are monitored within a first preset time, closing a first output volume of the first application program, or closing a second output volume of the second application program; when the first touch signals are monitored twice in sequence within second preset time, adjusting the first output volume to be high or low within third preset time according to the first touch signals and the second touch signals; and when the second touch signals are monitored twice in sequence within the second preset time, adjusting the second output volume to be higher or lower within a fourth preset time according to the first touch signals and the second touch signals. The humanized multi-window volume control scheme is realized, so that a user can independently adjust a plurality of independent sound sources in the screen display interface, the setting logic of the adjustment operation is clear and efficient, the operation burden and the initial memory cost of the user are reduced, and the user experience is enhanced.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to the present invention;
fig. 2 is a communication network system architecture diagram provided by an embodiment of the present invention;
FIG. 3 is a flowchart of a multi-window volume control method according to a first embodiment of the present invention;
FIG. 4 is a flowchart of a multi-window volume control method according to a second embodiment of the present invention;
FIG. 5 is a flow chart of a multi-window volume control method according to a third embodiment of the present invention;
FIG. 6 is a flow chart of a fourth embodiment of a multi-window volume control method of the present invention;
FIG. 7 is a flowchart of a fifth embodiment of a multi-window volume control method of the present invention;
FIG. 8 is a flowchart of a sixth embodiment of a multi-window volume control method of the present invention;
FIG. 9 is a flowchart of a seventh embodiment of a multi-window volume control method according to the present invention;
fig. 10 is a flowchart of an eighth embodiment of a multi-window volume control method according to the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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 volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example one
Fig. 3 is a flowchart of a multi-window volume control method according to a first embodiment of the present invention. A multi-window volume control method, the method comprising:
s1, when the main window for running the first application has the sub-window for running the second application, monitoring a first touch signal of the first volume button and a second touch signal of the second volume button.
S2, when the first touch signal and the second touch signal are monitored within a first preset time, closing a first output volume of the first application program, or closing a second output volume of the second application program.
And S3, when the first touch signal is monitored twice in sequence within a second preset time, adjusting the first output volume to be high or low within a third preset time according to the first touch signal and the second touch signal.
And S4, when the second touch signals are monitored twice in sequence within the second preset time, adjusting the second output volume to be higher or lower within a fourth preset time according to the first touch signals and the second touch signals.
Alternatively, in the present embodiment, for example, for the initial volume adjustment mode, the volume is directly pressed up or down, and both the small window application a and the full screen application B may simultaneously increase or decrease the volume. For another example, after exiting the small window side hang mode and returning to the full screen single application mode, pressing the volume up key or down key can also raise or lower the volume.
Optionally, in this embodiment, for example, when the volume up key and the volume down key are pressed simultaneously, the widget on-hook application a is muted, and the initial volume adjustment mode is restored after the widget on-hook mode is exited.
Optionally, in this embodiment, for example, a volume up key is double-clicked, the independent small window volume adjustment mode is entered, then the volume up key and the volume down key are pressed, the small window application a raises or lowers the volume, and the volume of the full screen application B is not affected. After the independent small window volume adjusting mode takes effect, the no volume key event lasts for 5 seconds, the independent small window volume adjusting mode is automatically exited, and the initial volume adjusting mode is returned.
Optionally, in this embodiment, for example, a volume down key is double-clicked, the independent full-screen display volume adjustment mode is entered, then the volume up-down key is pressed, the volume is increased or decreased by the full-screen application B, and the volume of the small-window application a is not affected. After the independent full-screen volume adjusting mode takes effect, the no-volume key event lasts for 5 seconds, the full-screen volume adjusting mode is automatically exited, and the original volume adjusting mode is returned.
Optionally, in this embodiment, pressing the volume up key and the volume down key simultaneously turns to mute, and may also be independently effective in full-screen application B;
optionally, in this embodiment, double-clicking the volume key may also be a continuous triple-click or four-click multiple-time key to implement a third, a fourth, and the like multiple independent interfaces or independent volume adjustment modes of the application.
Optionally, in this embodiment, double-clicking the volume up key may change to enter the independent volume adjustment mode for full-screen display application. Likewise, double clicking on the volume down key may also make the corresponding change.
Alternatively, in this embodiment, the independent volume adjustment mode is returned to the initial volume adjustment mode for 5 seconds without volume key event, and the 5 seconds may be set to 1 second, 10 seconds, 1 hour, or other time.
Optionally, in this embodiment, the same applies to an application scenario in which two or more applications running simultaneously in a single window perform independent audio adjustment.
The method has the advantages that when the main window for running the first application program has the auxiliary window for running the second application program, the first touch signal of the first volume key and the second touch signal of the second volume key are monitored; when the first touch signal and the second touch signal are monitored within a first preset time, closing a first output volume of the first application program, or closing a second output volume of the second application program; when the first touch signals are monitored twice in sequence within second preset time, adjusting the first output volume to be high or low within third preset time according to the first touch signals and the second touch signals; and when the second touch signals are monitored twice in sequence within the second preset time, adjusting the second output volume to be higher or lower within a fourth preset time according to the first touch signals and the second touch signals. The humanized multi-window volume control scheme is realized, so that a user can independently adjust a plurality of independent sound sources in the screen display interface, the setting logic of the adjustment operation is clear and efficient, the operation burden and the initial memory cost of the user are reduced, and the user experience is enhanced.
Example two
Fig. 4 is a flowchart of a second embodiment of a multi-window volume control method according to the present invention, where based on the above embodiments, the monitoring a first touch signal of a first volume key and a second touch signal of a second volume key when a secondary window for running a second application exists in a main window for running the first application includes:
and S11, when a secondary window for operating a second application program exists in the main window for operating the first application program, detecting whether the first output volume exists and whether the second output volume exists.
S12, if the first output volume and the second output volume exist at the same time, monitoring the first touch signal of the first volume key and the second touch signal of the second volume key.
Optionally, in this embodiment, the simultaneous existence of the first output volume and the second output volume means that, within a period of continuous time, both the first output volume and the second output volume are output, or both the first output volume and the second output volume are output at intervals and continuously, that is, outputs of both the first output volume and the second output volume interfere with each other.
Optionally, in this embodiment, at this time, the first touch signal of the first volume key and the second touch signal of the second volume key start to be monitored, the first volume key may be a volume up key or a volume down key, and the second volume key may be a volume down key or a volume up key.
The method has the advantages that when the secondary window for running the second application program exists in the primary window for running the first application program, whether the first output volume exists or not and whether the second output volume exists or not are detected; and if the first output volume and the second output volume exist at the same time, monitoring the first touch signal of the first volume key and the second touch signal of the second volume key. The method provides a sound source interference identification condition for realizing a humanized multi-window volume control scheme, so that a user can independently adjust a plurality of independent sound sources in a screen display interface, the setting logic of the adjustment operation is clear and efficient, the operation burden and the initial memory cost of the user are reduced, and the user experience is enhanced.
EXAMPLE III
Fig. 5 is a flowchart of a multi-window volume control method according to a third embodiment of the present invention, where based on the above embodiments, when a secondary window for running a second application exists in a primary window for running a first application, monitoring a first touch signal of a first volume key and a second touch signal of a second volume key, the method further includes:
and S13, if the first output volume and the second output volume exist at the same time, detecting whether a first touch screen signal exists in the area except the secondary window in the primary window, and whether a second touch screen signal exists in the area of the secondary window.
And S14, if the first touch signal and the second touch signal are not detected at the same time, monitoring the first touch signal of the first volume key and the second touch signal of the second volume key.
Optionally, in this embodiment, if the first touch signal and the second touch signal are not detected at the same time, it is determined that the current user does not have a specific attention area, and therefore, the first touch signal of the first volume key and the second touch signal of the second volume key are continuously monitored.
Optionally, in this embodiment, if the first touch screen signal or the second touch screen signal is detected at the current time, it is determined that the region of the corresponding touch screen signal is the attention-focused region, so that the output volume of the application program corresponding to the region may be subsequently adjusted according to the first volume key and the second volume key, and subsequent determination does not need to be performed.
The method has the advantages that whether a first touch screen signal exists in an area except for the secondary window in the primary window and whether a second touch screen signal exists in the area of the secondary window is detected by detecting that the first output volume and the second output volume exist at the same time; and if the first touch screen signal and the second touch screen signal are not detected at the same time, monitoring the first touch signal of the first volume key and the second touch signal of the second volume key. The method provides an execution mode based on judgment and volume adjustment of the current operation area for realizing a humanized multi-window volume adjustment and control scheme, so that a user can independently adjust a plurality of independent sound sources in a screen display interface, the setting logic of the adjustment operation is clear and efficient, the operation burden and the initial memory cost of the user are reduced, and the user experience is enhanced.
Example four
Fig. 6 is a flowchart of a fourth embodiment of a multi-window volume control method according to the present invention, where based on the above embodiments, when a secondary window for running a second application exists in a primary window for running a first application, monitoring a first touch signal of a first volume key and a second touch signal of a second volume key, the method further includes:
and S15, if the first touch screen signal and the second touch screen signal are not detected at the same time, detecting whether the generation time of the previous movement signal of the secondary window exceeds a preset time length.
S16, if the generation time of the previous moving signal exceeds the preset time, monitoring the first touch signal of the first volume button and the second touch signal of the second volume button.
Optionally, in this embodiment, it is detected whether the generation time of the previous moving signal of the secondary window exceeds a preset time length. For example, if the time for generating the last movement signal of the secondary window has elapsed, it indicates that the user's attention may not be focused on the secondary window or the primary window, and therefore, the first touch signal of the first volume key and the second touch signal of the second volume key are continuously monitored as described above.
Optionally, in this embodiment, if the generation time of the last movement signal of the secondary window is short, it indicates that the attention of the user may be focused on the secondary window or the main window, if the movement signal is to adjust the secondary window to the free area of the main window, the volume of the main window is adjusted by the first volume key and the second volume key, and if the movement signal is to adjust the secondary window to the middle area of the main window, the volume of the secondary window is adjusted by the first volume key and the second volume key, and subsequent determination is not required.
The method has the advantages that whether the generation time of the previous moving signal of the secondary window exceeds a preset time length is detected by detecting that the first touch screen signal and the second touch screen signal are not detected at the same time; and if the generation time of the previous mobile signal exceeds the preset time length, monitoring the first touch signal of the first volume key and the second touch signal of the second volume key. The method provides a judgment and regulation mode based on mobile operation for realizing a humanized multi-window volume regulation scheme, so that a user can independently regulate a plurality of independent sound sources in a screen display interface, the setting logic of the regulation operation is clear and efficient, the operation burden and the initial memory cost of the user are reduced, and the user experience is enhanced.
EXAMPLE five
Fig. 7 is a flowchart of a fifth embodiment of a multi-window volume control method according to the present invention, where based on the above embodiments, the closing a first output volume of the first application program or closing a second output volume of the second application program when the first touch signal and the second touch signal are monitored within a first preset time includes:
s21, when the first touch signal and the second touch signal are monitored within the first preset time, detecting a generation sequence of the first touch signal and the second touch signal, wherein the first preset time is less than one second.
S22, if the first touch signal is generated before the second touch signal, turning off the first output volume, and if the first touch signal is generated after the second touch signal, turning off the second output volume.
Optionally, in this embodiment, when the first touch signal and the second touch signal are monitored within the first preset time, a generation sequence of the first touch signal and the second touch signal is detected, where the first preset time is less than one second, that is, it may be considered that the first touch signal and the second touch signal are generated simultaneously.
Optionally, in this embodiment, in order to provide further refined control, detecting a generation order of the first touch signal and the second touch signal is implemented, and if the first touch signal is generated before the second touch signal, the first output volume is turned off, and if the first touch signal is generated after the second touch signal, the second output volume is turned off.
The method has the advantages that when the first touch signal and the second touch signal are monitored within the first preset time, the generation sequence of the first touch signal and the second touch signal is detected, wherein the first preset time is less than one second; and if the first touch signal is generated before the second touch signal, the first output volume is closed, and if the first touch signal is generated after the second touch signal, the second output volume is closed. The method provides a prior and subsequent order judgment and execution mode based on the traditional double-key simultaneous triggering for realizing a humanized multi-window volume regulation scheme, so that a user can independently adjust a plurality of independent sound sources in a screen display interface, the setting logic of the adjustment operation is clear and efficient, the operation burden and the initial memory cost of the user are reduced, and the user experience is enhanced.
EXAMPLE six
Fig. 8 is a flowchart of a sixth embodiment of a method for controlling a volume of multiple windows according to the present invention, where based on the above embodiments, when the first touch signal and the second touch signal are monitored within a first preset time, the method further includes the step of closing a first output volume of the first application program, or then closing a second output volume of the second application program, where the method further includes:
s23, when the first touch signal and the second touch signal are monitored within the first preset time, detecting the magnitude relation between the first output volume and the second output volume.
And S24, if the first output volume is larger than the second output volume, closing the first output volume, and if the first output volume is smaller than the second output volume, closing the second output volume.
Optionally, in this embodiment, if the first output volume is greater than the second output volume, it is predicted that the user intends to process the sound source with the greater volume, that is, turn off the first output volume.
Optionally, in this embodiment, similarly, if the first output volume is smaller than the second output volume, it is also predicted that the user intends to process the sound source with a larger volume, that is, turn off the second output volume.
The embodiment has the advantages that the relationship between the first output volume and the second output volume is detected when the first touch signal and the second touch signal are monitored within the first preset time; if the first output volume is larger than the second output volume, the first output volume is closed, and if the first output volume is smaller than the second output volume, the second output volume is closed. The method provides the forecast mute condition judgment based on the volume for realizing a humanized multi-window volume regulation scheme, so that a user can independently regulate a plurality of independent sound sources in a screen display interface, the setting logic of the regulation operation is clear and efficient, the operation burden and the initial memory cost of the user are reduced, and the user experience is enhanced.
EXAMPLE seven
Fig. 9 is a flowchart of a seventh embodiment of a multi-window volume control method according to the present invention, where based on the above embodiments, when the first touch signal is monitored twice in sequence within a second preset time, the increasing or decreasing of the first output volume is performed according to the first touch signal and the second touch signal within a third preset time, including:
and S31, when the first touch signals are monitored twice in sequence within the second preset time, detecting the magnitude relation between the first output volume and the second output volume.
S32, if the first output volume is greater than the second output volume, turning down the first output volume or turning up the second output volume according to the first touch signal or the second touch signal within the third preset time.
Optionally, in this embodiment, if the first output volume is greater than the second output volume, it is predicted that the user intends to process the sound source with the greater volume, that is, the first output volume is adjusted to be lower or the second output volume is adjusted to be higher according to the first touch signal or the second touch signal within the third preset time.
Optionally, in this embodiment, within the third preset time, the first output volume is turned down according to the first touch signal, and the second output volume is turned up according to the second touch signal. The first touch signal is a volume-down signal, and the second touch signal is a volume-up signal.
The embodiment has the advantages that when the first touch signal is monitored twice in sequence within the second preset time, the magnitude relation between the first output volume and the second output volume is detected; if the first output volume is greater than the second output volume, the first output volume is adjusted to be low or the second output volume is adjusted to be high within the third preset time according to the first touch signal or the second touch signal. The method provides a prediction regulation condition for realizing a humanized multi-window volume regulation scheme, so that a user can independently regulate a plurality of independent sound sources in a screen display interface, the setting logic of the regulation operation is clear and efficient, the operation burden and the initial memory cost of the user are reduced, and the user experience is enhanced.
Example eight
Fig. 10 is a flowchart of an eighth embodiment of a multi-window volume control method according to the present invention, where based on the above embodiments, when two consecutive second touch signals are monitored in the second preset time, the adjusting the second output volume up or down according to the first touch signal and the second touch signal in a fourth preset time includes:
and S41, detecting the magnitude relation between the first output volume and the second output volume when the second touch signals are monitored twice in sequence within the second preset time.
S42, if the first output volume is smaller than the second output volume, increasing the first output volume or decreasing the second output volume according to the first touch signal or the second touch signal within the fourth preset time.
Optionally, in this embodiment, if the first output volume is smaller than the second output volume, it is predicted that the user intends to process the sound source with a larger volume, that is, the first output volume is adjusted to be higher or the second output volume is adjusted to be lower according to the first touch signal or the second touch signal within the fourth preset time.
Optionally, in this embodiment, within the fourth preset time, the first output volume is adjusted to be higher according to the second touch signal, and the second output volume is adjusted to be lower according to the first touch signal. The first touch signal is a volume-down signal, and the second touch signal is a volume-up signal.
The embodiment has the advantages that when the second touch signals are monitored twice in sequence within the second preset time, the magnitude relation between the first output volume and the second output volume is detected; if the first output volume is smaller than the second output volume, the first output volume is adjusted to be higher or the second output volume is adjusted to be lower according to the first touch signal or the second touch signal within the fourth preset time. The method and the device provide a humanized multi-window volume regulation scheme, so that a user can independently regulate a plurality of independent sound sources in the screen display interface, the setting logic of the regulation operation is clear and efficient, the operation burden and the initial memory cost of the user are reduced, and the user experience is enhanced.
Example nine
Based on the foregoing embodiments, the present invention further provides a multi-window volume control device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the multi-window volume control method as described in any one of the above.
It should be noted that the device embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the device embodiment, which is not described herein again.
Example ten
Based on the foregoing embodiment, the present invention further provides a computer-readable storage medium, where a multi-window volume control program is stored on the computer-readable storage medium, and when being executed by a processor, the multi-window volume control program implements the steps of the multi-window volume control method according to any one of the foregoing embodiments.
It should be noted that the media embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the media embodiment, which is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A multi-window volume control method, the method comprising:
when a secondary window for operating a second application program exists in a main window for operating a first application program, monitoring a first touch signal of a first volume key and a second touch signal of a second volume key;
when the first touch signal and the second touch signal are monitored within a first preset time, closing a first output volume of the first application program, or closing a second output volume of the second application program;
when the first touch signals are monitored twice in sequence within second preset time, adjusting the first output volume to be high or low within third preset time according to the first touch signals and the second touch signals;
and when the second touch signals are monitored twice in sequence within the second preset time, adjusting the second output volume to be higher or lower within a fourth preset time according to the first touch signals and the second touch signals.
2. The method as claimed in claim 1, wherein the monitoring a first touch signal of a first volume button and a second touch signal of a second volume button when a sub-window for running a second application exists in a main window for running a first application comprises:
when a secondary window for running a second application program exists in a main window for running a first application program, detecting whether the first output volume exists and whether the second output volume exists;
and if the first output volume and the second output volume exist at the same time, monitoring the first touch signal of the first volume key and the second touch signal of the second volume key.
3. The method as claimed in claim 2, wherein the monitoring of the first touch signal of the first volume button and the second touch signal of the second volume button when the sub-window for running the second application exists in the main window for running the first application further comprises:
if the first output volume and the second output volume exist at the same time, detecting whether a first touch screen signal exists in an area except the auxiliary window in the main window and whether a second touch screen signal exists in the area of the auxiliary window;
and if the first touch screen signal and the second touch screen signal are not detected at the same time, monitoring the first touch signal of the first volume key and the second touch signal of the second volume key.
4. The method as claimed in claim 3, wherein the monitoring of the first touch signal of the first volume button and the second touch signal of the second volume button when the sub-window for running the second application exists in the main window for running the first application further comprises:
if the first touch screen signal and the second touch screen signal are not detected at the same time, detecting whether the generation time of a previous moving signal of the secondary window exceeds a preset time length;
and if the generation time of the previous mobile signal exceeds the preset time length, monitoring the first touch signal of the first volume key and the second touch signal of the second volume key.
5. The method as claimed in claim 4, wherein the turning off a first output volume of the first application or turning off a second output volume of the second application when the first touch signal and the second touch signal are monitored within a first preset time comprises:
when the first touch signal and the second touch signal are monitored within the first preset time, detecting a generation sequence of the first touch signal and the second touch signal, wherein the first preset time is less than one second;
and if the first touch signal is generated before the second touch signal, the first output volume is closed, and if the first touch signal is generated after the second touch signal, the second output volume is closed.
6. The method as claimed in claim 5, wherein the turning off a first output volume of the first application or turning off a second output volume of the second application when the first touch signal and the second touch signal are monitored within a first preset time further comprises:
when the first touch signal and the second touch signal are monitored within the first preset time, detecting the magnitude relation between the first output volume and the second output volume;
if the first output volume is larger than the second output volume, the first output volume is closed, and if the first output volume is smaller than the second output volume, the second output volume is closed.
7. The method according to claim 6, wherein when the first touch signal is monitored twice in sequence within a second preset time, the step of adjusting the first output volume up or down within a third preset time according to the first touch signal and the second touch signal comprises:
when the first touch signals are monitored twice in sequence within the second preset time, detecting the magnitude relation between the first output volume and the second output volume;
if the first output volume is greater than the second output volume, the first output volume is adjusted to be low or the second output volume is adjusted to be high within the third preset time according to the first touch signal or the second touch signal.
8. The method of claim 7, wherein when the second touch signal is monitored twice in sequence within the second preset time, the increasing or decreasing of the second output volume is performed within a fourth preset time according to the first touch signal and the second touch signal, and the method comprises:
when the second touch signals are monitored twice in sequence within the second preset time, detecting the magnitude relation between the first output volume and the second output volume;
if the first output volume is smaller than the second output volume, the first output volume is adjusted to be higher or the second output volume is adjusted to be lower according to the first touch signal or the second touch signal within the fourth preset time.
9. A multi-window volume control device, characterized in that the device comprises a memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the multi-window volume control method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having a multi-window volume control program stored thereon, which when executed by a processor implements the steps of the multi-window volume control method of any one of claims 1 to 8.
CN202110857088.9A 2021-07-28 2021-07-28 Multi-window volume control method, equipment and computer readable storage medium Pending CN113535024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110857088.9A CN113535024A (en) 2021-07-28 2021-07-28 Multi-window volume control method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110857088.9A CN113535024A (en) 2021-07-28 2021-07-28 Multi-window volume control method, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113535024A true CN113535024A (en) 2021-10-22

Family

ID=78121217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110857088.9A Pending CN113535024A (en) 2021-07-28 2021-07-28 Multi-window volume control method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113535024A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114546327A (en) * 2022-02-24 2022-05-27 深圳创维-Rgb电子有限公司 Method and device for obtaining sound of multimedia file, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114546327A (en) * 2022-02-24 2022-05-27 深圳创维-Rgb电子有限公司 Method and device for obtaining sound of multimedia file, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110175062B (en) Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
CN112102780B (en) Display frame rate regulation and control method, device and computer readable storage medium
CN112399215A (en) Screen projection parameter regulation and control method and device and computer readable storage medium
CN112822538A (en) Screen projection display method, screen projection device, terminal and storage medium
CN108563388B (en) Screen operation method, mobile terminal and computer-readable storage medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
CN109491577B (en) Holding interaction method and device and computer readable storage medium
CN109117069B (en) Interface operation method, terminal and computer readable storage medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN107566631B (en) Volume control method, mobile terminal and computer readable storage medium
CN112667339A (en) Method for setting screen refresh rate, terminal and computer readable medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN111970738A (en) Network switching control method, equipment and computer readable storage medium
CN109669616B (en) Side screen interaction control method and device and computer readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN108543306B (en) Game brightness control method and device and computer readable storage medium
CN113535024A (en) Multi-window volume control method, equipment and computer readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN112578978B (en) Window switching control method, device and computer readable storage medium
CN112118566B (en) Network mode regulation and control method, equipment and computer readable storage medium
CN109885275B (en) Audio regulation and control method, equipment and computer readable storage medium
CN114356146A (en) Method and device for dynamically regulating and controlling game frame rate and computer readable storage medium
CN109710149B (en) Interactive display method, equipment and computer readable storage medium
CN109683799B (en) Sliding control method and device and computer readable storage medium
CN110087013B (en) Video chat method, mobile terminal and computer readable storage medium

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