CN112804593A - Method and device for controlling volume of application system, robot and storage medium - Google Patents

Method and device for controlling volume of application system, robot and storage medium Download PDF

Info

Publication number
CN112804593A
CN112804593A CN202011626683.3A CN202011626683A CN112804593A CN 112804593 A CN112804593 A CN 112804593A CN 202011626683 A CN202011626683 A CN 202011626683A CN 112804593 A CN112804593 A CN 112804593A
Authority
CN
China
Prior art keywords
volume value
volume
audio
video
value
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
CN202011626683.3A
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.)
Shanghai Keenlon Intelligent Technology Co Ltd
Original Assignee
Shanghai Keenlon Intelligent 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 Shanghai Keenlon Intelligent Technology Co Ltd filed Critical Shanghai Keenlon Intelligent Technology Co Ltd
Priority to CN202011626683.3A priority Critical patent/CN112804593A/en
Publication of CN112804593A publication Critical patent/CN112804593A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • 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
    • 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/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Abstract

The embodiment of the application discloses a method and a device for controlling the volume of an application system, a robot and a storage medium. The control method comprises the following steps: the application system takes the first volume value as a system volume value of system voice playing; if the application system detects an audio and video suspension control triggering event, the application system adopts the initial volume value to play the audio and video; the application system responds to the volume value adjusting operation and adjusts the initial volume value to a second volume value so as to play audio and video; and if the audio and video suspension control exit event is detected, taking the first volume value as a system volume value. According to the technical scheme, the volume of the intelligent device can be finely controlled, and the use feeling of a user is improved.

Description

