CN111935355B - Parameter setting method and device, electronic equipment and readable storage medium - Google Patents

Parameter setting method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111935355B
CN111935355B CN202010739500.2A CN202010739500A CN111935355B CN 111935355 B CN111935355 B CN 111935355B CN 202010739500 A CN202010739500 A CN 202010739500A CN 111935355 B CN111935355 B CN 111935355B
Authority
CN
China
Prior art keywords
parameter
application
setting
input
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010739500.2A
Other languages
Chinese (zh)
Other versions
CN111935355A (en
Inventor
陈纲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010739500.2A priority Critical patent/CN111935355B/en
Publication of CN111935355A publication Critical patent/CN111935355A/en
Application granted granted Critical
Publication of CN111935355B publication Critical patent/CN111935355B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a parameter setting method and device and electronic equipment, belongs to the technical field of communication, and can solve the problem that the efficiency of setting parameters by the electronic equipment is low. The parameter setting method comprises the following steps: under the condition that a first interface is displayed and the first interface contains a first identifier of a first application, receiving first input of a user to the first identifier; in response to the first input, determining setting parameters of a first setting item of the first application according to first input parameters of the first input in the first direction, and determining setting parameters of a second setting item of the first application according to second input parameters of the first input in the second direction; setting the setting parameter of the first setting item as a first parameter, and setting the setting parameter of the second setting item as a second parameter. The parameter setting method provided by the embodiment of the application can be applied to the process of setting the playing parameters of the electronic equipment.

Description

Parameter setting method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a parameter setting method and device and electronic equipment.
Background
At present, in a scenario where a user sets an application having an audio playing function in an electronic device, the user may input a "sound" option in an interface of a "setting" application, so that the electronic device may display icons of a plurality of applications (each application is an application having an audio playing function) in the electronic device, and thus the user may search for an icon of an application 1 among the icons of the plurality of applications and click on the icon of the application 1, so that the electronic device may display a plurality of playing parameter setting options of the application 1, and thus the user may input each playing parameter setting option respectively, so that the electronic device may set a plurality of playing parameters of the application 1.
However, since the user needs to perform a plurality of operations to set a plurality of playback parameters of the application 1, the user's operation is cumbersome and time-consuming in setting the playback parameters of the application 1.
As such, the efficiency of setting parameters by the electronic device is low.
Disclosure of Invention
The embodiment of the application aims to provide a parameter setting method and device and electronic equipment, and the problem that the efficiency of setting parameters of the electronic equipment is low can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a parameter setting method, including: under the condition that a first interface is displayed and the first interface contains a first identifier of a first application, receiving first input of a user to the first identifier; in response to the first input, determining setting parameters of a first setting item of the first application according to first input parameters of the first input in the first direction, and determining setting parameters of a second setting item of the first application according to second input parameters of the first input in the second direction; setting the setting parameter of the first setting item as a first parameter, and setting the setting parameter of the second setting item as a second parameter.
In a second aspect, an embodiment of the present application provides a parameter setting apparatus, including: the device comprises a receiving module, a determining module and a setting module. The receiving module is used for receiving first input of a user to a first identifier under the condition that the first interface is displayed and the first interface contains the first identifier of a first application. And the determining module is used for responding to the first input received by the receiving module, determining the setting parameters of the first setting item of the first application according to the first input parameters of the first input in the first direction, and determining the setting parameters of the second setting item of the first application according to the second input parameters of the first input in the second direction. And the setting module is used for setting the setting parameter of the first setting item determined by the determining module as the first parameter and setting the setting parameter of the second setting item determined by the determining module as the second parameter.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment of the application, when the parameter setting device displays the first interface and the first interface includes the first identifier of the first application, the parameter setting device may determine, according to a first input parameter of a first input by a user in a first direction, a setting parameter of a first setting item of the first application, and determine, according to a second input parameter of the first input in a second direction, a setting parameter of a second setting item of the first application, so that the parameter setting device may set the setting parameter of the first setting item as a first play parameter and set the setting parameter of the second setting item as a second play parameter. The parameter setting device can determine two setting parameters of two setting items of the first application according to two input parameters input by a user, and set the two setting parameters as two playing parameters of the first application, namely, the user can input the two setting parameters at one time, so that the parameter setting device can set a plurality of playing parameters of the first application at the same time, and the parameter setting efficiency of the parameter setting device can be improved.
Drawings
Fig. 1 is a schematic diagram of a parameter setting method provided in an embodiment of the present application;
fig. 2 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 3 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 4 is a third schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 5 is a second schematic diagram of a parameter setting method according to an embodiment of the present application;
fig. 6 is a third schematic diagram of a parameter setting method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a parameter setting apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 9 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
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, but not all, embodiments of the present application. 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.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail the audio playing method provided by the embodiment of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
The parameter setting method provided by the embodiment of the application can be applied to a scene that a user sets the playing parameters of the application.
Assuming that a user needs to set the playing parameters of the application a, the user may click an icon of a "set" application in the electronic device, so that the electronic device may display an interface of the "set" application, and then the user may input a "sound" option in the interface of the "set" application, so that the electronic device may display icons of multiple applications in the electronic device, so that the user may input the icon of the application a in the icons of the multiple applications, so that the electronic device may display multiple playing parameter setting options of the application a, and thus the user may input each playing parameter setting option one by one, so that the electronic device may set the multiple playing parameters of the application a according to the input of the user. However, since the user needs to perform multiple operations to set multiple playing parameters of the application a, the user operation is cumbersome in the process of setting the playing parameters.
In this embodiment, when a user needs to set the play parameters of the application a, the user may slide up the display of the electronic device to enable the electronic device to display a "system shortcut center" window on a currently displayed interface, where the "system shortcut center" window includes a "volume adjustment" icon, so that the user may click the "volume adjustment" icon to enable the electronic device to display a "play parameter" setting interface, where icons of multiple applications are displayed in the "play parameter" setting interface, so that the user may perform drag input on the icon of the application a among the icons of the multiple applications, so that the electronic device may determine the setting parameters of one play parameter setting item according to the input parameters of the drag input in one direction, and determine the input parameters of the drag input in another direction, the setting parameters of the other playing parameter setting item are determined, so that the electronic device can set the two setting parameters (namely, the setting parameter of the one playing parameter setting item and the setting parameter of the other playing parameter setting item) as the two playing parameters of the application a, that is, the user can set the two playing parameters of the application a at the same time through one-time input, so that the operation of the user can be simplified, and the efficiency of setting the parameters of the electronic device can be improved.
Fig. 1 shows a flowchart of a parameter setting method provided in an embodiment of the present application. As shown in fig. 1, a parameter setting method provided in an embodiment of the present application may include steps 101 to 103 described below.
Step 101, under the condition that the first interface is displayed and the first interface comprises a first identifier of a first application, the parameter setting device receives a first input of a user to the first identifier.
Optionally, in this embodiment of the application, when the parameter setting device displays any interface, the user may input to the display screen of the parameter setting device (for example, input in an upward-sliding manner according to a lower edge line of the display screen in an upward edge line direction), so that the parameter setting device may display a "system shortcut center" window on the any interface, where the "system shortcut center" window includes a "volume adjustment" identifier, and thus the user may input (for example, click and input) the "volume adjustment" identifier, so that the parameter setting device displays a first interface, and the first interface includes the first identifier.
It should be noted that the above "arbitrary interface" can be understood as: and displaying the interface when the parameter setting device is in a bright screen state. For example: a desktop or an interface of any application.
The parameter setting device is exemplarily illustrated as a mobile phone. In the case that the mobile phone displays any interface (for example, a desktop), the user can input the mobile phone, and as shown in (a) in fig. 2, the mobile phone can display a "system shortcut center" window (for example, a window 11) on the desktop 10, and the window 11 includes a "volume adjustment" identifier (for example, an identifier 12), so that the user can input the identifier 12; as shown in fig. 2 (B), after the user inputs the identifier 12, the mobile phone may display a second interface (e.g., interface 13), where the first identifier (e.g., identifier 14) of the first application is included in the interface 13.
Further, in this embodiment of the application, the parameter setting device may detect all applications in the parameter setting device to determine the plurality of second applications from all the applications, so that the parameter setting device may display the identifiers of the plurality of second applications to display the first interface.
It is to be understood that the first application is included in the plurality of second applications, and the first identifier is included in the identifiers of the plurality of second applications.
Each of the plurality of second applications may be specifically an application having an audio playing function. For example: music type applications, web page type applications, etc.
Further, in this embodiment of the application, after the parameter setting apparatus displays the identifiers of the plurality of second applications, the parameter setting apparatus may mark some of the plurality of second applications (the some applications are applications that the parameter setting apparatus runs (e.g., runs in the background)) in a first marking manner after displaying the first interface.
It should be noted that the above "application running in the background" may be understood as: the parameter setting device runs the application, and the parameter setting device does not display the interface of the application currently (or displays the interface of the application partially currently). For example: the parameter setting device runs a certain application, and the current part of the parameter setting device displays the interface of the certain application (namely, the interface of the certain application is displayed with the interfaces of other applications in a floating mode).
For example, the first marking mode may be any one of the following modes: a dotted frame marking mode, a highlight marking mode, a color marking mode, a gray marking mode, a preset transparency marking mode, a flashing marking mode and the like.
Optionally, the first input is used to set a priority of the first application.
Further, in this embodiment of the application, the first input may specifically be a drag input of the first identifier by the user.
Step 102, the parameter setting device responds to the first input, determines setting parameters of a first setting item of the first application according to a first input parameter of the first input in the first direction, and determines setting parameters of a second setting item of the first application according to a second input parameter of the first input in the second direction.
Further, in this embodiment of the present application, the first input parameter may include at least one of: velocity information in a first direction, trajectory information in the first direction, and position information in the first direction; the second input parameter may include at least one of: velocity information in a second direction, trajectory information in the second direction, and position information in the second direction.
Further, in the embodiment of the present application, the first direction and the second direction may be perpendicular to each other.
Further, in this embodiment of the application, the parameter setting device may determine, according to a first input parameter, a setting parameter corresponding to the first input parameter, so as to determine the setting parameter as a setting parameter of a first setting item; and according to the second input parameter, determining a setting parameter corresponding to the second input parameter so as to determine the setting parameter as the setting parameter of the second setting item.
For example, a plurality of corresponding relations are prestored in the parameter setting device, and one corresponding relation is a corresponding relation between one input parameter and one setting parameter. The parameter setting means may determine, from among a plurality of input parameters in the plurality of correspondences, an input parameter that matches the first input parameter (or the second input parameter) in accordance with the first input parameter (or the second input parameter) to determine the correspondence corresponding to the input parameter, so that the parameter setting means may determine the setting parameter in the correspondence as the setting parameter of the first setting item (or the setting parameter of the second setting item).
Step 103, the parameter setting device sets the setting parameter of the first setting item as the first playing parameter, and sets the setting parameter of the second setting item as the second playing parameter.
Optionally, in this embodiment of the application, the first playing parameter is a priority parameter, and the second playing parameter is an audio parameter.
In this embodiment, the priority parameter is used to indicate a priority level of the audio of the application played by the parameter setting device.
Further optionally, in this embodiment of the application, the audio parameter may include at least one of the following: playback speed and playback volume.
Further optionally, in this embodiment of the application, after the parameter setting device sets the setting parameter of the first setting item as the first playing parameter and sets the setting parameter of the second setting item as the second playing parameter, the parameter setting device may play any audio according to the second playing parameter according to an input of a user to the any audio of the first application under the condition that the parameter setting device does not play the any audio; or, in a case that the parameter setting device plays the audio of another application (i.e., any application in the parameter setting device other than the first application) in the background, the parameter setting device may prohibit playing the audio of the other application according to the input of the user to any audio of the first application, in a case that the first playing parameter (i.e., the priority of the first application) is greater than the priority of the other application, and play the audio of the first application according to the second playing parameter.
In this embodiment of the application, if a user needs to set setting parameters of an application in a parameter setting device, the user may slide up on a display screen of the parameter setting device to input the setting parameters, so that the parameter setting device may display a "system shortcut center" window on an interface currently displayed by the parameter setting device, and then the user may input a "volume adjustment" icon in the "system shortcut center" window, so that the parameter setting device may display a first interface (a "volume adjustment panel" interface), so that the user may input an identifier of a first application (i.e., an application for which the user needs to set a priority level) in the "volume adjustment panel" interface, so that the parameter setting device may determine two setting parameters in the first application according to input parameters input by the user in different directions.
In the parameter setting method provided in the embodiment of the application, when the parameter setting device displays the first interface and the first interface includes the first identifier of the first application, the parameter setting device may determine the setting parameter of the first setting item of the first application according to the first input parameter of the first input of the user in the first direction, and determine the setting parameter of the second setting item of the first application according to the second input parameter of the first input in the second direction, so that the parameter setting device may set the setting parameter of the first setting item as the first playing parameter and set the setting parameter of the second setting item as the second playing parameter. The parameter setting device can determine two setting parameters of two setting items of the first application according to two input parameters input by a user, and set the two setting parameters as two playing parameters of the first application, namely, the user can input the two setting parameters at one time, so that the parameter setting device can set a plurality of playing parameters of the first application at the same time, and the parameter setting efficiency of the parameter setting device can be improved.
Optionally, in this embodiment of the application, after the parameter setting device sets the setting parameter of the first setting item as the first playing parameter and sets the setting parameter of the second setting item as the second playing parameter, if the user needs to set the playing parameter of another application (for example, the second application), the user may trigger the parameter setting device to perform steps 101 to 103 again, so that the parameter setting device may set the setting parameter of the third setting item of the second application as the third playing parameter and set the setting parameter of the fourth setting item of the second application as the fourth playing parameter, where the third playing parameter is the priority parameter and the fourth playing parameter is the audio parameter.
Optionally, in this embodiment of the application, after the parameter setting device sets the setting parameter of the third setting item of the second application as the third playing parameter, and sets the setting parameter of the fourth setting item of the second application as the fourth playing parameter, if the first playing parameter is the same as the third playing parameter, the parameter setting device may adjust the first playing parameter (or the third playing parameter) to be the next playing parameter of the third playing parameter (or the first playing parameter).
It should be noted that the above "next playing parameter of the third playing parameter" can be understood as: and the playing parameter is adjacent to the third playing parameter and is smaller than the third playing parameter.
It is understood that the priority parameter of the first application (or the second application) is different from the priority parameters of the other applications, so that it is possible to avoid a situation in which the audio of the first application (or the second application) played by the parameter setting means conflicts with the audio of the other applications.
Optionally, in this embodiment of the application, the first interface includes a first area and a second area, the first area includes a first identifier, and the first input includes: and the user drags the first identification to the drag input of the second area.
It is to be understood that the first input may specifically be a drag input that a user drags the first identifier from the first area to the second area.
Further, in this embodiment of the application, the first area is used to display the identifiers of a plurality of second applications, and the second area is used to set the priorities of the applications.
Illustratively, in conjunction with (B) in fig. 2, as shown in fig. 3, the mobile phone displays an interface 13, where the interface 13 includes a first area (e.g., an area 15) and a second area (e.g., an area 16), the area 16 includes an identifier 14, the area 15 is used for displaying identifiers of a plurality of second applications, and the area 16 is used for setting priorities of the applications.
Optionally, in this embodiment of the application, the first input parameter includes: first location information of the first mark in a first direction in the second area; the second input parameter includes: the first mark is second position information in a second direction in the second area.
Further, in this embodiment of the application, the first direction may be a y-axis direction in a preset coordinate system, the second direction may be an x-axis direction in the preset coordinate system, the first position information may be coordinate information of the first mark in the y-axis direction, and the second position information may be coordinate information of the first mark in the x-axis direction.
For example, the preset coordinate system may be: and a plane rectangular coordinate system is established by taking one vertex of a display screen of the parameter setting device (namely the intersection point of two edge lines of the display screen) as the coordinate origin and taking the two edge lines corresponding to the vertex as an x axis and a y axis respectively.
For example, referring to fig. 3, as shown in fig. 4, the mobile phone may establish a rectangular plane coordinate system with a vertex (e.g., vertex 17) of the display screen of the mobile phone as the origin of coordinates, and two edge lines (e.g., edge line 18 and edge line 19) corresponding to the vertex 17 as the x-axis and the y-axis respectively (i.e., the edge line 18 is the x-axis and the edge line 19 is the y-axis), where the first location information may be location information of the identifier 14 in a first direction (e.g., direction 20), and the second location information may be location information of the identifier 14 in a second direction (e.g., direction 21).
In the embodiment of the application, the parameter setting device can determine the plurality of playing parameters of the first application according to the plurality of position information of the identifier of the first application in different directions, that is, a user can set the plurality of playing parameters of the first application through one-time input, so that the efficiency of setting the parameters by the parameter setting device can be improved.
Optionally, in this embodiment of the application, with reference to fig. 1, as shown in fig. 5, after step 103, the parameter setting method provided in this embodiment of the application may further include steps 201 to 203 described below.
Step 201, under the condition that the first audio of the first application is played in the background, the parameter setting device displays the second interface of the second application.
In this embodiment of the application, when a user uses the parameter setting device, the user may trigger the parameter setting device to run the first application in the foreground, and input (for example, click to input) an identifier (for example, an icon) of the first audio in an interface of the first application, so that the parameter setting device may play the first audio of the first application, and then the user may input the parameter setting device, so that the parameter setting device runs the first application in the background, so that the first audio of the first application is played in the background of the parameter setting device.
Further, in this embodiment of the application, the first application and the second application may both be application programs with an audio playing function.
It will be appreciated that the second application is an application program that may conflict with the first application in audio playback.
Illustratively, the first application may be any one of: music type application programs, webpage type application programs and social type application programs; the second application may be any one of: live applications, game applications, web applications, and video applications.
Further, in this embodiment of the application, in a case that the parameter setting device plays the first audio of the first application in the background, the parameter setting device may display a desktop, so that a user may input an identifier (for example, an icon) of the second application in the desktop, and the parameter setting device may display a second interface of the second application.
In this embodiment of the application, the second interface includes a video identifier of the target video.
Further, in this embodiment of the application, the video identifier of the target video may specifically be: icon, name, or link of the target video, etc.
Further, in this embodiment of the application, in a case that the parameter setting device displays the second interface, the user may perform an input (e.g., a slide-up input) in the second interface, so that the parameter setting device may display the video identifier of the target video in the second interface.
Step 202, the parameter setting device receives a second input of the video identifier from the user.
In this embodiment of the application, the second input is used to trigger the parameter setting device to play the target video.
Further, in this embodiment of the application, the second input may specifically be a click input of the user to the video identifier.
Step 203, the parameter setting device responds to the second input, and plays the video picture of the target video and prohibits playing the second audio corresponding to the target video under the condition that the priority parameter of the first application is greater than the priority parameter of the second application.
It can be understood that, since the parameter setting device may play one audio at the same time, after the user makes a second input to the video identifier, a situation may occur where the audio (i.e., the first audio) being played by the parameter setting device conflicts with the audio (i.e., the second audio) corresponding to the target video, and therefore, the parameter setting device may determine the application (i.e., the first application or the second application) using the audio focus according to the priority parameter (i.e., the first playing parameter) of the application corresponding to the first audio and the priority parameter (i.e., the third playing parameter) of the application corresponding to the second audio, so as to play the audio (i.e., the first audio or the second audio) corresponding to the application using the audio focus.
In this embodiment of the application, the priority parameter of the first application is used to instruct the parameter setting device to play the priority level of the audio of the first application; the priority parameter of the second application is used for indicating the priority level of the parameter setting device for playing the audio of the second application.
It should be noted that, the "prohibiting playing the second audio corresponding to the target video" may be understood as: the parameter setting means does not set the second application as an application using the audio focus, i.e., the parameter setting means plays only the video picture and does not play the second audio.
It is understood that, after receiving the second input of the video identifier from the user, the parameter setting device may play the first audio according to the second playing parameter, and play the video frame of the target video.
Further, in this embodiment of the application, in response to the second input, the parameter setting device may respectively detect the first application and the second application to obtain a first playing parameter of the first application and a third playing parameter of the second application, so that the parameter setting device may determine whether the priority parameter of the first application is greater than the priority parameter of the second application.
Further, in this embodiment of the application, in a case that the priority parameter of the first application is greater than the priority parameter of the second application, the parameter setting device may determine the first application as an application using an audio focus, so that the parameter setting device may play a video picture of the target video and prohibit playing a second audio corresponding to the target video.
In this embodiment of the application, if the priority parameter of the first application is greater than the priority parameter of the second application, it may be considered that the user may need to continue listening to the audio of the first application, and therefore the parameter setting device may play the video frame of the target video and prohibit playing the second audio corresponding to the target video.
In the embodiment of the application, when the user uses the parameter setting device, the user can trigger the parameter setting device to play music in the music application program in the background and display the interface of the webpage application program, so that the user can watch the content in the interface of the webpage application program while listening to the music. If the user needs to watch the video in the interface, the user can input the video icon of the video, so that the parameter setting device can continue to play the music and play the video picture of the video without playing the audio of the video under the condition that the priority of the music application program is greater than that of the webpage application program.
In the embodiment of the application, when the first audio being played by the parameter setting device conflicts with the second audio corresponding to the target video, the parameter setting device can determine the audio that the user may need to listen to according to the priority parameter of the first application and the priority parameter of the second application, and play the video picture of the target video and play the audio that the user may need to listen to, but not directly play the video picture of the target video and the second audio corresponding to the target video, so that the experience of the user listening to the audio can be improved, and thus the flexibility of the parameter setting device in playing the audio can be improved.
Optionally, in this embodiment of the application, with reference to fig. 5, as shown in fig. 6, after the step 202, the audio playing method provided in this embodiment of the application may further include the following step 204.
And step 204, the parameter setting device responds to the second input, and under the condition that the priority parameter of the first application is smaller than the priority parameter of the second application, the playing of the first audio is interrupted, the video picture of the target video is played, and the second audio is played according to the audio parameter of the second application.
It is understood that step 203 described above may be replaced with step 204.
Further, in this embodiment of the application, when the priority parameter of the first application is smaller than the priority parameter of the second application, the parameter setting device may display a prompt message, where the prompt message is used to prompt the user whether to interrupt playing the first audio, so that the user may input a "confirm" option in the prompt message, so that the parameter setting device may interrupt playing the first audio, play a video frame of the target video, and play the second audio according to the audio parameter of the second application.
In this embodiment of the application, if the priority parameter of the first application is smaller than the priority parameter of the second application, it may be considered that the user may not need to listen to the audio of the first application, and therefore the parameter setting device may play the video frame of the target video and play the second audio corresponding to the target video according to the audio parameter (i.e., the fourth play parameter) of the second application.
In the embodiment of the application, the parameter setting device can determine the audio frequency which needs to be listened to by the user according to the priority parameters of the first application and the second application, namely, the parameter setting device can accurately play the audio frequency which needs to be listened to by the user, so that the experience of the user for listening to the audio frequency can be improved, and the accuracy of the parameter setting device for playing the audio frequency which needs to be listened by the user can be improved.
Fig. 7 shows a schematic diagram of a possible structure of the parameter setting device involved in the embodiment of the present application. As shown in fig. 7, the parameter setting device 60 may include: a receiving module 61, a determining module 62 and a setting module 63.
The receiving module 61 is configured to receive a first input of a first identifier from a user when the first interface is displayed and the first interface includes the first identifier of the first application. A determining module 62, configured to, in response to the first input received by the receiving module 61, determine the setting parameters of the first setting item of the first application according to the first input parameters of the first input in the first direction, and determine the setting parameters of the second setting item of the first application according to the second input parameters of the first input in the second direction. A setting module 63, configured to set the setting parameter of the first setting item determined by the determining module 62 as the first parameter, and set the setting parameter of the second setting item determined by the determining module 62 as the second parameter.
In one possible implementation manner, the first interface includes a first area and a second area, the first area includes a first identifier, and the first input includes: and the user drags the first identification to the drag input of the second area. The first input parameter includes: the first identification identifies first location information in a first direction in the second area. The second input parameter includes: second position information of the first marker in a second direction in the second area.
In a possible implementation manner, the first parameter is a priority parameter, and the second parameter is a playing parameter.
In a possible implementation manner, the parameter setting apparatus 60 provided in this embodiment of the present application may further include: the device comprises a display module and a playing module. The display module is used for displaying a second interface of a second application under the condition that the first audio of the first application is played in the background, wherein the second interface comprises the video identifier of the target video. The receiving module 61 is further configured to receive a second input of the video identifier from the user. And a playing module, configured to, in response to the second input received by the receiving module 61, play the video frame of the target video and prohibit playing the second audio corresponding to the target video when the priority parameter of the first application is greater than the priority parameter of the second application.
In a possible implementation manner, the playing module is further configured to, in response to the second input, interrupt playing of the first audio, play the video frame of the target video, and play the second audio according to the playing parameter of the second application when the priority parameter of the first application is smaller than the priority parameter of the second application.
According to the parameter setting device provided by the embodiment of the application, two setting parameters of two setting items of the first application can be determined by the parameter setting device according to two input parameters of the first input of the user, and the two setting parameters are set to be two playing parameters of the first application, namely, the user can input the two setting parameters once, so that the parameter setting device can simultaneously set a plurality of playing parameters of the first application, and the parameter setting efficiency of the parameter setting device can be improved.
The parameter setting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The parameter setting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The parameter setting device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 6, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 70 is further provided in this embodiment of the present application, and includes a processor 72, a memory 71, and a program or an instruction stored in the memory 71 and executable on the processor 72, where the program or the instruction is executed by the processor 72 to implement each process of the foregoing audio playing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 107 is configured to receive a first input of a first identifier by a user when the first interface is displayed and the first interface includes the first identifier of the first application.
A processor 110, configured to determine, in response to a first input, a setting parameter of a first setting item of the first application according to a first input parameter of the first input in a first direction, and determine a setting parameter of a second setting item of the first application according to a second input parameter of the first input in a second direction; and setting the setting parameter of the first setting item as a first playing parameter, and setting the setting parameter of the second setting item as a second playing parameter.
According to the electronic device provided by the embodiment of the application, because the electronic device can determine two setting parameters of two setting items of the first application according to two input parameters of the first input of the user, and set the two setting parameters as two playing parameters of the first application, that is, the user can input the two setting parameters once, the electronic device can set a plurality of playing parameters of the first application at the same time, and therefore the efficiency of setting the parameters of the electronic device can be improved.
Optionally, in this embodiment of the application, the display unit 106 is configured to display a second interface of a second application under the condition that the first audio of the first application is played in the background, where the second interface includes a video identifier of the target video.
The user input unit 107 is further configured to receive a second input of the video identifier from the user.
And the audio output unit 103 is used for responding to the second input, playing the video picture of the target video and forbidding playing the second audio corresponding to the target video under the condition that the priority parameter of the first application is larger than the priority parameter of the second application.
In the embodiment of the application, when the first audio being played by the parameter setting device conflicts with the second audio corresponding to the target video, the parameter setting device can determine the audio that the user may need to listen to according to the priority parameter of the first application and the priority parameter of the second application, and play the video picture of the target video and play the audio that the user may need to listen to, but not directly play the video picture of the target video and the second audio corresponding to the target video, so that the experience of the user listening to the audio can be improved, and thus the flexibility of the parameter setting device in playing the audio can be improved.
Optionally, in this embodiment of the application, the audio output unit 103 is further configured to, in response to the second input, interrupt playing of the first audio, play the video frame of the target video, and play the second audio according to the audio parameter of the second application when the priority parameter of the first application is smaller than the priority parameter of the second application.
In the embodiment of the application, the parameter setting device can determine the audio frequency which needs to be listened to by the user according to the priority parameters of the first application and the second application, namely, the parameter setting device can accurately play the audio frequency which needs to be listened to by the user, so that the experience of the user for listening to the audio frequency can be improved, and the accuracy of the parameter setting device for playing the audio frequency which needs to be listened by the user can be improved.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. 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, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned audio playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned audio playing method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method of parameter setting, the method comprising:
receiving a first input of a user to a first identifier of a first application under the condition that the first interface is displayed and the first interface contains the first identifier, wherein the first interface comprises a first area and a second area, the first area is used for displaying identifiers of a plurality of applications including the first identifier, and the first input is a dragging input for dragging the first identifier from the first area to the second area;
in response to the first input, determining setting parameters of a first setting item of the first application according to first input parameters of the drag input in a first direction, and determining setting parameters of a second setting item of the first application according to second input parameters of the drag input in a second direction;
setting the setting parameter of the first setting item as a first playing parameter, and setting the setting parameter of the second setting item as a second playing parameter.
2. The method of claim 1,
the first input parameter comprises: first location information of the first identity in the first direction in the second area; the second input parameters include: second position information of the first marker in the second direction in the second area.
3. The method according to claim 1 or 2, wherein the first playback parameter is a priority parameter and the second playback parameter is an audio parameter.
4. The method according to claim 3, wherein after setting the setting parameter of the first setting item as a first playback parameter and setting the setting parameter of the second setting item as a second playback parameter, the method further comprises:
under the condition that a first audio of a first application is played in a background, a second interface of a second application is displayed, wherein the second interface comprises a video identifier of a target video;
receiving a second input of the video identification by the user;
and responding to the second input, and under the condition that the priority parameter of the first application is larger than that of the second application, playing the video picture of the target video and forbidding playing the second audio corresponding to the target video.
5. The method of claim 4, wherein after receiving a second input from the user identifying the video, the method further comprises:
and responding to the second input, and under the condition that the priority parameter of the first application is smaller than that of the second application, interrupting the playing of the first audio, playing the video picture of the target video, and playing the second audio according to the audio parameter of the second application.
6. A parameter setting apparatus, comprising: the device comprises a receiving module, a determining module and a setting module;
the receiving module is configured to receive a first input of a first identifier from a user when a first interface is displayed and the first interface includes the first identifier of a first application, where the first interface includes a first area and a second area, the first area is used to display identifiers of multiple applications including the first identifier, and the first input is a drag input that drags the first identifier from the first area to the second area;
the determining module is configured to determine, in response to the first input received by the receiving module, a setting parameter of a first setting item of the first application according to a first input parameter of the drag input in a first direction, and determine a setting parameter of a second setting item of the first application according to a second input parameter of the drag input in a second direction;
the setting module is configured to set the setting parameter of the first setting item determined by the determining module as a first parameter, and set the setting parameter of the second setting item determined by the determining module as a second parameter.
7. The parameter setting apparatus according to claim 6,
the first input parameter comprises: first location information of the first identity in the first direction in the second area; the second input parameters include: second position information of the first marker in the second direction in the second area.
8. The parameter setting apparatus according to claim 6 or 7, wherein the first parameter is a priority parameter, and the second parameter is a play parameter.
9. The parameter setting apparatus according to claim 8, further comprising: the display module and the playing module;
the display module is used for displaying a second interface of a second application under the condition that a first audio of a first application is played in a background, wherein the second interface comprises a video identifier of a target video;
the receiving module is further used for receiving a second input of the video identifier by the user;
the playing module is configured to, in response to the second input received by the receiving module, play the video frame of the target video and prohibit playing of a second audio corresponding to the target video when the priority parameter of the first application is greater than the priority parameter of the second application.
10. The apparatus according to claim 9, wherein the playing module is further configured to, in response to the second input, interrupt playing of the first audio, and play the video frame of the target video, and play the second audio according to the playing parameter of the second application, in a case that the priority parameter of the first application is smaller than the priority parameter of the second application.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the parameter setting method according to any one of claims 1 to 5.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the parameter setting method according to any one of claims 1 to 5.
CN202010739500.2A 2020-07-28 2020-07-28 Parameter setting method and device, electronic equipment and readable storage medium Active CN111935355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010739500.2A CN111935355B (en) 2020-07-28 2020-07-28 Parameter setting method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010739500.2A CN111935355B (en) 2020-07-28 2020-07-28 Parameter setting method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111935355A CN111935355A (en) 2020-11-13
CN111935355B true CN111935355B (en) 2021-09-07

Family

ID=73315836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010739500.2A Active CN111935355B (en) 2020-07-28 2020-07-28 Parameter setting method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111935355B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981719A (en) * 2011-08-19 2013-03-20 技嘉科技股份有限公司 Method and system for parameter configuration
CN104115483A (en) * 2012-02-24 2014-10-22 索尼公司 Parameter adjusting device, parameter adjusting method and storage medium
CN105919398A (en) * 2016-05-30 2016-09-07 广东美的厨房电器制造有限公司 Cooking equipment as well as interaction device and method thereof
CN109358931A (en) * 2018-09-28 2019-02-19 维沃移动通信有限公司 A kind of interface display method and terminal
CN109525707A (en) * 2018-10-15 2019-03-26 维沃移动通信有限公司 A kind of audio frequency playing method and mobile terminal
CN110007822A (en) * 2019-03-29 2019-07-12 维沃移动通信有限公司 A kind of interface display method and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109003633B (en) * 2018-07-27 2020-12-29 北京微播视界科技有限公司 Audio processing method and device and electronic equipment
CN110196664A (en) * 2019-04-19 2019-09-03 维沃移动通信有限公司 Control method and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981719A (en) * 2011-08-19 2013-03-20 技嘉科技股份有限公司 Method and system for parameter configuration
CN104115483A (en) * 2012-02-24 2014-10-22 索尼公司 Parameter adjusting device, parameter adjusting method and storage medium
CN105919398A (en) * 2016-05-30 2016-09-07 广东美的厨房电器制造有限公司 Cooking equipment as well as interaction device and method thereof
CN109358931A (en) * 2018-09-28 2019-02-19 维沃移动通信有限公司 A kind of interface display method and terminal
CN109525707A (en) * 2018-10-15 2019-03-26 维沃移动通信有限公司 A kind of audio frequency playing method and mobile terminal
CN110007822A (en) * 2019-03-29 2019-07-12 维沃移动通信有限公司 A kind of interface display method and terminal device

Also Published As

Publication number Publication date
CN111935355A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
WO2022121790A1 (en) Split-screen display method and apparatus, electronic device, and readable storage medium
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN112162665A (en) Operation method and device
CN113703624A (en) Screen splitting method and device and electronic equipment
CN111767012A (en) Screen projection method and device
CN111190677A (en) Information display method, information display device and terminal equipment
CN112148163A (en) Screen recording method and device and electronic equipment
CN112286612A (en) Information display method and device and electronic equipment
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN112148167A (en) Control setting method and device and electronic equipment
CN111865763A (en) Message display method and device, electronic equipment and storage medium
CN109358927B (en) Application program display method and device and terminal equipment
WO2024114571A1 (en) Information display method and apparatus, electronic device, and storage medium
CN111966268B (en) Interface display method and device and electronic equipment
CN112764862A (en) Application program control method and device and electronic equipment
CN112764611A (en) Application program control method and device and electronic equipment
CN112929734A (en) Screen projection method and device and electronic equipment
CN113268182A (en) Application icon management method and electronic equipment
CN112817555A (en) Volume control method and volume control device
CN112269513A (en) Interface display method and device and electronic equipment
CN112016080A (en) Application authority management method and device and electronic equipment
CN112286615A (en) Information display method and device of application program
CN112399010A (en) Page display method and device and electronic equipment
CN111638828A (en) Interface display method and device
CN111935355B (en) Parameter setting method and device, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant