CN114397989A - Parameter value setting method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN114397989A
CN114397989A CN202210005231.6A CN202210005231A CN114397989A CN 114397989 A CN114397989 A CN 114397989A CN 202210005231 A CN202210005231 A CN 202210005231A CN 114397989 A CN114397989 A CN 114397989A
Authority
CN
China
Prior art keywords
input
parameter value
attribute
identifier
user
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
CN202210005231.6A
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.)
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 CN202210005231.6A priority Critical patent/CN114397989A/en
Publication of CN114397989A publication Critical patent/CN114397989A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a parameter value setting method and device, electronic equipment and a storage medium, and belongs to the technical field of computers. The parameter value setting method comprises the following steps: receiving first input of a first identifier displayed by a target area by a user; the first input is sliding input performed by a user aiming at a first identifier, and the first identifier is associated with a first attribute of the electronic equipment; in response to the first input, displaying a parameter value of the first attribute, and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input; and determining the value displayed by the parameter value when the first input is terminated as the target parameter value corresponding to the first attribute.

Description

Parameter value setting method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of computers, and particularly relates to a parameter value setting method and device, electronic equipment and a storage medium.
Background
With the continuous development of computer technology, intelligent electronic devices are widely popularized. During the use of the intelligent electronic device, a user often needs to set various system parameter values, such as a flow threshold value, a power threshold value, and the like, to adjust the system operation state.
In the prior art, a method for setting a parameter value by a user mainly searches for an option corresponding to system information to be set from a plurality of options by entering a system setting page, and since most parameter value setting pages are hidden deeply, the user can reach a final parameter value setting page after selecting a plurality of layers of options. Therefore, the operation process of setting the system parameter value by the user is too complex, and the convenience and the operation efficiency of setting the system parameter value by the user are reduced.
Disclosure of Invention
The embodiment of the application aims to provide a parameter value setting method, a parameter value setting device, electronic equipment and a storage medium, and can solve the problems that in the prior art, the operation process of setting a system parameter value by a user is too complicated, and the convenience and the operation efficiency of setting the system parameter value by the user are reduced.
In a first aspect, an embodiment of the present application provides a parameter value setting method, including:
receiving first input of a first identifier displayed by a target area by a user; wherein the first input is a sliding input of a user for the first identifier, and the first identifier is associated with a first attribute of the electronic device;
in response to the first input, displaying a parameter value of the first attribute, and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input;
and determining the value displayed by the parameter value when the first input is terminated as the target parameter value of the first attribute.
In a second aspect, an embodiment of the present application provides a parameter value setting apparatus, including:
the input receiving module is used for receiving first input of a first identifier displayed by a user on the target area; wherein the first input is a sliding input of a user for the first identifier, and the first identifier is associated with a first attribute of the electronic device;
the display control module is used for responding to the first input, displaying the parameter value of the first attribute, and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input;
and the threshold setting module is used for setting the value displayed by the parameter value when the first input is terminated as the target parameter value of the first attribute.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, 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 a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, under the condition that a first input of a first identifier displayed in a target area by a user is received, a parameter value of a first attribute associated with the first identifier is displayed, the parameter value is further controlled to change along with the change of the sliding direction and the sliding distance corresponding to the first input, and when the first input is terminated, the value displayed by the parameter value is determined as the target parameter value corresponding to the first attribute. Therefore, in the embodiment of the application, the user can directly perform sliding operation on different identifications displayed in the target area in the display interface to set the parameter values of different system attributes without going deep into a specific parameter value setting page, so that the operation process of setting the system parameter values by the user can be simplified, the convenience and the efficiency of setting the parameter values by the user are improved, and the use experience of the user can be improved.
Drawings
FIG. 1 is one of the flow diagrams illustrating a parameter value setting method according to an exemplary embodiment;
FIG. 2 is one of the schematic diagrams illustrating a parameter value setting scenario in accordance with an exemplary embodiment;
FIG. 3 is a second flowchart illustrating a parameter value setting method according to an exemplary embodiment;
FIG. 4a is a third flowchart illustrating a parameter value setting method according to an exemplary embodiment;
FIG. 4b is a second schematic diagram illustrating a parameter value setting scenario in accordance with an illustrative embodiment;
FIG. 5a is a fourth flowchart illustrating a parameter value setting method according to an exemplary embodiment;
FIG. 5b is a third diagram illustrating a parameter value setting scenario in accordance with an illustrative embodiment;
FIG. 6a is a fifth flowchart illustrating a parameter value setting method according to an exemplary embodiment;
FIG. 6b is a fourth schematic diagram illustrating a parameter value setting scenario in accordance with an illustrative embodiment;
fig. 7 is a block diagram showing the configuration of a parameter value setting apparatus according to an exemplary embodiment;
FIG. 8 is a block diagram illustrating the structure of an electronic device in accordance with an exemplary embodiment;
fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly 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 that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
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 a parameter value setting method, an apparatus, an electronic device, and a storage medium provided in the embodiments of the present application with reference to the accompanying drawings and application scenarios thereof.
The parameter value setting method provided by the application can be applied to a scene of setting the system parameter value of the electronic equipment. The electronic device includes, but is not limited to, a mobile phone, a computer, a tablet computer, and other smart devices capable of adjusting system parameter values.
At present, when a user sets a parameter value of an attribute in a system, the user needs to go deep into a specific parameter value setting page in the system setting to set the parameter value of the attribute. Taking the setting of the mobile data traffic threshold as an example, the existing setting steps are as follows: selecting a mobile network in the setting button; clicking flow management and opening a flow management page; selecting a setting icon in a flow management page; selecting a traffic usage allowance in the setting of the traffic management page; a flow threshold is set. Therefore, the operation process of the user is too complicated, and the convenience and the operation efficiency of setting the system threshold value by the user are reduced.
In view of the above problems, an embodiment of the present application provides a parameter value setting method, that is, a first input of a first identifier displayed in a target area by a user is received; the first input is sliding input performed by a user aiming at a first identifier, and the first identifier is associated with a first attribute of the electronic equipment; in response to the first input, displaying a parameter value of the first attribute, and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input; and determining the value displayed by the parameter value when the first input is terminated as the target parameter value of the first attribute.
Therefore, in the embodiment of the application, the user can directly perform sliding operation on different identifications displayed in the target area in the display interface to set the parameter values of different system attributes without going deep into a specific parameter value setting page, so that the operation process of setting the system parameter values by the user can be simplified, the convenience and the efficiency of setting the parameter values by the user are improved, and the use experience of the user can be improved.
In addition, according to the parameter value setting method provided by the embodiment of the application, the execution main body can be a parameter value setting device. In the embodiment of the present application, a parameter value setting device is taken as an example to execute a parameter value setting method, and the parameter value setting method provided in the embodiment of the present application is described.
FIG. 1 is a flow chart illustrating a parameter value setting method according to an example embodiment.
As shown in fig. 1, the parameter value setting method may include the steps of:
s110, receiving first input of a first identifier displayed by a user on a target area; the first input is sliding input performed by a user for a first identifier, and the first identifier is associated with a first attribute of the electronic device.
Here, the target area may be a certain area in a display interface of the electronic device, and the display interface may be any interface currently displayed by the electronic device, such as a system desktop, an application program interface, and the like. The target area may be, for example, an area for displaying a system state in a display interface, such as a top area of a display interface of a mobile phone, where a mobile signal identifier, a time identifier, an equipment power identifier, and the like may be displayed, each identifier is respectively associated with one attribute of the electronic equipment, and different identifiers may be associated with the same attribute or different attributes, which is not limited herein. For example, the movement signal identification may be associated with movement data traffic of the system, the time identification may be associated with timing of the system, and the device power identification may be associated with a remaining power of the system. The first indicator may be any indicator displayed in the system status bar.
The first input may be a single input, or may be a combined input including a plurality of sub-inputs, which is not limited herein. The sliding input for the first identifier may be, for example, a sliding input for dragging the first identifier, or a sliding input performed in an area corresponding to the first identifier.
In a specific example, as shown in fig. 2, a movement signal identifier 21, a time identifier 22, and an apparatus power identifier 23 are displayed in the system status bar 20, and when a user needs to set a movement data traffic threshold, the movement signal identifier 21 may be dragged to move, so that the movement data traffic threshold may be set.
In an optional implementation manner, the S110 may specifically include:
receiving second input of the first identification displayed by the target area by the user;
in response to a second input, entering a parameter value setting mode corresponding to the first attribute;
in the parameter value setting mode, a first input of a first identifier by a user is received.
Here, the second input may be an input of the user selecting the first identifier, such as a single click, a double click on the first identifier, or the like.
In a specific example, as shown in fig. 2, a user may first click a moving signal identifier 21 displayed in a system status bar 20, select the moving signal identifier 21, enter a traffic threshold setting mode, and further, in the traffic threshold setting mode, by long-pressing and dragging the moving signal identifier 21, a mobile data traffic threshold may be set, so as to limit the use of the mobile data traffic of the device.
Therefore, the sliding input is carried out based on the first identification after the first identification is selected, the probability that other identifications are triggered by mistake can be reduced, and the operation accuracy of a user is improved.
And S120, responding to the first input, displaying the parameter value of the first attribute, and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input.
In the embodiment of the application, the parameter value of the first attribute can be dynamically displayed in the process of the first input by the user, so that the user can refer to the selection. The change direction of the parameter value is related to the sliding direction of the first input, and the change degree of the parameter value is related to the sliding distance of the first input. Here, the sliding direction of the first input includes, but is not limited to, an upward or downward direction, a leftward or rightward direction, a clockwise or counterclockwise direction, and the like, and is not limited herein.
Illustratively, in a case where the sliding direction of the first input is upward or downward, for example, when the user drags the first identifier to slide upward, the controllable displayed parameter value gradually increases within a preset range, and the farther the distance of the upward sliding is, the larger the parameter value is; when the user drags the first identifier to slide downwards, the controllable displayed parameter value is gradually reduced in the preset range, and the longer the distance of the downward sliding is, the smaller the parameter value is. The dynamic control manner of other sliding directions is similar, and will not be described in detail herein. In this way, through the first input of the user, a dynamic display process of the parameter value of the first attribute can be realized.
S130, determining the numerical value displayed by the parameter value when the first input is terminated as the target parameter value of the first attribute.
Here, when the first input is terminated, for example, when the user stops the slide input and releases the first mark, the value displayed at this time as the parameter value may be selected as the target parameter value, and the target parameter value may be determined as the parameter value set by the end user of the first attribute.
The target parameter value of the first attribute may be a minimum threshold value or a maximum threshold value of the attribute value, and is not limited herein. In particular, it may be determined according to the first attribute, for example, for mobile data traffic and device power, a minimum threshold may be set, and for system time, a maximum time threshold from the current time point may be set.
In a specific example, if the user stops dragging and releases the movement signal identifier after dragging the movement signal identifier, and the displayed parameter value is 50, the minimum threshold of the movement data traffic may be set to be 50M.
Based on this, in an optional implementation manner, after S130 described above, the method for setting the parameter value provided in the embodiment of the present application may further include:
acquiring an attribute value of a first attribute;
and switching the working state of the electronic equipment under the condition that the attribute value reaches the target parameter value.
Here, after the target parameter value is set, the attribute value of the first attribute may be acquired and monitored in real time, and in a case where the attribute value reaches the set target parameter value, the operating state of the system is switched in time.
For example, a used flow value of the mobile data flow may be obtained in real time, and in a case that the used flow value is less than or equal to the data flow threshold, the usage mode of the system for the data flow may be closed, or the usage speed of the system for the data flow may be reduced.
For another example, the current system time may be obtained in real time, and when the system time interval is greater than or equal to the time threshold when the system time and the time threshold are set, a voice prompt may be issued, or a prompt graphic and text message may be displayed to prompt the user to reach a predetermined time.
For another example, the device power value can be obtained in real time, and when the device power value is less than or equal to the power threshold, a low power prompt is performed, and the power saving mode is entered.
Therefore, the target parameter values are set by the user, certain attribute indexes of the system are automatically monitored, and the system state is further adjusted in time, so that the equipment can be ensured to operate according to the personalized setting mode of the user.
In this way, by displaying the parameter value of the first attribute associated with the first identifier in the case of receiving the first input of the first identifier displayed in the target area by the user, and further controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input, when the first input is terminated, the value displayed by the parameter value is determined as the target parameter value of the first attribute. Therefore, in the embodiment of the application, the user can directly perform sliding operation on different identifications displayed in the target area in the display interface to set the parameter values of different system attributes without going deep into a specific parameter value setting page, so that the operation process of setting the system parameter values by the user can be simplified, the convenience and the efficiency of setting the parameter values by the user are improved, and the use experience of the user can be improved.
Based on this, in one possible embodiment, as shown in fig. 3, the S120 may specifically include: S1201-S1202, as follows:
s1201, acquiring a value range corresponding to the first attribute;
and S1202, in the value range, displaying the parameter value of the first attribute, and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input.
Here, before dynamically displaying the parameter value of the first attribute, a value range corresponding to the first attribute may be determined, and then the displayed parameter value may be dynamically changed according to the first input within the value range.
In a specific example, when the first attribute is the mobile data traffic, the traffic package set by the user may be obtained according to the user setting, or the obtained traffic package may be requested from the corresponding service provider, and then the corresponding value range is determined according to the traffic package. And under the condition that the first attribute is the electric quantity of the equipment, taking 0-100% of the default as a corresponding value range. Other similarities will not be described herein.
Therefore, by acquiring the value range corresponding to the first attribute, the dynamic change of the parameter value can be limited within a reasonable range, and the controllability of dynamic display of the parameter value is ensured.
In addition, an alternative embodiment is that the first input includes a first sub-input for setting the first identifier to a movable state and a second sub-input for dragging the first identifier.
Based on this, the displaying the parameter value of the first attribute in S120 and S1202, and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input may specifically include:
responding to the first sub-input, and displaying a parameter value of the first attribute in a preset area of the display interface;
in case the first identifier is dragged into the preset area according to the second sub-input, the control parameter value changes following the change of the sliding direction and sliding distance of the second sub-input within the preset area.
Here, the first sub-input may be, for example, an input of long-pressing the first flag, and the first flag may be set to a floating state, that is, a movable state, by the first sub-input. In addition, the second sub input may be, for example, a slide input dragging the first identifier.
For example, if the first input is a combined input, a parameter value of the first attribute may be displayed in a preset area based on the current display interface when the user triggers that the first identifier is in the movable state, where the parameter value may be a random value within a preset value range or a threshold of the current first attribute, which is not limited herein. And when the user drags the first identifier to the preset area, triggering the displayed parameter value to dynamically change.
Therefore, the parameter value is dragged into the preset area and then dynamically displayed according to the input direction and the distance, so that the condition that the parameter value is set by mistake due to the fact that the mark is dragged by mistake can be prevented, and the probability of operation mistake triggering is reduced.
Optionally, the sliding direction of the second sub-input in the preset area may include a clockwise rotation direction and a counterclockwise rotation direction.
For example, after dragging the first identifier to the preset area, the user may continue to drag the first identifier to rotate in a clockwise or counterclockwise direction, and then increase or decrease the value displayed by the parameter value according to the rotation direction and the rotation degree.
Therefore, by clockwise rotation or anticlockwise rotation, the control parameter value is dynamically changed, the interestingness of interface interaction can be enhanced, and the interaction experience of a user is improved.
On the basis of the foregoing embodiments, the following provides a few specific examples to further describe the parameter value setting method provided in the embodiments of the present application.
In some examples, as shown in fig. 4a, the parameter value setting method may specifically include the following steps:
s410, the user selects one icon in the status bar and enters a threshold setting mode.
Specifically, as shown in fig. 4b, the user may select the move data signal icon 41 displayed in the status bar at the top of the interface and enter the threshold setting mode.
And S420, long-pressing the icon in the threshold setting mode, and dragging and sliding left and right.
For example, in fig. 4b, after the user has long pressed the moving data signal icon 41 to make it movable, the user may drag the moving data signal icon 41 by sliding left and right.
And S430, the system sets the maximum value and the minimum value according to the system information, slides along with the user, and displays a specific numerical value in the center of the screen.
Here, the system information may be information such as a traffic package and a power range.
For example, as shown in fig. 4b, if the user slides and moves the data signal icon 41 to the left, the numerical value, i.e. the parameter value, displayed in the screen center position 42 may gradually decrease; if the user slides the data signal icon 41 to the right, the value displayed in the screen center position 42, i.e., the parameter value, may gradually increase.
S404, when the user slides to a certain value, the icon is released, and the system automatically sets the threshold value of the corresponding numerical value.
Illustratively, as shown in FIG. 4b, when the user slides to display value 64 and releases the move data signal icon 41, the flow threshold in the system may be set to 64M. And when the residual flow value is less than 64M, automatically reducing the network speed or directly closing the mobile data network. In addition, when the user releases the mobile data signal icon 41, the data signal icon 41 may automatically return to the status bar at the top of the interface for display.
Therefore, the user can set the corresponding system threshold value in a mode of sliding the icon left and right, and convenience of setting the system threshold value by the user can be improved.
In other examples, as shown in fig. 5a, the parameter value setting method may specifically include the following steps:
s501, the user selects one icon in the status bar and enters a threshold setting mode.
And S502, long-pressing the icon in the threshold setting mode, and dragging and sliding up and down.
And S503, the system sets the maximum and minimum values according to the system information, slides along with the user, and displays specific numerical values in the center of the screen.
S504, when the user slides to a certain value, the icon is released, and the system automatically sets the threshold value of the corresponding numerical value.
The difference from the previous example is that the user can also control the numerical value displayed in the screen center position 52 to increase or decrease by dragging the move data signal icon 51 to slide up and down, as shown in fig. 5 b. When the user slides to display value 64 and releases the move data signal icon 51, the flow threshold in the system may be set to 64M. For other parts, the explanation can be found in the aforementioned examples, and the explanation is not repeated here.
Therefore, the user can set the corresponding system threshold value in a mode of sliding the icon up and down, and convenience of setting the system threshold value by the user can be improved.
In still other examples, as shown in fig. 6a, the parameter value setting method may specifically include the following steps:
s601, the user selects one icon in the status bar and enters a threshold setting mode.
S602, pressing the icon for a long time in the threshold setting mode, enabling a threshold disc to appear in the center, and enabling a user to place the icon in the disc and rotate and slide.
And S603, the system sets the maximum and minimum values according to the system information, slides along with the user, and displays specific numerical values in the center of the screen.
S604, when the user slides to a certain value, the icon is released, and the system automatically sets the threshold value of the corresponding numerical value.
The difference from the previous two examples is that the user can also increase or decrease the value displayed in the puck 62 by an operation of moving the data signal icon 61 based on the rotation of the puck 62 by dragging the data signal icon 61 into the puck 62 in the center of the screen, as shown in fig. 6 b. When the user slides to display value 64 and releases the move data signal icon 61, the flow threshold in the system may be set to 64M. For other parts, the explanation can be found in the aforementioned examples, and the explanation is not repeated here.
Therefore, the user can set the corresponding system threshold value in a mode of rotating the sliding icon in the preset area, and convenience of setting the system threshold value by the user can be improved.
In summary, based on the same inventive concept, the present application further provides a parameter value setting apparatus. The following describes in detail the parameter value setting device provided in the embodiment of the present application with reference to fig. 7.
Fig. 7 is a block diagram illustrating a configuration of a parameter value setting apparatus according to an exemplary embodiment.
As shown in fig. 7, the parameter value setting means 700 may include:
an input receiving module 710, configured to receive a first input of a first identifier displayed on the target area by a user; wherein the first input is a sliding input of a user for the first identifier, and the first identifier is associated with a first attribute of the electronic device;
a display control module 720, configured to display, in response to the first input, a parameter value of the first attribute, and control the parameter value to change along with a change in a sliding direction and a sliding distance corresponding to the first input;
the parameter setting module 730 is configured to determine a numerical value displayed by the parameter value when the first input is terminated, as a target parameter value corresponding to the first attribute.
The parameter value setting device 700 is described in detail below, and specifically as follows:
in one embodiment, the display control module 720 may specifically include:
the range acquisition submodule is used for acquiring a value range corresponding to the first attribute;
and the display control submodule is used for displaying the parameter value of the first attribute in the value range and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input.
In one embodiment, the first input includes a first sub-input for setting the first identifier to a movable state and a second sub-input for dragging the first identifier;
the display control module 720 or the display control sub-module may specifically include:
the parameter display unit is used for responding to the first sub-input and displaying the parameter value of the first attribute in a preset area of a display interface;
and the parameter control unit is used for controlling the parameter value to change along with the change of the sliding direction and the sliding distance of the second sub-input in the preset area under the condition that the first identifier is dragged into the preset area according to the second sub-input.
In one embodiment, the sliding direction of the second sub-input in the preset area includes a clockwise rotation direction and a counterclockwise rotation direction.
In a possible embodiment, the input receiving module 710 may specifically include:
the first receiving submodule is used for receiving second input of the first identification displayed on the target area by a user;
a mode entering submodule for entering a parameter setting mode corresponding to the first attribute in response to the second input;
and the second receiving submodule is used for receiving first input of the first identifier by a user in the parameter setting mode.
In one embodiment, the parameter value setting apparatus 700 may further include:
an attribute value acquisition module, configured to acquire an attribute value of the first attribute after determining, as a target parameter value of the first attribute, a numerical value displayed by the parameter value when the first input is terminated;
and the state switching module is used for switching the working state of the electronic equipment under the condition that the attribute value reaches the target parameter value.
In this way, by displaying the parameter value of the first attribute associated with the first identifier when receiving the first input of the first identifier displayed in the target area by the user, and further controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input, when the first input is terminated, the value displayed by the parameter value is determined as the target parameter value corresponding to the first attribute. Therefore, in the embodiment of the application, the user can directly perform sliding operation on different identifications displayed in the target area in the display interface to set the parameter values of different system attributes without going deep into a specific parameter value setting page, so that the operation process of setting the system parameter values by the user can be simplified, the convenience and the efficiency of setting the parameter values by the user are improved, and the use experience of the user can be improved.
The parameter value setting device in the embodiment of the present application may be an electronic device, and may also be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The Mobile electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The parameter value setting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The parameter value setting device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 6b, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801 and a memory 802, where the memory 802 stores a program or an instruction that can be executed on the processor 801, and when the program or the instruction is executed by the processor 801, the steps of the above embodiment of the parameter value setting method are implemented, and the same technical effects can be achieved, and are not described again 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.
Drawing (A)9The hardware structure diagram of the electronic device is used for realizing the embodiment of the application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions 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 907 is configured to receive a first input of a first identifier displayed by the user on the target area; wherein the first input is a sliding input of a user for the first identifier, and the first identifier is associated with a first attribute of the electronic device;
a display unit 906 configured to display a parameter value of the first attribute in response to the first input, the parameter value being controlled to change following a change in a sliding direction and a sliding distance corresponding to the first input;
a processor 910, configured to determine a value displayed by the parameter value when the first input is terminated as a target parameter value of the first attribute.
In this way, by displaying the parameter value of the first attribute associated with the first identifier when receiving the first input of the first identifier displayed in the target area by the user, and further controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input, when the first input is terminated, the value displayed by the parameter value is determined as the target parameter value corresponding to the first attribute. Therefore, in the embodiment of the application, the user can directly perform sliding operation on different identifications displayed in the target area in the display interface to set the parameter values of different system attributes without going deep into a specific parameter value setting page, so that the operation process of setting the system parameter values by the user can be simplified, the convenience and the efficiency of setting the parameter values by the user are improved, and the use experience of the user can be improved.
Optionally, the processor 910 is further configured to obtain a value range corresponding to the first attribute;
the display unit 906 is further configured to display a parameter value of the first attribute in the value range, and control the parameter value to change along with a change of a sliding direction and a sliding distance corresponding to the first input.
Optionally, the display unit 906 is further configured to display, in response to the first sub-input, a parameter value of the first attribute in a preset area of a display interface;
the processor 910 is further configured to, in a case where the first identifier is dragged into the preset area according to the second sub-input, control the parameter value to change along with a change of a sliding direction and a sliding distance of the second sub-input in the preset area.
Optionally, the user input unit 907 is further configured to receive a second input of the first identifier displayed by the user on the target area;
a processor 910, further configured to enter a parameter setting mode corresponding to the first attribute in response to the second input;
the user input unit 907 is further configured to receive a first input of the first identifier from a user in the parameter setting mode.
Optionally, the processor 910 is further configured to obtain an attribute value of the first attribute; and switching the working state of the electronic equipment under the condition that the attribute value reaches the target parameter value.
Like this, the user sets up the parameter value of different system attributes through carrying out the sliding operation to the different sign that shows in the status bar, has avoided loaded down with trivial details click step to go deep into specific parameter value and has set up the page, and directly pulls the sliding setting, accords with user's operation custom more, can improve the convenience that the parameter value set up greatly.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics Processing Unit 9041 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 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes at least one of a touch panel 9071 and other input devices 9072. A touch panel 9071 also referred to as a touch screen. The touch panel 9071 may include two parts, a touch detection device and a touch controller. Other input devices 9072 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 909 may be used to store software programs as well as various data. The memory 909 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 909 may include volatile memory or nonvolatile memory, or the memory 909 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 909 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor, which mainly handles operations related to the operating system, user interface, and applications, and a modem processor, which mainly handles wireless communication signals, such as a baseband processor. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
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 parameter value setting 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 so on.
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 parameter value setting method embodiment, and can achieve the same technical effect, and is not described herein 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.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing parameter value setting method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
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 computer 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, 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 parameter value setting method, comprising:
receiving first input of a first identifier displayed by a target area by a user; wherein the first input is a sliding input of a user for the first identifier, and the first identifier is associated with a first attribute of the electronic device;
in response to the first input, displaying a parameter value of the first attribute, and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input;
and determining the value displayed by the parameter value when the first input is terminated as the target parameter value of the first attribute.
2. The method of claim 1, wherein the displaying the parameter value of the first attribute, and controlling the parameter value to change with a change in a sliding direction and a sliding distance corresponding to the first input comprises:
acquiring a value range corresponding to the first attribute;
and displaying the parameter value of the first attribute in the value range, and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input.
3. The method according to claim 1 or 2, wherein the first input comprises a first sub-input and a second sub-input, the first sub-input is used for setting the first identifier to a movable state, and the second sub-input is used for dragging the first identifier;
the displaying the parameter value of the first attribute, and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input, includes:
responding to the first sub-input, and displaying the parameter value of the first attribute in a preset area of a display interface;
and under the condition that the first identifier is dragged into the preset area according to the second sub-input, controlling the parameter value to change along with the change of the sliding direction and the sliding distance of the second sub-input in the preset area.
4. The method of claim 3, wherein the sliding direction of the second sub-input within the preset region comprises a clockwise rotation direction and a counterclockwise rotation direction.
5. The method of claim 1, wherein receiving a first input of a first indication of a target area display by a user comprises:
receiving second input of the first identification displayed by the target area by the user;
entering a parameter setting mode corresponding to the first attribute in response to the second input;
and receiving a first input of the first identifier by a user in the parameter setting mode.
6. A parameter value setting apparatus, comprising:
the input receiving module is used for receiving first input of a first identifier displayed by a user on the target area; wherein the first input is a sliding input of a user for the first identifier, and the first identifier is associated with a first attribute of the electronic device;
the display control module is used for responding to the first input, displaying the parameter value of the first attribute, and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input;
and the parameter setting module is used for determining the numerical value displayed by the parameter value when the first input is terminated as the target parameter value corresponding to the first attribute.
7. The apparatus of claim 6, wherein the display control module comprises:
the range acquisition submodule is used for acquiring a value range corresponding to the first attribute;
and the display control submodule is used for displaying the parameter value of the first attribute in the value range and controlling the parameter value to change along with the change of the sliding direction and the sliding distance corresponding to the first input.
8. The apparatus according to claim 6 or 7, wherein the first input comprises a first sub-input and a second sub-input, the first sub-input is used for setting the first identifier to a movable state, and the second sub-input is used for dragging the first identifier;
the display control module or the display control submodule includes:
the parameter display unit is used for responding to the first sub-input and displaying the parameter value of the first attribute in a preset area of a display interface;
and the parameter control unit is used for controlling the parameter value to change along with the change of the sliding direction and the sliding distance of the second sub-input in the preset area under the condition that the first identifier is dragged into the preset area according to the second sub-input.
9. The apparatus of claim 8, wherein the sliding direction of the second sub-input within the preset region comprises a clockwise rotation direction and a counterclockwise rotation direction.
10. The apparatus of claim 6, wherein the input receiving module comprises:
the first receiving submodule is used for receiving second input of the first identification displayed on the target area by a user;
a mode entering submodule for entering a parameter setting mode corresponding to the first attribute in response to the second input;
and the second receiving submodule is used for receiving first input of the first identifier by a user in the parameter setting mode.
11. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the parameter value setting method according to any one of claims 1-5.
12. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the parameter value setting method according to any one of claims 1 to 5.
CN202210005231.6A 2022-01-04 2022-01-04 Parameter value setting method and device, electronic equipment and storage medium Pending CN114397989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210005231.6A CN114397989A (en) 2022-01-04 2022-01-04 Parameter value setting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210005231.6A CN114397989A (en) 2022-01-04 2022-01-04 Parameter value setting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114397989A true CN114397989A (en) 2022-04-26

Family

ID=81228387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210005231.6A Pending CN114397989A (en) 2022-01-04 2022-01-04 Parameter value setting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114397989A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115587851A (en) * 2022-11-25 2023-01-10 广东采日能源科技有限公司 Time interval configuration method and device for step electricity price

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595074A (en) * 2018-04-28 2018-09-28 北京小米移动软件有限公司 Status bar operating method, device and computer readable storage medium
CN108646913A (en) * 2018-04-26 2018-10-12 维沃移动通信有限公司 A kind of alarm clock setting method and mobile terminal
CN110413315A (en) * 2019-07-29 2019-11-05 维沃移动通信有限公司 A kind of application control method and electronic equipment
CN110753153A (en) * 2019-09-04 2020-02-04 深圳传音控股股份有限公司 Terminal control method, terminal and computer storage medium
CN111008060A (en) * 2019-12-09 2020-04-14 上海传英信息技术有限公司 Parameter adjusting method, terminal and computer readable storage medium
CN113835588A (en) * 2021-09-27 2021-12-24 维沃移动通信有限公司 Shortcut setting method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108646913A (en) * 2018-04-26 2018-10-12 维沃移动通信有限公司 A kind of alarm clock setting method and mobile terminal
CN108595074A (en) * 2018-04-28 2018-09-28 北京小米移动软件有限公司 Status bar operating method, device and computer readable storage medium
CN110413315A (en) * 2019-07-29 2019-11-05 维沃移动通信有限公司 A kind of application control method and electronic equipment
CN110753153A (en) * 2019-09-04 2020-02-04 深圳传音控股股份有限公司 Terminal control method, terminal and computer storage medium
CN111008060A (en) * 2019-12-09 2020-04-14 上海传英信息技术有限公司 Parameter adjusting method, terminal and computer readable storage medium
CN113835588A (en) * 2021-09-27 2021-12-24 维沃移动通信有限公司 Shortcut setting method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115587851A (en) * 2022-11-25 2023-01-10 广东采日能源科技有限公司 Time interval configuration method and device for step electricity price
CN115587851B (en) * 2022-11-25 2023-03-28 广东采日能源科技有限公司 Time interval configuration method and device for step electricity price