Method and device for controlling volume of application system, robot and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for controlling the volume of an application system, a robot and a storage medium.
Background
With the rapid development of intelligent technology, intelligent devices (such as robots) are widely used in daily life.
In the prior art, when the volume of the intelligent device is adjusted, the volume of the intelligent device is controlled through system setting. However, the volume cannot be finely controlled by using the system to set the volume, and the user experience is poor. In some scenes, if the volume is turned up in the process of playing music for blessing songs by using the robot, the volume used by the system of the robot is the volume turned up after the playing is finished, so that the staff needs to reset the volume value to be suitable for the playing of the sound of the system of the robot.
Therefore, a volume control method capable of finely controlling the volume of the smart device needs to be designed.
Disclosure of Invention
The embodiment of the application provides a method and a device for controlling the volume of an application system, a robot and a storage medium, and can realize fine control on the volume of intelligent equipment and improve the use feeling of a user.
In a first aspect, an embodiment of the present application provides a method for controlling a volume of an application system, where the method includes:
the application system takes the first volume value as a system volume value of system voice playing;
if the application system detects an audio and video suspension control triggering event, the application system adopts the initial volume value to play the audio and video;
the application system responds to the volume value adjusting operation and adjusts the initial volume value to a second volume value so as to play audio and video;
and if the audio and video suspension control exit event is detected, taking the first volume value as the system volume value.
In a second aspect, an embodiment of the present application provides an apparatus for controlling volume of an application system, where the apparatus includes:
the volume playing module is used for enabling the application system to serve as a system volume value of system voice playing according to the first volume value, and if an audio and video suspension control triggering event is detected, audio and video playing is carried out by adopting an initial volume value;
the volume adjusting module is used for responding to volume value adjusting operation by an application system and adjusting the initial volume value to a second volume value so as to play audio and video;
and the system volume value determining module is used for taking the first volume value as the system volume value if the audio and video suspension control exit event is detected.
In a third aspect, an embodiment of the present application provides a robot, including:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for controlling the volume of the application system according to any embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the program, when executed by a processor, implements the method for controlling volume of an application system according to any embodiment of the present application.
The embodiment of the application provides a method and a device for controlling the volume of an application system, a robot and a storage medium, wherein the application system is used as a system volume value for playing system voice according to a first volume value, and if the application system detects an audio and video suspension control triggering event, the application system adopts an initial volume value to play audio and video; the application system responds to the volume value adjusting operation and adjusts the initial volume value to a second volume value so as to play audio and video; and if the audio and video suspension control exit event is detected, taking the first volume value as a system volume value. By executing the scheme, the volume of the intelligent device can be finely controlled, and the use feeling of a user is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present application, nor do they limit the scope of the present application. Other features of the present application will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1A is a first flowchart illustrating a method for controlling a volume of an application system according to an embodiment of the present disclosure;
fig. 1B is a first interface schematic diagram of a method for controlling a volume of an application system according to an embodiment of the present application;
fig. 2A is a second flowchart of a method for controlling volume of an application system according to a second embodiment of the present application;
fig. 2B is a second interface schematic diagram of a method for controlling volume of an application system according to a second embodiment of the present application;
fig. 2C is a third interface schematic diagram of a method for controlling volume of an application system according to the second embodiment of the present application;
fig. 3 is a schematic structural diagram of a device for controlling volume of an application system according to a third embodiment of the present application;
fig. 4 is a block diagram of an electronic device for implementing a method for controlling the volume of an application system according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Before the embodiments of the present application are described, it should be noted that: in the embodiment of the application, besides the audio and video sound, the sound played by the system voice is also related to the sound in the robot equipment. The volume value of the audio/video sound is the volume value used when the audio/video is played, and the volume value of the system voice playing is the volume value used when the audio/video is played except for the audio/video (such as voice conversation sound, voice navigation sound, touch screen sound and the like).
Example one
Fig. 1A is a first flowchart illustrating a method for controlling a volume of an application system according to an embodiment of the present disclosure; fig. 1B is a first interface schematic diagram of a method for controlling volume of an application system according to an embodiment of the present application. The embodiment can be applied to the condition of respectively adjusting the sound volume of voice playing and the sound volume of audio and video playing of the robot system, wherein the audio and video sounds are audio sounds or video sounds and the like. The method for controlling the volume of the application system provided by this embodiment may be executed by the apparatus for controlling the volume of the application system provided by this embodiment, and the apparatus may be implemented by software and/or hardware and integrated in an electronic device executing this method. Preferably, the electronic device in the embodiment of the present application may be a robot.
Referring to fig. 1A, the method of the present embodiment includes, but is not limited to, the following steps:
s110, the application system takes the first volume value as a system volume value of system voice playing.
The system voice playing is the voice prompt of the robot in the normal working process, and the first volume value set by the system is used as the system voice playing system volume value in the working process.
And S120, if the application system detects the audio and video suspension control triggering event, the initial volume value is adopted for audio and video playing.
The audio and video suspension control is a button element which is used for being suspended on a screen and is convenient for a user to control audio or video. The audio and video suspension control can be manually triggered by a user; the robot can also be triggered by a timing component in a timing mode, namely the robot can automatically trigger the audio and video suspension control after preset time. The preset time can be set by a user according to actual requirements. In the embodiment of the application, the audio and video can refer to audio or video; the initial volume value is used as the volume value by presetting a fixed value, or the initial volume value corresponds to the first volume value. Alternatively, the initial volume value may be stored in the local database after being fixedly set by the system, so that the fixed value may be obtained from the local database as the initial volume value when the initial volume value is used next time. Optionally, the initial volume value may also correspond to the system volume value, and when the system volume value is adjusted through the system setting interface, the initial volume value is also adjusted.
In the embodiment of the application, the audio and video suspension control is arranged on the system operation interface, and a user can call the audio and video suspension control by manually triggering the audio and video suspension control or by regularly triggering the audio and video suspension control within a preset time, and meanwhile, a control element in the audio and video suspension control can be popped up. The control elements in the audio and video suspension control are not specifically limited, and can be set by a user according to personal preference or default setting of a robot product when the robot product leaves a factory. Optionally, the control elements in the audio/video suspension control may be: the button is used for playing audio, adding video, deleting video, selecting video and quitting playing audio and video; the control elements in the audio-video suspension control can also be provided with a volume value increasing button and a volume value decreasing button.
In the embodiment of the application, a user can start the function of touching the control element in the audio and video suspension control by touching the audio and video suspension control. If the execution main body is the server side, when the server side monitors that the audio and video suspension control is triggered and started, the initial volume value is directly obtained from the local database. If the execution main body is a robot, the robot monitors that the audio and video suspension control is triggered to be started, and the robot can interact with the server to obtain an initial volume value from the server. And after the initial volume value is obtained, playing the audio and video by using the initial volume value.
And S130, the application system responds to the volume value adjusting operation and adjusts the initial volume value to a second volume value so as to play audio and video.
Optionally, the volume value adjusting operation includes at least one of a volume bar sliding operation, a volume up key operation, a volume down key operation, a mute key operation, and a mute key release operation. In the embodiment of the present application, the sound of the audio-video or the sound of the system is controlled by the volume value adjusting operation.
In the embodiment of the present application, the second volume value may be stored in the local database after being set, or may be stored in the temporary storage component.
In the embodiment of the application, a user can adjust the volume value of the audio and video sound or the system sound through the audio and video suspension control, and can also adjust the volume value of the audio and video sound or the system sound through the physical volume key. When the robot uses the initial volume value to execute the task of playing the audio and video, the user adjusts the volume value by touching the audio and video suspension control or pressing the physical volume button (for example, the volume value of the audio and video sound is adjusted from the initial volume value to the second volume value by increasing the volume or decreasing the volume), and then the robot responds to the adjustment operation of the user on the volume value of the audio and video sound and uses the second volume value to continuously play the current audio and video. If the robot encounters the situation that the system voice is played in the process of executing the audio and video playing task, the playing of the audio and video is stopped, the content playing of the system voice is contended, and the volume value of the playing content adopts a first volume value. The advantage of this arrangement is that playing system speech using the first volume value is not affected by adjusting the volume of the audiovisual to the second volume.
And S140, if the audio and video suspension control exit event is detected, taking the first volume value as a system volume value.
In the embodiment of the application, after the audio and video is played or a user quits the audio and video playing interface by using the audio and video suspension control, the quit event of the audio and video suspension control is triggered. When the robot monitors that the exit event of the audio and video suspension control is triggered and returns to a non-audio and video playing interface (such as a system interface), the first volume value is obtained again and serves as the system volume value.
Illustratively, when the audio-video suspension control is not triggered, the robot uses the first volume value as a system sound value; when the fact that the audio and video suspension control is triggered and started is detected, an initial volume value is obtained, and the robot uses the initial volume value to play audio and video; when the robot uses the initial volume value to execute the task of playing the audio and video, the user adjusts the volume value from the initial volume value to a second volume value, the robot responds to the adjustment operation of the volume value of the user and uses the second volume value to continue playing the audio and video; and when the audio and video is played or the user operates the robot to exit the audio and video playing interface and return to the system interface, acquiring the first volume value again and taking the first volume value as the system volume value.
In the embodiment of the application, the two volume values are used for separately setting the audio and video volume value and the system volume value, so that the advantage of setting is that the sound can be finely controlled, and the use feeling of a user is improved. When the audio and video are played by using the high volume value and the non-audio and video playing interface is switched, the poor use feeling of the user can not be caused by continuously using the high volume value in the non-audio and video playing interface.
Optionally, in this embodiment of the present application, the method for controlling the volume of the application system further includes:
if the first volume value setting interface access operation is detected, verifying the identity of the user;
and if the user identity authentication result is that the authority exists, responding to the access operation of the first volume value setting interface, and entering the first volume value setting interface.
Specifically, in the system setting page, the user may set the first volume value after the user passes the authentication successfully. If the user fails to authenticate the identity, the user cannot enter a system setting page, namely, the user does not have the authority to set the first volume value. The authentication method may be inputting a password, face recognition, or swiping an identity card. Optionally, an initial volume value may also be set in the system setup page. The initial volume value is set in the same manner as the first volume value. After the user passes the identification, the system setting page, i.e. the page shown in fig. 1B, can be entered. Fig. 1B shows that the user adjusts the volume value of the audio-visual sound (e.g., music in fig. 1B) and the volume value of the system sound (e.g., voice in fig. 1B) through the slider bar in the system setup page.
According to the technical scheme provided by the embodiment, the application system is used as a system volume value for system voice playing according to the first volume value, and if the application system detects an audio and video suspension control triggering event, the application system adopts the initial volume value to play audio and video; the application system responds to the volume value adjusting operation and adjusts the initial volume value to a second volume value so as to play audio and video; and if the audio and video suspension control exit event is detected, taking the first volume value as a system volume value. In the application, the volume value of the audio and video sound is adjusted in the audio and video playing interface by setting the independent audio stream, so that the volume value of the system sound is not influenced, and the aim of separately controlling the system sound and the audio and video sound is fulfilled. By executing the scheme, the volume of the intelligent device can be finely controlled, and the use feeling of a user is improved.
Example two
Fig. 2A is a second flowchart of a method for controlling volume of an application system according to a second embodiment of the present application; fig. 2B-2C are schematic interface diagrams of an application system volume control method according to a second embodiment of the present application. The embodiment of the application is optimized on the basis of the embodiment, and specifically optimized as follows: a detailed explanation of the specific process of adjusting the volume value is added.
Referring to fig. 2A, the method of the present embodiment includes, but is not limited to, the following steps:
s210, the application system takes the first volume value as a system volume value of system voice playing.
And S220, if the application system detects the audio and video suspension control triggering event, the initial volume value is adopted for audio and video playing.
In the embodiment of the application, after detecting the audio/video suspension control triggering event, the method includes: the first volume value is saved and may be saved in a local database. Correspondingly, if an audio/video suspension control exit event is detected, taking the first volume value as a system volume value, including: and if the exit event of the audio and video suspension control is detected, acquiring the stored first volume value, and taking the first volume value as a system volume value.
In the embodiment of the application, the audio and video suspension control can be suspended at the position of the frame of the interface of the display screen of the robot, so that the operation of a user on the current interface is not hindered. The user can drag the audio and video suspension control to change the hovering position. When a user needs to use the control elements in the audio and video suspension control, the audio and video suspension control can be called by clicking the audio and video suspension control, and meanwhile, the control elements in the audio and video suspension control can be popped up. Illustratively, as shown in fig. 2B, the robot current interface is an automatic meal delivery interface, and the audio and video suspension control is hovered at the position of the frame of the robot display screen interface. When the user clicks the audio/video suspension control, a small window interface for popping up the audio/video playing is displayed as shown in fig. 2C, wherein the small window interface includes a pause playing button, a previous audio/video, a next audio/video, a volume control button and a mute button.
S230, a temporary value corresponding to the volume value adjusting operation is created.
In the embodiment of the application, through the steps, when the fact that the audio and video suspension control is triggered and started is detected, an initial volume value is obtained, and the robot uses the initial volume value to play audio and video. When the robot uses the initial volume value to execute the task of playing the audio and video, the user can control and adjust the volume value of the audio and video sound through the audio and video suspension control. For example, the volume value of the av sound is adjusted (increased or decreased) by sliding the volume slider, and the adjusted volume value of the av sound is referred to as a temporary value. At this time, the robot creates a temporary storage space for storing a temporary value of the audio and video sounds.
And S240, adopting the temporary value as a second volume value.
In the embodiment of the application, through the steps, the volume value of the audio and video sound is adjusted through the audio and video suspension control, and the adjusted volume value of the audio and video sound is called as a temporary value. And meanwhile, the temporary value is used as a second volume value, and the audio and video currently played is played by adopting the second volume value.
It should be noted that, in the embodiment of the present application, the second volume value is only used as the volume value of the audio-video sound, and is used for controlling the playing of the audio-video. The first volume value is only used as the volume value of the system sound and is used for controlling the playing of the system sound (such as voice conversation sound, voice navigation sound, touch screen sound and the like).
Illustratively, when a user plays an audio/video (such as a blessing song) using the audio/video suspension control, the user may perform a volume value adjustment operation for controlling the sound of the blessing song through one of a volume bar sliding operation, a volume up key operation, a volume down key operation, a mute key operation, and a mute key release operation when the user needs to adjust the volume value of the blessing song. The method has the advantages that the method can realize the quick control of the volume value of the blessing song independently without influencing the volume value of the system sound, can avoid modifying the volume value of the system sound by going to the system setting page every time, and is convenient for the user to operate and use.
Optionally, the volume value of the system sound may be controlled by the account management program, for example, by setting the volume value of the system sound to a default value a through a slide bar, and storing the default value a in the account management program. The volume adjustment of the audio and video suspension control only controls the volume value of audio and video sound, and does not change the volume value of system sound.
Optionally, the audiovisual suspension control may adjust the volume value of the audiovisual sound a single time. Specifically, if the volume value of the system sound is the default value a, when the audio/video task is started, the default value a is used as the volume value of the audio/video sound. And if the volume value of the audio and video sound is set to be the temporary value B through the audio and video suspension control, the robot controls the volume of the current audio and video sound by temporarily using the temporary value B. When the audio-video playing is completed, the temporary value B is invalid. The robot still uses the default value a as the volume value of the system sound. However, when a new audio/video task is started, the robot still uses the default value A as the volume value of the audio/video sound, and if the audio/video sound is adjusted through the audio/video suspension control, the adjusted volume value of the audio/video sound is used as a temporary value.
And S250, if the audio and video suspension control exit event is detected, setting the temporary value to be invalid, and taking the first volume value as a system volume value.
In the embodiment of the application, if the robot monitors that the exit event of the audio/video suspension control is triggered and returns to a non-audio/video playing interface (such as a system interface), the temporary value (i.e., the second volume value) is set to be invalid. And meanwhile, the first volume value is obtained from the local database again and is used as the system volume value.
According to the technical scheme provided by the embodiment, if the application system detects the audio and video suspension control triggering event according to the system volume value application system taking the first volume value as system voice playing, the initial volume value is adopted for audio and video playing; creating a temporary value corresponding to the volume value adjusting operation; adopting a temporary value as a second volume value; and if the exit event of the audio and video suspension control is detected, setting the temporary value to be invalid, and taking the first volume value as the system volume value. In the application, the temporary value is set for the adjusted audio and video sound and is released after the audio and video playing is finished, so that the temporary value is only used for playing the audio and video and does not influence the system sound, and the aim of separately controlling the system sound and the audio and video sound is fulfilled. By executing the scheme, the requirement of the user for carrying out classification control on the volume of the intelligent equipment can be met, and the use feeling of the user can be improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a device for controlling volume of an application system according to an embodiment of the present disclosure, and as shown in fig. 3, the device 300 may include:
and the volume playing module 310 is configured to use the first volume value as a system volume value for system voice playing by the application system, and if the application system detects an audio/video suspension control triggering event, perform audio/video playing by using the initial volume value.
And the volume adjusting module 320 is used for adjusting the initial volume value to a second volume value for audio and video playing by the application system in response to the volume value adjusting operation.
And the system volume value determining module 330 is configured to, if the audio/video suspension control exit event is detected, use the first volume value as the system volume value.
Further, the volume adjusting module 320 includes:
a tentative value creating unit for creating a tentative value corresponding to the volume value adjusting operation;
a volume value determination unit for adopting the temporary value as a second volume value.
Further, the system volume value determining module 330 may be specifically configured to: and if the audio and video suspension control exit event is detected, setting the temporary value to be invalid, and taking the first volume value as the system volume value.
Optionally, the volume value adjusting operation includes at least one of a volume bar sliding operation, a volume up key operation, a volume down key operation, a mute key operation, and a mute key release operation.
Further, the device for controlling the volume of the application system may further include: a volume value storage module;
the volume value storage module is used for storing the first volume value;
correspondingly, if the audio/video suspension control exit event is detected, taking the first volume value as the system volume value includes:
and if the audio and video suspension control exit event is detected, acquiring the stored first volume value, and taking the first volume value as the system volume value.
Optionally, the initial volume value is a preset fixed value as the volume value, or the initial volume value corresponds to the first volume value.
Further, the device for controlling the volume of the application system may further include: an identity verification module;
the identity verification module is used for verifying the identity of the user if the first volume value setting interface access operation is detected;
and if the user identity authentication result is that the authority exists, responding to the access operation of the first volume value setting interface, and entering the first volume value setting interface.
The control device for the application system volume provided by the embodiment can be applied to the control method for the application system volume provided by any embodiment, and has corresponding functions and beneficial effects.
Example four
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 4 is a block diagram of an electronic device to which a method for controlling a system volume is applied according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. Preferably, the electronic device in the embodiment of the present application may be a robot. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 4, the electronic apparatus includes: one or more processors 410, memory 420, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). One processor 410 is illustrated in fig. 4.
Memory 420 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor, so that the at least one processor executes the method for controlling the volume of the application system provided by the application system. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the method for controlling the volume of an application system provided by the present application.
The memory 420 serves as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the control method of the application system volume in the embodiment of the present application (for example, the volume playing module 310, the volume adjusting module 320, and the system volume value determining module 330 shown in fig. 3). The processor 410 executes various functional applications of the server and data processing, i.e., implements the control method of the volume of the application system in the above-described method embodiment, by executing non-transitory software programs, instructions, and modules stored in the memory 420.
The memory 420 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device to which control of the system volume is applied, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 420 may optionally include memory located remotely from processor 410, which may be connected to an electronic device that applies control of system volume 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 electronic device to which the method of controlling system volume is applied may further include: an input device 430 and an output device 440. The processor 410, the memory 420, the input device 430, and the output device 440 may be connected by a bus or other means, such as the bus connection in fig. 4.
The input device 430 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device to which control of the system volume is applied, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, and the like input devices. The output device 440 may include a display device, an auxiliary lighting device (e.g., an LED), a haptic feedback device (e.g., a vibration motor), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
According to the technical scheme of the embodiment of the application, the application system takes the first volume value as a system volume value of system voice playing, and if the application system detects an audio and video suspension control triggering event, the application system adopts the initial volume value to play audio and video; the application system responds to the volume value adjusting operation and adjusts the initial volume value to a second volume value so as to play audio and video; and if the audio and video suspension control exit event is detected, taking the first volume value as a system volume value. In the application, the volume value of the audio and video sound is adjusted in the audio and video playing interface by setting the independent audio stream, so that the volume value of the system sound is not influenced, and the aim of separately controlling the system sound and the audio and video sound is fulfilled. By executing the scheme, the volume of the intelligent device can be finely controlled, and the use feeling of a user is improved.
It should be noted that, in the embodiment of the control device for volume of application system, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method for controlling the volume of an application system, the method comprising:
the application system takes the first volume value as a system volume value of system voice playing;
if the application system detects an audio and video suspension control triggering event, the application system adopts the initial volume value to play the audio and video;
the application system responds to the volume value adjusting operation and adjusts the initial volume value to a second volume value so as to play audio and video;
and if the audio and video suspension control exit event is detected, taking the first volume value as the system volume value.
2. The method for controlling the volume of an application system according to claim 1, wherein the application system adjusts the initial volume value to a second volume value for audio-video playing in response to a volume value adjusting operation, and comprises:
creating a temporary value corresponding to the volume value adjusting operation;
the temporary value is used as the second volume value.
3. The method for controlling the volume of the application system according to claim 2, wherein if the audio/video suspension control exit event is detected, taking the first volume value as the system volume value comprises:
and if the audio and video suspension control exit event is detected, setting the temporary value to be invalid, and taking the first volume value as the system volume value.
4. The method for controlling the volume of an application system according to claim 2, wherein the volume value adjusting operation comprises at least one of a volume bar sliding operation, a volume up key operation, a volume down key operation, a mute key operation, and a mute key release operation.
5. The method for controlling the volume of the application system according to claim 4, wherein after the application system detects the audio-video suspension control triggering event, the method further comprises:
saving the first volume value;
correspondingly, if the audio/video suspension control exit event is detected, taking the first volume value as the system volume value includes:
and if the audio and video suspension control exit event is detected, acquiring the stored first volume value, and taking the first volume value as the system volume value.
6. The method for controlling the volume of an application system according to claim 1, wherein the initial volume value is preset to be a fixed value as the volume value, or the initial volume value corresponds to the first volume value.
7. The method for controlling the volume of an application system according to claim 1, wherein the method further comprises:
if the first volume value setting interface access operation is detected, verifying the identity of the user;
and if the user identity authentication result is that the authority exists, responding to the access operation of the first volume value setting interface, and entering the first volume value setting interface.
8. An apparatus for controlling a volume of an application system, the apparatus comprising:
the volume playing module is used for enabling the application system to serve as a system volume value of system voice playing according to the first volume value, and if an audio and video suspension control triggering event is detected, audio and video playing is carried out by adopting an initial volume value;
the volume adjusting module is used for responding to volume value adjusting operation by an application system and adjusting the initial volume value to a second volume value so as to play audio and video;
and the system volume value determining module is used for taking the first volume value as the system volume value if the audio and video suspension control exit event is detected.
9. A robot, characterized in that the robot comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of controlling volume as claimed in any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a method of controlling the volume according to any one of claims 1 to 7.
CN202011626683.3A 2020-12-31 2020-12-31 Method and device for controlling volume of application system, robot and storage medium Pending CN112804593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011626683.3A CN112804593A (en) 2020-12-31 2020-12-31 Method and device for controlling volume of application system, robot and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011626683.3A CN112804593A (en) 2020-12-31 2020-12-31 Method and device for controlling volume of application system, robot and storage medium

Publications (1)

Publication Number Publication Date
CN112804593A true CN112804593A (en) 2021-05-14

Family

ID=75807881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011626683.3A Pending CN112804593A (en) 2020-12-31 2020-12-31 Method and device for controlling volume of application system, robot and storage medium

Country Status (1)

Country Link
CN (1) CN112804593A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406803A (en) * 2016-08-31 2017-02-15 青岛海信移动通信技术股份有限公司 Volume control method and device of terminal application
CN107040660A (en) * 2017-04-18 2017-08-11 广东欧珀移动通信有限公司 Control method, device and the mobile terminal of mobile terminal playing volume
CN107145327A (en) * 2017-04-10 2017-09-08 北京猎户星空科技有限公司 A kind of audio frequency playing method, device and smart machine
CN107229445A (en) * 2016-03-25 2017-10-03 惠州华阳通用电子有限公司 A kind of broadcast source method for controlling volume and device
WO2018054139A1 (en) * 2016-09-26 2018-03-29 中兴通讯股份有限公司 Audio control method and device, and storage medium
CN109542389A (en) * 2018-11-19 2019-03-29 北京光年无限科技有限公司 Sound effect control method and system for the output of multi-modal story content
CN109739463A (en) * 2018-12-05 2019-05-10 上海博泰悦臻电子设备制造有限公司 Multimedia volume adjusting method and terminal
CN110543289A (en) * 2019-08-02 2019-12-06 华为技术有限公司 Method for controlling volume and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229445A (en) * 2016-03-25 2017-10-03 惠州华阳通用电子有限公司 A kind of broadcast source method for controlling volume and device
CN106406803A (en) * 2016-08-31 2017-02-15 青岛海信移动通信技术股份有限公司 Volume control method and device of terminal application
WO2018054139A1 (en) * 2016-09-26 2018-03-29 中兴通讯股份有限公司 Audio control method and device, and storage medium
CN107145327A (en) * 2017-04-10 2017-09-08 北京猎户星空科技有限公司 A kind of audio frequency playing method, device and smart machine
CN107040660A (en) * 2017-04-18 2017-08-11 广东欧珀移动通信有限公司 Control method, device and the mobile terminal of mobile terminal playing volume
CN109542389A (en) * 2018-11-19 2019-03-29 北京光年无限科技有限公司 Sound effect control method and system for the output of multi-modal story content
CN109739463A (en) * 2018-12-05 2019-05-10 上海博泰悦臻电子设备制造有限公司 Multimedia volume adjusting method and terminal
CN110543289A (en) * 2019-08-02 2019-12-06 华为技术有限公司 Method for controlling volume and electronic equipment