Similar Documents

Publication Publication Date Title
CN108334371B (en) Method and device for editing object
CN112269506B (en) Screen splitting method and device and electronic equipment
CN112148167A (en) Control setting method and device and electronic equipment
CN115357158A (en) Message processing method and device, electronic equipment and storage medium
CN114518822A (en) Application icon management method and device and electronic equipment
CN114415886A (en) Application icon management method and electronic equipment
CN114116098A (en) Application icon management method and device, electronic equipment and storage medium
CN113703634A (en) Interface display method and device
CN111796746B (en) Volume adjusting method, volume adjusting device and electronic equipment
CN113268182A (en) Application icon management method and electronic equipment
CN112099682B (en) Icon display method and device and electronic equipment
CN114397989A (en) Parameter value setting method and device, electronic equipment and storage medium
CN113253883A (en) Application interface display method and device and electronic equipment
CN112698762A (en) Icon display method and device and electronic equipment
CN112817555A (en) Volume control method and volume control device
CN111638828A (en) Interface display method and device
CN115562539A (en) Control display method and device, electronic equipment and readable storage medium
CN115167721A (en) Display method and device of functional interface
CN114564134A (en) Application icon display method and device
CN115002551A (en) Video playing method and device, electronic equipment and medium
CN114416269A (en) Interface display method and display device
CN113835578A (en) Display method and device and electronic equipment
CN114610192A (en) Text selection method, text selection device, electronic equipment and readable storage medium
CN114518821A (en) Application icon management method and device and electronic equipment
CN113885981A (en) Desktop editing method and device and electronic equipment

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