Similar Documents

Publication Publication Date Title
JP6318232B2 (en) Voice management at the tab level for user notification and control
JP7051799B2 (en) Speech recognition control methods, devices, electronic devices and readable storage media
JP2021047835A (en) Video reproducing method, video reproducing device, electronic device, and readable storage medium
JP7051798B2 (en) Speech recognition control methods, devices, electronic devices and readable storage media
CN111354360A (en) Voice interaction processing method and device and electronic equipment
CN111177453A (en) Method, device and equipment for controlling audio playing and computer readable storage medium
KR102358012B1 (en) Speech control method and apparatus, electronic device, and readable storage medium
CN111787387A (en) Content display method, device, equipment and storage medium
JP7051800B2 (en) Voice control methods, voice control devices, electronic devices, and readable storage media
CN112055261A (en) Subtitle display method and device, electronic equipment and storage medium
JP7204804B2 (en) Smart rearview mirror interaction method, device, electronic device and storage medium
US11631420B2 (en) Voice pickup method for intelligent rearview mirror, electronic device and storage medium
CN111243585B (en) Control method, device and equipment under multi-user scene and storage medium
US11126260B2 (en) Control method and apparatus of intelligent device, and storage medium
CN110517684B (en) Control method and device for intelligent equipment, intelligent equipment and storage medium
CN112804593A (en) Method and device for controlling volume of application system, robot and storage medium
WO2020000974A1 (en) Video recording method, client, terminal and storage medium
CN110718221A (en) Voice skill control method, voice equipment, client and server
CN111160318B (en) Electronic equipment control method and device
CN113495620A (en) Interactive mode switching method and device, electronic equipment and storage medium
CN113495621A (en) Interactive mode switching method and device, electronic equipment and storage medium
CN111857514A (en) Device control method, device, electronic device and storage medium
CN113495976A (en) Content display method, device, equipment and storage medium
CN111723343A (en) Interaction control method and device of electronic equipment and electronic equipment
CN113495622A (en) Interactive mode switching method and device, electronic equipment and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210514

RJ01 Rejection of invention patent application after publication