WO2021208769A1 - 控制方法及电子设备 - Google Patents
控制方法及电子设备 Download PDFInfo
- Publication number
- WO2021208769A1 WO2021208769A1 PCT/CN2021/085544 CN2021085544W WO2021208769A1 WO 2021208769 A1 WO2021208769 A1 WO 2021208769A1 CN 2021085544 W CN2021085544 W CN 2021085544W WO 2021208769 A1 WO2021208769 A1 WO 2021208769A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- current
- control
- input
- display
- output
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000004044 response Effects 0.000 claims abstract description 27
- 230000006870 function Effects 0.000 claims description 208
- 238000004590 computer program Methods 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 19
- 230000008859 change Effects 0.000 description 18
- 230000000694 effects Effects 0.000 description 12
- 230000035807 sensation Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000000638 stimulation Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/016—Input arrangements with force or tactile feedback as computer generated output to the user
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
Definitions
- the present invention relates to the field of communication technology, in particular to a control method and electronic equipment.
- the display screen of an electronic device can display more and more functional controls.
- the user can only interact with the functional controls displayed on the existing electronic equipment through vision. For example, the user determines the display position of the functional control on the display screen by looking at the display screen, and then touches the display position to switch the display of the functional control Way. It can be seen that the user must watch the operation of the electronic device, making it inconvenient for the user to control the operation at places and times that require attention, such as when crossing a road.
- the embodiments of the present invention provide a control method and electronic equipment, which can solve the problem of inconvenience in the control of functional controls in the prior art.
- an embodiment of the present invention provides a control method applied to an electronic device, including:
- the input position of the first input includes at least one of the first position and the second position.
- an embodiment of the present invention also provides an electronic device, including:
- the first receiving module is configured to receive the first input for the functional control when the functional control is displayed in the first manner
- the first display module is configured to display the functional control in a second manner in response to the first input, and output a first current at the first position of the functional control and output at the second position of the functional control Second current
- the input position of the first input includes at least one of the first position and the second position.
- an embodiment of the present invention also provides an electronic device, including: a processor, a memory, and a computer program that is stored on the memory and can run on the processor, and the computer program is processed by the processor.
- the steps of the above-mentioned control method are realized when the device is executed.
- an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned control method are implemented.
- an embodiment of the present invention also provides an electronic device configured to execute the steps of the above-mentioned control method.
- the functional control when the functional control is displayed in the first manner, by receiving a first input for the functional control; in response to the first input, the functional control is displayed in the second manner, and The first position of the functional control outputs a first current, and the second position of the functional control outputs a second current; wherein the input position of the first input includes the first position and the second position At least one of.
- the display mode of the function control is controlled to switch, and the first position and the second position of the function control are controlled to output current, thereby
- a tactile sensation is formed at the first position and the second position, so that the functional control can give the user a tactile feedback, which is convenient for the user to control the functional control of the electronic device.
- FIG. 1 is a flowchart of a control method provided by an embodiment of the present invention
- Figure 2 is one of the display effect diagrams of the function control
- Figure 3 is the second display effect diagram of the function control
- Figure 4 is a schematic diagram of a setting interface of a mobile terminal
- Fig. 5 is a schematic diagram of the output current of each display position in the display area of the function control
- Figure 6 is one of the output current effect diagrams of each display position in the display area of the function control
- Figure 7 is the third of the display effect diagram of the function control
- Fig. 8 is the second diagram of the output current effect diagram of each display position in the display area of the function control
- Figure 9 is a structural diagram of an electronic device provided by an embodiment of the present invention.
- FIG. 10 is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention.
- the control method provided by the embodiments of the present invention is mainly applied to electronic equipment.
- the electronic equipment may be a mobile terminal, which is used to provide a tactile functional control, so that the functional control can give the user a tactile feedback, so as to facilitate the user's electronic control.
- the mobile terminal can be a mobile phone, a tablet (Personal Computer), a laptop (Laptop Computer), a personal digital assistant (personal digital assistant, PDA), a mobile Internet device (Mobile Internet Device, MID), or a wearable Type equipment (Wearable Device), etc.
- Fig. 1 is a flowchart of a control method provided by an embodiment of the present invention. As shown in Fig. 1, it includes the following steps:
- Step 101 In a case where the functional control is displayed in the first manner, receive a first input for the functional control;
- the mobile terminal may set a function control for a certain function, and the function control may include at least two display modes, a first mode and a second mode, respectively, to indicate the function status of the function control.
- the function control may Displayed on the designated operation interface.
- the mobile terminal may set a function control for a certain function on the setting interface, the function control may be a switch control, and the function control may include at least a function state where the function is turned on and a function state where the function is turned off.
- the mobile terminal can set a first mode and a second mode for the functional control.
- the first mode can indicate that the functional control is in the functional state of function on, and correspondingly, the second mode can indicate that the functional control is in the functional state of off. state.
- the first way can also indicate that the function control is in a functional state where the function is turned off.
- the second way may indicate that the function control is in a functional state where the function is turned on.
- the mobile terminal can receive input for the functional control, and can select the functional state of the functional control based on the input.
- the mobile terminal can control the display mode of the functional control according to the functional state of the functional control.
- the mobile terminal can set a functional control for the Bluetooth function on the setting interface.
- the functional control of the Bluetooth function can include the functional state of Bluetooth on and the functional state of Bluetooth off.
- the mobile terminal can set the first control for the functional control.
- the first method can indicate that the functional control is in the functional state of Bluetooth on
- the second method can indicate that the functional control is in the functional state of Bluetooth off.
- the first way can also indicate that the functional control is in the functional state of Bluetooth off.
- the second way can indicate that the functional control is in the functional state of Bluetooth on.
- the mobile terminal can receive the input of the functional control of the Bluetooth function, and can select the functional state of the functional control of the Bluetooth function according to the input.
- the mobile terminal can control the function control of the functional control according to the functional state of the functional control. Place.
- FIG. 2 is one of the display effect diagrams of the function control. As shown in FIG. 2, the function control is in the first mode, and the first mode indicates that the function control is in the function-on Functional state; see Figure 3, Figure 3 is the second display effect diagram of the functional control, as shown in Figure 3, the functional control is in the second mode, which indicates that the functional control is in the functional state of closing the function.
- the function control may also include a function state where the function is vacant.
- an analog switch type of a switch control with a triangular high and low switch button in an angular row may include a function state where the function is vacant, and the function state where the function is vacant can be understood as a function state with a function on and a function state with a function off.
- the mobile terminal has neither an open function nor an off function, and the function is in a vacant state.
- a third mode can also be set for the functional control, which is used to indicate that the functional control is in a functional state where the function is empty, so as to switch the functional state of the functional control.
- a first input for the function control is received, and the input position of the first input includes at least one of the first position and the second position.
- first position and the second position may be the display positions in the display area of the function control, and the display area of the function control may include only two display positions, or may include the first position and the second position.
- the position also includes other display positions, and these display positions may be distributed at intervals or continuously on the display area of the functional control, and there is no specific limitation here.
- the display area at least includes a first position and a second position spaced apart in the target direction.
- the display area at least includes a first position and a second position spaced apart in the target direction, it can be understood that the display area includes at least two display positions.
- the display area includes at least two display positions sequentially spaced in a target direction, and the at least two display positions are distributed according to the target direction with a first position and a second position.
- the target direction may be a left-to-right direction, a right-to-left direction, or other directions, which is not specifically limited here.
- the target direction will be described in detail by taking the direction from right to left as an example.
- a first position and a second position are distributed according to the target direction, and the interval between the first position and the second position can be set according to actual conditions.
- the interval between the first position and the second position can be set to be relatively large.
- the first position and the second position may be arranged on opposite sides in the display area.
- the first position may be understood as a display point in the display area, and may also be understood as a display sub-area in the display area.
- the second position may be understood as a display point in the display area, and may also be understood as a display sub-area in the display area.
- the first position and the second position are both display sub-areas as an example for description.
- the first position may be defined as a position where the function is turned on
- the second position may be defined as a position where the function is turned off.
- the first input may be a touch input for the second position, or sliding from the first position to The sliding input of the second position is used to switch the display mode to the second mode.
- the first input may be a touch input for the first position, or a touch input for sliding from the second position to the first position Swipe to enter to switch the display mode to the second mode.
- the target direction is a direction from right to left
- the first position and the second position may be arranged on opposite sides of the display area.
- Figure 4 is a schematic diagram of the setting interface of the mobile terminal.
- the setting interface of the mobile terminal includes functional controls, and the display area of the functional controls includes at least two display positions from right to left. , Respectively, the first position and the second position.
- the tactile feel of the functional control is designed as a horizontal high-low switch, the first position can be arranged on the right side of the target direction, defined as the "open" side, and the height represented by the first position is higher than that of the first position.
- the second position When the height represented by the second position is low, it can indicate that the function control is in a functional state where the function is turned on.
- the second position may be arranged on the left side of the target direction, which is defined as the "off" side.
- the function When the height characterized by the second position is lower than the height characterized by the first position, the function can be characterized The control is in a functional state where the function is turned off.
- Step 102 In response to the first input, display the functional control in a second manner, and output a first current at a first position of the functional control, and output a second current at a second position of the functional control;
- the input position of the first input includes at least one of the first position and the second position.
- the current output mode associated in the second manner is used to control the first position and the second position to output current.
- the functional control may include at least two functional states, each display mode of the functional control has its associated current output mode, and the current output associated with each display mode The modes can be different to distinguish the different display modes of the function control.
- the associated current output mode may be outputting a first current at the first position of the functional control and outputting a second current at the second position of the functional control.
- the associated current output mode may be outputting a fifth current at the first position of the functional control, and outputting a sixth current at the second position of the functional control.
- the associated current output mode may be to output a third current at the first position of the functional control, and output a fourth current at the second position of the functional control.
- the current output modes associated with the same display mode may also be different to distinguish the types of functional controls.
- the switch control Take the switch control as an example. There can be many types of switch controls, such as the switch control that simulates the triangular high and low switch buttons of the angular row, the switch control that simulates the left and right toggle switch buttons, or the simulation of a single switch control. The switch control of the rebound switch button of the button row.
- the current output mode of the same display mode can also be different.
- the function control is a switch control that simulates a triangular high and low switch button in a row of edges and corners, in the second mode, the first current can be equal to the second current; if the function control is a switch that simulates a rebound switch button in a single button row Control, in the second mode, the second current may be less than the first current.
- the current output mode associated with the second way for a type of functional control, in which the first current is made smaller than the second current in the current output mode.
- the current output mode associated with each display mode of the functional control can be determined first. Then, according to the current display mode of the function control, the target current output mode is determined from these current output modes, and the first position and the second position output current are controlled according to the target current output mode.
- the output current corresponding to the first position is equal to that of the output current corresponding to the second position.
- the difference is greater than the first current threshold.
- a current trace may be arranged on each of the at least two display positions to control the output current at the display position, so that the user can feel the touch.
- the target current output mode it is possible to control the output of different intensities of current at different display positions, so that the user can form a high and low tactile sensation when touching the functional controls on the screen.
- the difference between the first current and the second current can be controlled to be greater than the first current threshold, so that when the first position and the second position are respectively pressed A tactile sensation of ups and downs will be generated; wherein, the first current threshold may represent the lowest tactile height formed between the first position and the second position.
- Figure 5 is a schematic diagram of the output current of each display position in the display area of the functional control.
- the mobile terminal may include multiple display positions.
- the mobile terminal controls each display area in the display area according to the target current output mode.
- the output current is output on the current traces arranged in the display position, so that the output current of each display position changes in an upward trend according to the target direction.
- the first mode and the second mode may be two opposite display modes; for example, the first mode may indicate that the function control is in the functional state of the function on, and the second mode may indicate that the function control is in the function state. Closed function status.
- the current output mode associated with the first mode that is, the current output mode associated with the second mode, that is, the second current output mode
- the target current output mode is the first current output mode
- the target current output mode is The second current output mode
- the mobile terminal will control the display position in the display area of the functional control according to the first current output mode The current output.
- the output current corresponding to the "on” side is smaller than the output current corresponding to the "off” side, so that the screen will output stronger tactile stimulation on the "off” side than on the "on” side, indicating The "open” side has a lower level.
- the mobile terminal controls the current output at the display position in the display area of the function control according to the second current output mode.
- the output current corresponding to the "on” side is greater than the output current corresponding to the "off” side. In this way, the screen will output stronger tactile stimulation on the "on” side than on the "off” side, indicating that the "off" side is more horizontal. Low.
- the current output mode associated with the first manner is that the output current of at least two display positions in the display area changes in an upward trend according to the target direction;
- the current output mode associated with the second manner is that the output current of at least two display positions in the display area changes in a downward trend according to the target direction.
- the number of display positions in the display area may be greater than two, and in the display area, at least one third position may be distributed in sequence between the first position and the second position according to the target direction. .
- the output current at these display positions changes in an upward trend according to the target direction.
- the output current at these display positions changes in a downward trend according to the target direction.
- the upward trend change or the downward trend change can be changed according to a uniform gradient.
- the display area includes a first position, a third position, and a second position, and the output current between the first position and the third position
- the change changes according to the first gradient
- the output current change between the third position and the second position also changes according to the first gradient.
- the upward trend change or the downward trend change can also be changed according to an uneven slope.
- the output current change between the third position and the first position changes according to the first slope, and the third position is different from the
- the output current change between the second positions changes according to a second gradient
- the first gradient is different from the second gradient.
- the changes in the output currents of the two adjacent display positions that are sequentially spaced in accordance with the target direction change according to the gradient of a preset curve, and the gradient of the preset curve changes according to the gradient of the preset curve.
- the change trend of the target direction is the same as the change trend of the output currents of the at least two display positions according to the target direction.
- the slope of the preset curve refers to the height-to-width ratio of a right triangle in a very small range on the preset curve. The greater the slope, the greater the angle, and the steeper the slope.
- the change trend of the slope of the preset curve according to the target direction is the same as the change trend of the output currents of the at least two display positions according to the target direction. If the output currents of the at least two display positions change in an upward trend according to the target direction, the slope of the preset curve also changes in an upward trend according to the target direction. If the output currents of the at least two display positions change The current changes in a downward trend according to the target direction, and the slope of the preset curve also changes in a downward trend according to the target direction.
- the changes in the output currents of the two adjacent display positions that are sequentially spaced in accordance with the target direction change according to the slope of the preset curve, see FIG. 6, which is the display area of the function control
- FIG. 6 is the display area of the function control
- the output currents of the at least two display positions follow the direction from right to left It changes in an upward trend, and the slope of the preset curve also changes in an upward trend from right to left.
- the output current change of each display position in the display area is more delicate, forming a sense of arc.
- the functional control when the functional control is displayed in the first manner, by receiving a first input for the functional control; in response to the first input, the functional control is displayed in the second manner, and The first position of the functional control outputs a first current, and the second position of the functional control outputs a second current; wherein the input position of the first input includes the first position and the second position At least one of.
- the display mode of the function control is controlled to switch, and the first position and the second position of the function control are controlled to output current, thereby
- a tactile sensation is formed at the first position and the second position, so that the function control can give the user a tactile feedback, which is convenient for the user to control the electronic device function control.
- the current output at the display position in the display area of the functional control is controlled according to the current output mode associated with the display mode. Therefore, according to the current output mode associated with the display mode of the functional control, the current output of the display position in the display area of the functional control can be controlled, so that the output current of the display area matches the display mode of the functional control. , And then simulate the tactile sensation of the current functional state of the functional control.
- the user can parameterize the first current threshold to set the tactile height of the functional control, or can also determine the first current threshold according to the types of common switch controls provided in the mobile terminal to determine the functional control's High tactility.
- the mobile terminal may receive the first input for the functional control, and respond to the first input to control the display manner of the functional control.
- the step 102 includes:
- the function control is displayed in a second manner, and the function control is displayed in the first position of the function control.
- a first current is output in one position, and a second current is output in the second position of the functional control.
- the first input may be an operation of applying pressure on the function control when the user's finger approaches or touches the function control.
- the mobile terminal detects the first input for the function control, and in response to the first input, obtains the first pressure value detected at the first position and the second pressure value detected at the second position. Pressure value; and according to the first pressure value and the second pressure value, the display mode of the function control is controlled.
- control the display mode of the function control there may be multiple control modes to control the display mode of the function control. For example, switching the display mode of the functional control; for example, maintaining the display mode of the functional control; or, for example, controlling the display mode of the functional control to be in a functional state where the function is empty.
- the display mode of the function control is changed from the first mode Switch to the second mode, display the functional control in the second mode, and output a first current at the first position of the functional control, and output a second current at the second position of the functional control.
- the method further includes:
- the function control is displayed in a third manner and output at the first position A third current, outputting a fourth current at the second position;
- the third current is equal to the fourth current.
- the second pressure value is greater than the first pressure value, and the second pressure value is less than the first threshold value
- the first input is not over
- Switch the display mode of the function control to the third mode display the function control in the third mode, and display the position output current in the display area of the control function control associated with the current output mode in the third mode, that is, in the A third current is output at the first position, and a fourth current is output at the second position. If the first input has ended, the third mode is switched to the first mode that is the display mode of the function control before the first input.
- the first mode is used to indicate the first functional state of the functional control
- the second mode is used to indicate the second functional state of the functional control
- the third mode is used to indicate The function state of the function control is switched.
- the function control is in the first mode, and the first mode is used to indicate that the function control is in a functional state with the function turned on, that is, the “on” side is low and the “off” side is high. If the user directly applies pressure on the "off" side, and the applied pressure exceeds the pressure threshold of the function switch, that is, the first threshold, the display mode of the function control is directly switched to the second mode.
- the second mode is used to indicate that the function control is in the second mode.
- the function state of the function closed, that is, the display mode of the function control shown in Fig. 2 is switched to the display mode shown in Fig. 3.
- Figure 7 is the third display effect diagram of the functional control. As shown in Figure 7, the functional control is in the third mode.
- Figure 8 is the second diagram of the output current effect of each display position in the display area of the functional control. As shown in Figure 8, when the display mode of the functional control is the third mode, the output current on the "on" side is the The three current is equal to the output current on the "off" side, that is, the fourth current.
- the third mode is also used to switch the function state of the function control, that is, when the display mode of the function control is in the third mode, it can indicate that the user is not applying enough pressure on the "off" side. If the conditions for switching are not met, the user is instructed to apply more pressure on the "off" side if the state is to be switched.
- the mobile terminal may control the function control to slide and display, and the pressure applied by the user on the "off" side gradually increases, and the mobile terminal may control the function control to gradually slide to the "off" side.
- the function control is switched to the display mode as shown in FIG. 3.
- the third mode is restored to the display mode of the function control before the first input, that is, the display mode as shown in FIG. 2 is restored.
- the pressure on the “off” side exceeds the first threshold, because If the pressure on the “on” side is greater than the pressure on the “off” side, the display mode of the function control will not be switched, but the function control will remain in the first mode, that is, the display mode of the function control as shown in FIG. 2 will be maintained.
- the display mode of the function control is determined and controlled according to the pressure expanded to the "open” side and the "close” side pressure through the screen .
- the user can parameterize the first threshold to set the simulated force parameters of the functional control, or can also determine the first threshold according to the types of commonly used switch controls provided in the mobile terminal to determine the functional control's Simulate force parameters.
- the second current is less than the first current
- the function control is displayed in a second manner in response to the first input
- the first current is output at the first position of the function control
- the fifth current is smaller than the sixth current.
- the display mode of the functional control is the second mode
- the second current output mode associated with the second mode the first current is greater than the second current
- the display mode of the function status is controlled.
- the display mode of the function control when the first pressure value is greater than the second pressure value, and the first pressure value is greater than or equal to a second threshold value, switch the display mode of the function control to the first mode. And display the position output current in the display area of the current output mode control function control associated with the first method, that is, output the fifth current at the first position, and output the sixth current at the second position.
- the five current is smaller than the sixth current.
- the first mode is used to indicate the first functional state of the functional control
- the second mode is used to indicate the second functional state of the functional control
- the third mode is used to indicate The function state of the function control is switched.
- the current function control is in the second mode
- the second mode is used to indicate that the function control is in a functional state where the function is turned off, that is, the "off" side is low and the "open" side is high. If the user directly applies pressure on the "on" side, and the applied pressure exceeds the pressure threshold of the function switch, that is, the second threshold, the display mode of the function control is directly switched to the first mode.
- the first mode is used to indicate that the function control is in the first mode.
- the function state of the function turned on is to switch the display mode of the function control as shown in Fig. 3 to the display mode shown in Fig. 2.
- the display mode of the function control is switched to the third mode, where the third mode is used to indicate the function
- the control is in a functional state where the function is empty, as shown in Figure 7.
- the third mode is also used to switch the function state of the function control, that is, when the display mode of the function control is in the third mode, it can indicate that the user is not applying enough pressure on the "on" side. If the conditions for switching are not met, the user is instructed to apply more pressure on the "open” side if the state is to be switched.
- the mobile terminal may control the function control to slide and display, and the pressure applied by the user on the "on” side gradually increases, and the mobile terminal may control the function control to gradually slide to the "on" side.
- the function control is switched to the display mode as shown in FIG. 2.
- the third mode is restored to the display mode of the function control before the second input, that is, the display mode as shown in FIG. 3 is restored.
- the display mode of the function control is determined and controlled according to the pressure on the “open” side and the “close” side according to the pressure expanded through the screen .
- the user can parameterize the second threshold to set the simulated force parameters of the functional control, or can also determine the second threshold according to the types of commonly used switch controls provided in the mobile terminal to determine the functional control's Simulate force parameters.
- the first input is any one of the following:
- voice prompts can be added to increase the sensory experience of the user, making the user experience more friendly and rich.
- FIG. 9 is a structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 9, the electronic device 900 includes:
- the first receiving module 901 is configured to receive a first input for the functional control when the functional control is displayed in the first manner;
- the first display module 902 is configured to display the functional control in a second manner in response to the first input, and output a first current in the first position of the functional control, and in the second position of the functional control Output the second current;
- the input position of the first input includes at least one of the first position and the second position.
- the first display module 902 includes:
- An acquiring unit configured to acquire a first pressure value detected at the first position and a second pressure value detected at the second position in response to the first input;
- the display unit is configured to display the function control in a second manner when the second pressure value is greater than the first pressure value, and the second pressure value is greater than or equal to the first threshold value, and displayed in the The first position of the functional control outputs a first current, and the second position of the functional control outputs a second current.
- the electronic device further includes:
- the second display module is configured to display the function control in a third manner when the second pressure value is greater than the first pressure value and the second pressure value is less than the first threshold value, and Output a third current at the first position, and output a fourth current at the second position;
- the third current is equal to the fourth current.
- the second current is less than the first current
- the electronic device further includes:
- the second receiving module receives a second input for the function control
- a third display module configured to display the function control in the first manner in response to the second input, and output a fifth current at the first position and a sixth current at the second position;
- the fifth current is smaller than the sixth current.
- the first input is any one of the following:
- the electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
- the electronic device may be a mobile terminal.
- FIG. 10 is a schematic diagram of the hardware structure of a mobile terminal that implements various embodiments of the present invention.
- the mobile terminal 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and Power supply 1011 and other components.
- a radio frequency unit 1001 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and Power supply 1011 and other components.
- Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 10 does not constitute a limitation on the mobile terminal.
- the mobile terminal may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
- mobile terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palm
- the processor 1010 is used for:
- the input position of the first input includes at least one of the first position and the second position.
- processor 1010 is further configured to:
- the function control is displayed in a second manner, and the function control is displayed in the first position of the function control.
- a first current is output in one position, and a second current is output in the second position of the functional control.
- processor 1010 is further configured to:
- the function control is displayed in a third manner and output at the first position A third current, outputting a fourth current at the second position;
- the third current is equal to the fourth current.
- the second current is less than the first current
- the processor 1010 is further configured to:
- the fifth current is smaller than the sixth current.
- the first input is any one of the following:
- the radio frequency unit 1001 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and sent to the processor 1010 for processing; in addition, Uplink data is sent to the base station.
- the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
- the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
- the mobile terminal provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
- the audio output unit 1003 can convert the audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into audio signals and output them as sounds. Moreover, the audio output unit 1003 may also provide audio output related to a specific function performed by the mobile terminal 1000 (for example, call signal reception sound, message reception sound, etc.).
- the audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
- the input unit 1004 is used to receive audio or video signals.
- the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 is configured to respond to still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
- the processed image frame can be displayed on the display unit 1006.
- the image frame processed by the graphics processor 10041 may be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002.
- the microphone 10042 can receive sound, and can process such sound into audio data.
- the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1001 in the case of a telephone call mode for output.
- the mobile terminal 1000 also includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light.
- the proximity sensor can close the display panel 10061 and the display panel 10061 when the mobile terminal 1000 is moved to the ear. / Or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 1005 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
- the display unit 1006 is used to display information input by the user or information provided to the user.
- the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
- LCD liquid crystal display
- OLED organic light-emitting diode
- the user input unit 1007 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the mobile terminal.
- the user input unit 1007 includes a touch panel 10071 and other input devices 10072.
- the touch panel 10071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 10071 or near the touch panel 10071. operate).
- the touch panel 10071 may include two parts, a touch detection device and a touch controller.
- the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 1010, the command sent by the processor 1010 is received and executed.
- the touch panel 10071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
- the user input unit 1007 may also include other input devices 10072.
- other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
- the touch panel 10071 can cover the display panel 10061.
- the touch panel 10071 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of touch event, and then the processor 1010 determines the type of the touch event according to the touch.
- the type of event provides corresponding visual output on the display panel 10061.
- the touch panel 10071 and the display panel 10061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated
- the implementation of the input and output functions of the mobile terminal is not specifically limited here.
- the interface unit 1008 is an interface for connecting an external device with the mobile terminal 1000.
- the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
- the interface unit 1008 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the mobile terminal 1000 or can be used to connect to the mobile terminal 1000 and external Transfer data between devices.
- the memory 1009 can be used to store software programs and various data.
- the memory 1009 may mainly include a program storage area and a data storage area.
- the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
- the memory 1009 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
- the processor 1010 is the control center of the mobile terminal. It uses various interfaces and lines to connect the various parts of the entire mobile terminal, runs or executes software programs and/or modules stored in the memory 1009, and calls data stored in the memory 1009 , Perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole.
- the processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
- the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
- the mobile terminal 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components.
- a power supply 1011 (such as a battery) for supplying power to various components.
- the power supply 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
- the mobile terminal 1000 includes some functional modules not shown, which will not be repeated here.
- an embodiment of the present invention also provides a mobile terminal, including a processor 1010, a memory 1009, a computer program stored in the memory 1009 and capable of running on the processor 1010, and the computer program is executed by the processor 1010
- a mobile terminal including a processor 1010, a memory 1009, a computer program stored in the memory 1009 and capable of running on the processor 1010, and the computer program is executed by the processor 1010
- the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
- a computer program is stored on the computer-readable storage medium.
- the computer program is executed by a processor, each process of the above-mentioned control method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here.
- the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
- the disclosed device and method may be implemented in other ways.
- the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments of the present invention.
- the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
- the technical solution of the present invention essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present invention.
- the aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
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)
- Telephone Function (AREA)
Abstract
一种控制方法及电子设备(900),该方法包括:在功能控件以第一方式显示的情况下,接收针对所述功能控件的第一输入(101);响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流(102);其中,所述第一输入的输入位置包括所述第一位置和所述第二位置中的至少一项。
Description
相关申请的交叉引用
本申请主张在2020年4月13日在中国提交的中国专利申请号No.202010286106.8的优先权,其全部内容通过引用包含于此。
本发明涉及通信技术领域,尤其涉及一种控制方法及电子设备。
随着触感屏技术的发展,电子设备的显示屏可显示越来越多的功能控件。然而,用户与现有电子设备上显示的功能控件只能通过视觉进行交互,如:用户通过查看显示屏确定功能控件在显示屏的显示位置,之后,触控该显示位置以切换功能控件的显示方式。可见,用户必须看着电子设备操作,使得用户在需要留意的地方和时候如横穿道路时不方便控制操作。
因此,现有技术中功能控件控制存在不便利的问题。
发明内容
本发明实施例提供一种控制方法及电子设备,能够解决现有技术中功能控件控制存在不便利的问题。
第一方面,本发明实施例提供了一种控制方法,应用于电子设备,包括:
在功能控件以第一方式显示的情况下,接收针对所述功能控件的第一输入;
响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流;
其中,所述第一输入的输入位置包括所述第一位置和所述第二位置中的至少一项。
第二方面,本发明实施例还提供了一种电子设备,包括:
第一接收模块,用于在功能控件以第一方式显示的情况下,接收针对所 述功能控件的第一输入;
第一显示模块,用于响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流;
其中,所述第一输入的输入位置包括所述第一位置和所述第二位置中的至少一项。
第三方面,本发明实施例还提供了一种电子设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述控制方法的步骤。
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述控制方法的步骤。
第五方面,本发明实施例还提供了一种电子设备,被配置成执行上述控制方法的步骤。
本发明实施例中,在功能控件以第一方式显示的情况下,通过接收针对所述功能控件的第一输入;响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流;其中,所述第一输入的输入位置包括所述第一位置和所述第二位置中的至少一项。
如此,通过在功能控件的第一位置和第二位置中的至少一个位置进行输入操作,控制所述功能控件的显示方式进行切换,并控制功能控件的第一位置和第二位置输出电流,从而可以使用户在触摸屏幕上功能控件的时候,在第一位置和第二位置形成触感,进而使功能控件可以给到用户一种触觉反馈,方便用户对电子设备功能控件的控制。
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种控制方法的流程图;
图2是功能控件的显示效果图之一;
图3是功能控件的显示效果图之二;
图4为移动终端的设置界面示意图;
图5是功能控件的显示区域中各显示位置的输出电流示意图;
图6是功能控件的显示区域中各显示位置的输出电流效果图之一;
图7是功能控件的显示效果图之三;
图8是功能控件的显示区域中各显示位置的输出电流效果图之二;
图9是本发明实施例提供的电子设备的结构图;
图10是实现本发明各个实施例的一种移动终端的硬件结构示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供的控制方法主要应用于电子设备,该电子设备可以为移动终端,用于提供一种具有触感的功能控件,使功能控件可以给到用户一种触觉反馈,达到方便用户对电子设备功能控件的控制的目的。
所述移动终端可以为手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。
参见图1,图1是本发明实施例提供的一种控制方法的流程图,如图1所示,包括以下步骤:
步骤101,在功能控件以第一方式显示的情况下,接收针对所述功能控件的第一输入;
所述移动终端可以为某一项功能设置功能控件,且功能控件可以包括至少两种显示方式,分别为第一方式和第二方式,以对功能控件的功能状态进 行指示,所述功能控件可以显示在指定的操作界面上。
移动终端可以在设置界面上为某一功能设置功能控件,所述功能控件可以为开关控件,所述功能控件可以至少包括功能开启的功能状态和功能关闭的功能状态。相应的,移动终端可以为该功能控件设置第一方式和第二方式,第一方式可以指示该功能控件处于功能开启的功能状态,相应的,第二方式可以指示该功能控件处于功能关闭的功能状态。第一方式也可以指示该功能控件处于功能关闭的功能状态,相应的,第二方式可以指示该功能控件处于功能开启的功能状态。移动终端可以接收针对该功能控件的输入,并可以根据该输入对该功能控件进行功能状态的选择,相应的,移动终端则可以根据功能控件的功能状态控制该功能控件所处的显示方式。
比如,移动终端可以在设置界面上为蓝牙功能设置一个功能控件,该蓝牙功能的功能控件可以包括蓝牙开启的功能状态和蓝牙关闭的功能状态,相应的,移动终端可以为该功能控件设置第一方式和第二方式,第一方式可以指示该功能控件处于蓝牙开启的功能状态,相应的,第二方式可以指示该功能控件处于蓝牙关闭的功能状态。第一方式也可以指示该功能控件处于蓝牙关闭的功能状态,相应的,第二方式可以指示该功能控件处于蓝牙开启的功能状态。移动终端可以接收针对该蓝牙功能的功能控件的输入,并可以根据该输入对该蓝牙功能的功能控件进行功能状态的选择,相应的,移动终端则可以根据功能控件的功能状态控制该功能控件所处的。
在一可选实施例中,参见图2,图2是功能控件的显示效果图之一,如图2所示,所述功能控件处于第一方式,该第一方式指示功能控件处于功能开启的功能状态;参见图3,图3是功能控件的显示效果图之二,如图3所示,所述功能控件处于第二方式,该第二方式指示功能控件处于功能关闭的功能状态。
在一可选实施例中,所述功能控件还可以包括一种功能空置的功能状态。比如,模拟开关类型为棱角行的三角高低开关按钮的开关控件,其开关控件可以包括一种功能空置的功能状态,该功能空置的功能状态可以理解为功能开启的功能状态和功能关闭的功能状态的中间状态;也就是说,该移动终端即没有开启功能,也没有关闭功能,该功能处于一种空置状态。相应的,还 可以为该功能控件设置第三方式,用于指示该功能控件处于功能空置的功能状态,以对所述功能控件的功能状态进行切换指示。
在功能控件以第一方式显示的情况下,接收针对所述功能控件的第一输入,所述第一输入的输入位置包括所述第一位置和所述第二位置中的至少一项。
其中,所述第一位置和第二位置可以为该功能控件的显示区域中的显示位置,所述功能控件的显示区域中可以仅包括两个显示位置,也可以在包括第一位置和第二位置的同时,还包括其他显示位置,这些显示位置在所述功能控件的显示区域上可以间隔分布,也可以连续分布,这里不做具体限定。
在一可选实施例中,所述显示区域至少包括在目标方向上间隔分布的第一位置和第二位置。所述显示区域至少包括在目标方向上间隔分布的第一位置和第二位置可以理解为所述显示区域至少包括两个显示位置。换句话说,所述显示区域包括在目标方向上依次间隔分布的至少两个显示位置,所述至少两个显示位置中按照所述目标方向分布有第一位置和第二位置。
所述目标方向可以为从左至右的方向,也可以为从右至左的方向,还可以为其他方向,这里不做具体限定。以下实施例中,所述目标方向将以从右至左的方向为例进行详细说明。
所述至少两个显示位置中按照所述目标方向分布有第一位置和第二位置,所述第一位置和所述第二位置的间隔可以根据实际情况进行设置。为了方便操作,所述第一位置和所述第二位置的间隔可以设置的比较大。可选地,所述第一位置和第二位置可以布置在所述显示区域中的相对侧。
所述第一位置可以理解为所述显示区域中的一个显示点,也可以理解为所述显示区域中的一个显示子区域。相应的,所述第二位置可以理解为所述显示区域中的一个显示点,也可以理解为所述显示区域中的一个显示子区域。以下实施例中,将以所述第一位置和第二位置均为显示子区域为例进行说明。
另外,所述第一位置可以定义为开启功能的位置,相应的,所述第二位置可以定义为关闭功能的位置。在该种情况下,若所述第一方式指示功能控件处于功能开启的功能状态,则所述第一输入可以为针对所述第二位置的触控输入,或者由所述第一位置滑动至所述第二位置的滑动输入,以将显示方 式切换至第二方式。若所述第一方式指示功能控件处于功能关闭的功能状态,则所述第一输入可以为针对所述第一位置的触控输入,或者由所述第二位置滑动至所述第一位置的滑动输入,以将显示方式切换至第二方式。
在一可选实施例中,所述目标方向为从右至左的方向,所述第一位置和第二位置可以布置在所述显示区域中的相对侧。参见图4,图4为移动终端的设置界面示意图,如图4所示,所述移动终端的设置界面上包括有功能控件,所述功能控件的显示区域从右至左包括至少两个显示位置,分别为第一位置和第二位置。所述功能控件的触感设计成横向高低开关,所述第一位置可以布置在所述目标方向上的右侧,定义为“开”侧,在所述第一位置所表征的高度比所述第二位置所表征的高度低时,可以表征功能控件处于功能开启的功能状态。所述第二位置可以布置在所述目标方向上的左侧,定义为“关”侧,在所述第二位置所表征的高度比所述第一位置所表征的高度低时,可以表征功能控件处于功能关闭的功能状态。
步骤102,响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流;
其中,所述第一输入的输入位置包括所述第一位置和所述第二位置中的至少一项。
该步骤中,响应于所述第一输入,在以第二方式显示所述功能控件的同时,以第二方式关联的电流输出模式控制第一位置和第二位置输出电流。
具体的,针对一类型的开关控件,所述功能控件可以包括至少两种功能状态,所述功能控件的每种显示方式都有其关联的电流输出模式,且每种显示方式所关联的电流输出模式可以不同,以区别该功能控件的不同显示方式。
比如,在第二方式中,其关联的电流输出模式可以为在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流。在第一方式中,其关联的电流输出模式可以为在所述功能控件的第一位置输出第五电流,在所述功能控件的第二位置输出第六电流。在第三方式中,其关联的电流输出模式可以为在所述功能控件的第一位置输出第三电流,在所述功能控件的第二位置输出第四电流。
进一步地,针对不同类型的功能控件,其相同显示方式所关联的电流输出模式也可以不同,以区别功能控件的类型。功能控件以开关控件为例,开关控件的类型可以有多种,比如,模拟棱角行的三角高低开关按钮的开关控件,又比如,模拟左右拨动式开关按钮的开关控件,还比如,模拟单个按钮行的反弹式开关按钮的开关控件。针对不同类型的开关控件,其相同显示方式的电流输出模式也可以不同。
比如,若功能控件为模拟棱角行的三角高低开关按钮的开关控件,在第二方式中,所述第一电流可以等于第二电流;若功能控件为模拟单个按钮行的反弹式开关按钮的开关控件,在第二方式中,所述第二电流可以小于第一电流。当然,还可以为一类型的功能控件设置第二方式关联的电流输出模式,在该电流输出模式中使得第一电流小于第二电流。
因此,针对一功能控件,可以首先确定该功能控件的每种显示方式所关联的电流输出模式。然后,根据该功能控件当前所处的显示方式,从这些电流输出模式中确定目标电流输出模式,并按照目标电流输出模式控制所述第一位置和第二位置输出电流。
需要说明的是,为了方便描述,以下实施例中,所述功能控件将以模拟单个按钮行的反弹式开关按钮的开关控件为例进行说明。
进一步的,为了可以使用户在触摸屏幕上功能控件的时候,在第一位置和第二位置形成高低起伏的触感,所述第一位置对应的输出电流与所述第二位置对应的输出电流的差值大于第一电流阈值。
在实现过程中,可以在所述至少两个显示位置中每个显示位置上布置电流走线,以控制在该显示位置输出电流,使用户产生触感。同时,可以根据目标电流输出模式,控制在不同显示位置输出不同强度的电流,从而可以使用户在触摸屏幕上功能控件的时候,形成高低起伏的触感。
具体的,在功能控件当前所处的显示方式为第二方式时,可以控制第一电流和第二电流的差值大于第一电流阈值,使得在所述第一位置和第二位置分别按压时会产生高低起伏的触感;其中,所述第一电流阈值可以表征在所述第一位置和所述第二位置之间所形成的最低触感高度。
参见图5,图5是功能控件的显示区域中各显示位置的输出电流示意图, 如图5所示,移动终端可以包括多个显示位置,移动终端根据目标电流输出模式,控制在显示区域中各个显示位置布置的电流走线上输出电流,使得各个显示位置的输出电流按照目标方向呈上升趋势变化。
进一步的,所述第一方式与所述第二方式可以为两个相反的显示方式;比如,第一方式可以指示该功能控件处于功能开启的功能状态,第二方式可以指示该功能控件处于功能关闭的功能状态。相应的,所述第一方式关联的电流输出模式即第一电流输出模式与所述第二方式关联的电流输出模式即第二电流输出模式也可以设置成两个相反的电流输出模式;比如,所述第一方式关联的电流输出模式下,所述第一位置对应的输出电流即第一电流小于所述第二位置对应的输出电流即第二电流,所述第二方式关联的电流输出模式下,所述第一位置对应的输出电流即第五电流大于所述第二位置对应的输出电流即第六电流。
在所述功能控件所处显示方式为第一方式时,所述目标电流输出模式为第一电流输出模式,在所述功能控件所处显示方式为第二方式时,所述目标电流输出模式为第二电流输出模式。
若所述功能控件所处显示方式为第一方式,所述第一方式指示该功能控件处于功能开启的功能状态,移动终端会按照第一电流输出模式控制所述功能控件的显示区域中显示位置的电流输出。如图5所示,此时,在“开”侧对应的输出电流小于“关”侧对应的输出电流,这样,屏幕会在“关”侧输出比“开”侧更强力的触感刺激,表明“开”侧水平面更低。这样,在用户手指靠近功能控件,但未接触功能控件而形成压力时,手指靠近“关”侧会更容易使用户感受到电流,从而形成触感;而手指靠近“开”侧时,因为输出的电流为弱电流,因此,在“开”侧更难使用户产生触感,如此,能够使用户感受到真实的开关按钮的开启触感。
在接收到针对所述功能控件的第一输入的情况下,响应于所述第一输入,以第二方式显示所述功能控件,所述第二方式指示该功能控件处于功能关闭的功能状态,移动终端会按照第二电流输出模式控制所述功能控件的显示区域中显示位置的电流输出。此时,在“开”侧对应的输出电流大于“关”侧对应的输出电流,这样,屏幕会在“开”侧输出比“关”侧更强力的触感刺 激,表明“关”侧水平面更低。这样,在用户手指靠近功能控件,但未接触功能控件而形成压力时,手指靠近“开”侧会更容易使用户感受到电流,从而形成触感;而手指靠近“关”侧时,因为输出的电流为弱电流,因此,在“关”侧更难使用户产生触感,如此,能够使用户感受到真实的开关按钮的关闭触感。
在一可选实施例中,所述第一方式关联的电流输出模式即第一电流输出模式为,所述显示区域中至少两个显示位置的输出电流按照所述目标方向呈上升趋势变化;
所述第二方式关联的电流输出模式即第二电流输出模式为,所述显示区域中至少两个显示位置的输出电流按照所述目标方向呈下降趋势变化。
所述显示区域中显示位置的数量可以大于两个,所述显示区域中,按照所述目标方向在所述第一位置和所述第二位置之间还可以依次间隔分布有至少一个第三位置。
所述第一电流输出模式为,在这些显示位置的输出电流按照所述目标方向呈上升趋势变化。所述第二电流输出模式为,在这些显示位置的输出电流按照所述目标方向呈下降趋势变化。
其中,所述上升趋势变化或下降趋势变化可以按照均匀坡度变化,比如,显示区域包括第一位置、第三位置和第二位置,所述第一位置与所述第三位置之间的输出电流变化按照第一坡度变化,所述第三位置与所述第二位置之间的输出电流变化也按照第一坡度变化。所述上升趋势变化或下降趋势变化也可以按照不均匀坡度变化,比如,所述第三位置与所述第一位置之间的输出电流变化按照第一坡度变化,所述第三位置与所述第二位置之间的输出电流变化按照第二坡度变化,所述第一坡度与所述第二坡度不同。
如此,通过在所述功能控件的显示区域中密集布置多个显示位置,且控制这些显示位置的输出电流呈趋势变化,从而可以保证功能控件的显示区域的输出电流密集且有规律的分布,进而可以提升功能控件的触觉反馈。
进一步的,所述至少两个显示位置中按照所述目标方向依次间隔分布的各相邻两个显示位置的输出电流的变化按照预设曲线的坡度变化,所述预设曲线的坡度按照所述目标方向的变化趋势与所述至少两个显示位置的输出电 流按照所述目标方向的变化趋势相同。
所述预设曲线的坡度是指在预设曲线上极小范围内的一个直角三角形的高宽比,坡度越大,角度越大,斜坡越陡。
所述预设曲线的坡度按照所述目标方向的变化趋势与所述至少两个显示位置的输出电流按照所述目标方向的变化趋势相同。若所述至少两个显示位置的输出电流按照所述目标方向呈上升趋势变化,则所述预设曲线的坡度按照所述目标方向也呈上升趋势变化,若所述至少两个显示位置的输出电流按照所述目标方向呈下降趋势变化,则所述预设曲线的坡度按照所述目标方向也呈下降趋势变化。
所述至少两个显示位置中按照所述目标方向依次间隔分布的各相邻两个显示位置的输出电流的变化按照预设曲线的坡度变化,参见图6,图6是功能控件的显示区域中各显示位置的输出电流效果图之一,如图6所示,“开”侧为弱电流,“关”侧为强电流,所述至少两个显示位置的输出电流按照从右至左的方向呈上升趋势变化,所述预设曲线的坡度也按照从右至左的方向呈上升趋势变化。且在预设曲线的坡度大的地方让相邻两个显示位置的输出电流的变化大,即按照从右至左的方向,后一显示位置相对于前一显示位置的输出电流上升的快;而在预设曲线的坡度小的地方让相邻两个显示位置的输出电流的变化小,即按照从右至左的方向,后一显示位置相对于前一显示位置的输出电流上升的慢,从而让显示区域中各显示位置的输出电流变化更加细腻,形成弧度感。
本发明实施例中,在功能控件以第一方式显示的情况下,通过接收针对所述功能控件的第一输入;响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流;其中,所述第一输入的输入位置包括所述第一位置和所述第二位置中的至少一项。
如此,通过在功能控件的第一位置和第二位置中的至少一个位置进行输入操作,控制所述功能控件的显示方式进行切换,并控制功能控件的第一位置和第二位置输出电流,从而可以使用户在触摸屏幕上功能控件的时候,在第一位置和第二位置形成触感,进而使功能控件可以给到用户一种触觉反馈, 方便用户对电子设备功能控件的控制。
另外,通过确定与所述功能控件所处显示方式关联的电流输出模式,按照显示方式关联的电流输出模式控制所述功能控件的显示区域中显示位置的电流输出。从而可以根据所述功能控件所处显示方式关联的电流输出模式,控制所述功能控件的显示区域中显示位置的电流输出,使得其显示区域的输出电流与所述功能控件所处显示方式相匹配,进而模拟出所述功能控件当前功能状态的触感。
需要说明的是,用户可对第一电流阈值进行参数设定,以设置功能控件的触感高度,或者也可以根据移动终端中提供的常用开关控件类型来确定第一电流阈值,以确定功能控件的触感高度。
可选地,在功能控件以第一方式显示的情况下,移动终端可以接收针对功能控件的第一输入,并响应该第一输入,控制功能控件的显示方式。具体的,所述步骤102包括:
响应于所述第一输入,获取所述第一位置检测到的第一压力值,及所述第二位置检测到的第二压力值;
在所述第二压力值大于所述第一压力值,且所述第二压力值大于或等于第一阈值的情况下,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流。
所述第一输入可以是在用户手指靠近或接触功能控件过程而施加压力在功能控件上的操作。
具体的,移动终端检测针对所述功能控件的第一输入,响应于所述第一输入,获取在所述第一位置检测到的第一压力值以及在所述第二位置检测到的第二压力值;并根据所述第一压力值和所述第二压力值,控制所述功能控件的显示方式。
其中,根据所述第一压力值和所述第二压力值,可以有多种控制方式控制所述功能控件的显示方式。比如,切换所述功能控件的显示方式;又比如,保持所述功能控件的显示方式;还比如,控制所述功能控件的显示方式处于功能空置的功能状态。
在一可选实施例中,在所述第二压力值大于所述第一压力值,且所述第 二压力值大于或等于第一阈值的情况下,将功能控件的显示方式从第一方式切换至第二方式,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流。
可选地,所述获取所述第一位置检测到的第一压力值,及所述第二位置检测到的第二压力值之后,所述方法还包括:
在所述第二压力值大于所述第一压力值,且所述第二压力值小于所述第一阈值的情况下,以第三方式显示所述功能控件,并在所述第一位置输出第三电流,在所述第二位置输出第四电流;
其中,所述第三电流等于所述第四电流。
在一可选实施例中,在所述第二压力值大于所述第一压力值,且所述第二压力值小于所述第一阈值的情况下,若所述第一输入未结束,则将所述功能控件的显示方式切换至第三方式,以第三方式显示所述功能控件,并按照第三方式关联的电流输出模式控制功能控件的显示区域中显示位置输出电流,即在所述第一位置输出第三电流,在所述第二位置输出第四电流。若所述第一输入已结束,则将所述第三方式切换至所述第一输入之前所述功能控件的显示方式即第一方式。
在另一可选实施例中,在所述第二压力值小于或等于所述第一压力值的情况下,保持所述功能控件的显示方式不变;
其中,所述第一方式用于对所述功能控件的第一功能状态进行指示,所述第二方式用于对所述功能控件的第二功能状态进行指示,所述第三方式用于对所述功能控件的功能状态进行切换指示。
例如,功能控件处于第一方式,第一方式用于指示该功能控件处于功能开启的功能状态,即“开”侧低,“关”侧高。如果用户直接在“关”侧施加压力,且施加的压力超过了功能切换的压力阈值即第一阈值,则直接切换功能控件的显示方式至第二方式,第二方式用于指示该功能控件处于功能关闭的功能状态,即将功能控件如图2所示的显示方式切换至如图3所示的显示方式。
如果用户在“关”侧施加压力,但是施加的压力未超过功能切换的压力阈值即第一阈值,则将所述功能控件的显示方式切换至第三方式,其中,所 述第三方式用于指示该功能控件处于功能空置的功能状态。参见图7,图7是功能控件的显示效果图之三,如图7所示,该功能控件处于第三方式。
参见图8,图8是功能控件的显示区域中各显示位置的输出电流效果图之二,如图8所示,功能控件的显示方式为第三方式时,“开”侧的输出电流即第三电流等于“关”侧的输出电流即第四电流。
所述第三方式还用于对所述功能控件的功能状态进行切换指示,也就是说,所述功能控件的显示方式处于第三方式时,可以指示用户在“关”侧施加的压力不够,达不到切换的条件,指示用户若要实现状态切换,可以在“关”侧施加更大的压力。
为了实时进行切换指示,移动终端可以控制所述功能控件进行滑动显示,在用户在“关”侧施加的压力逐渐增大,移动终端可以控制所述功能控件逐渐将向“关”侧滑动。当在“关”侧施加的压力超过了第一阈值时,则将功能控件切换至如图3所示的显示方式。
如果用户在功能控件处于第三方式结束第一输入,则将所述第三方式恢复至所述第一输入之前所述功能控件的显示方式,即恢复至如图2所示的显示方式。
如果用户直接在“开”侧施加压力,即使在“开”侧施加很大的压力,并使得压力通过屏幕扩张到“关”侧,使得“关”侧的压力超过了第一阈值,由于“开”侧的压力大于“关”侧的压力,则不会切换功能控件的显示方式,而是仍然保持功能控件处于第一方式,即保持功能控件如图2所示的显示方式。
如果用户在“开”侧和“关”侧之间的第三位置施加压力,则根据压力通过屏幕扩张到“开”侧的压力和“关”侧的压力,确定并控制功能控件的显示方式。
需要说明的是,用户可对第一阈值进行参数设定,以设置功能控件的模拟受力参数,或者也可以根据移动终端中提供的常用开关控件类型来确定第一阈值,以确定功能控件的模拟受力参数。
可选地,所述第二电流小于所述第一电流,所述响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流, 在所述功能控件的第二位置输出第二电流之后,所述方法还包括:
接收针对所述功能控件的第二输入;
响应于所述第二输入,以所述第一方式显示所述功能控件,并在所述第一位置输出第五电流,在所述第二位置输出第六电流;
其中,所述第五电流小于所述第六电流。
本实施例中,在所述功能控件所处显示方式为第二方式,且在所述第二方式关联的第二电流输出模式下,所述第一电流大于所述第二电流的情况下,接收针对所述功能控件的第二输入,其中,所述第二输入为针对所述第一位置的触控输入;或者,由所述第二位置滑动至所述第一位置的滑动输入。
响应于所述第二输入,控制所述功能状态的显示方式。
具体的,在所述第一压力值大于所述第二压力值,且所述第一压力值大于或等于第二阈值的情况下,切换所述功能控件的显示方式至第一方式。并按照所述第一方式关联的电流输出模式控制功能控件的显示区域中显示位置输出电流,即在所述第一位置输出第五电流,在所述第二位置输出第六电流,所述第五电流小于所述第六电流。
在所述第一压力值大于所述第二压力值,且所述第一压力值小于所述第二阈值的情况下,若所述第二输入未结束,则控制所述功能控件的显示方式为第三方式,若所述第二输入已结束,则将所述第三方式恢复至所述第二输入之前所述功能控件的显示方式;
在所述第一压力值小于或等于所述第二压力值的情况下,保持所述功能控件的显示方式不变;
其中,所述第一方式用于对所述功能控件的第一功能状态进行指示,所述第二方式用于对所述功能控件的第二功能状态进行指示,所述第三方式用于对所述功能控件的功能状态进行切换指示。
例如,当前功能控件处于第二方式,第二方式用于指示该功能控件处于功能关闭的功能状态,即“关”侧低,“开”侧高。如果用户直接在“开”侧施加压力,且施加的压力超过了功能切换的压力阈值即第二阈值,则直接切换功能控件的显示方式至第一方式,第一方式用于指示该功能控件处于功能开启的功能状态,即将功能控件如图3所示的显示方式切换至如图2所示的 显示方式。
如果用户在“开”侧施加压力,但是施加的压力未超过功能切换的第二阈值,则将所述功能控件的显示方式切换至第三方式,其中,所述第三方式用于指示该功能控件处于功能空置的功能状态,如图7所示。
所述第三方式还用于对所述功能控件的功能状态进行切换指示,也就是说,所述功能控件的显示方式处于第三方式时,可以指示用户在“开”侧施加的压力不够,达不到切换的条件,指示用户若要实现状态切换,可以在“开”侧施加更大的压力。
为了实时进行切换指示,移动终端可以控制所述功能控件进行滑动显示,在用户在“开”侧施加的压力逐渐增大,移动终端可以控制所述功能控件逐渐将向“开”侧滑动。当在“开”侧施加的压力超过了第二阈值时,则将功能控件切换至如图2所示的显示方式。
如果用户在功能控件处于第三方式时结束第二输入,则将所述第三方式恢复至所述第二输入之前所述功能控件的显示方式,即恢复至如图3所示的显示方式。
如果用户直接在“关”侧施加压力,即使在“关”侧施加很大的压力,并使得压力通过屏幕扩张到“开”侧,使得“开”侧的压力超过了第二阈值,由于“关”侧的压力大于“开”侧的压力,则不会切换功能控件的显示方式,而是仍然保持功能控件处于功能关闭的功能状态,即保持功能控件如图3所示的显示方式。
如果用户在“开”侧和“关”侧之间的第三位置施加压力,则根据压力通过屏幕扩张到“开”侧的压力和“关”侧的压力,确定并控制功能控件的显示方式。
需要说明的是,用户可对第二阈值进行参数设定,以设置功能控件的模拟受力参数,或者也可以根据移动终端中提供的常用开关控件类型来确定第二阈值,以确定功能控件的模拟受力参数。
可选地,所述第一输入为以下任一项:
针对所述第一位置或所述第二位置的触控输入;
由所述第一位置滑动至所述第二位置的滑动输入;
由所述第二位置滑动至所述第一位置的滑动输入。
另外,在响应第一输入或第二输入的同时,可以加上声音提示,以增加用户的感官体验,使得用户体验更加友好和丰富。
需要说明的是,本发明实施例中介绍的多种可选的实施方式,彼此可以相互结合实现,也可以单独实现,对此本发明实施例不作限定。
下面对本发明实施例提供的电子设备进行详细说明。
参见图9,图9是本发明实施例提供的电子设备的结构图,如图9所示,电子设备900包括:
第一接收模块901,用于在功能控件以第一方式显示的情况下,接收针对所述功能控件的第一输入;
第一显示模块902,用于响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流;
其中,所述第一输入的输入位置包括所述第一位置和所述第二位置中的至少一项。
可选地,所述第一显示模块902包括:
获取单元,用于响应于所述第一输入,获取所述第一位置检测到的第一压力值,及所述第二位置检测到的第二压力值;
显示单元,用于在所述第二压力值大于所述第一压力值,且所述第二压力值大于或等于第一阈值的情况下,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流。
可选地,所述电子设备还包括:
第二显示模块,用于在所述第二压力值大于所述第一压力值,且所述第二压力值小于所述第一阈值的情况下,以第三方式显示所述功能控件,并在所述第一位置输出第三电流,在所述第二位置输出第四电流;
其中,所述第三电流等于所述第四电流。
可选地,所述第二电流小于所述第一电流,所述电子设备还包括:
第二接收模块,接收针对所述功能控件的第二输入;
第三显示模块,用于响应于所述第二输入,以所述第一方式显示所述功能控件,并在所述第一位置输出第五电流,在所述第二位置输出第六电流;
其中,所述第五电流小于所述第六电流。
可选地,所述第一输入为以下任一项:
针对所述第一位置或所述第二位置的触控输入;
由所述第一位置滑动至所述第二位置的滑动输入;
由所述第二位置滑动至所述第一位置的滑动输入。
本发明实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
所述电子设备可以为移动终端,图10是实现本发明各个实施例的一种移动终端的硬件结构示意图。
该移动终端1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、处理器1010、以及电源1011等部件。本领域技术人员可以理解,图10中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,处理器1010,用于:
在功能控件以第一方式显示的情况下,接收针对所述功能控件的第一输入;
响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流;
其中,所述第一输入的输入位置包括所述第一位置和所述第二位置中的至少一项。
可选地,处理器1010,还用于:
响应于所述第一输入,获取所述第一位置检测到的第一压力值,及所述第二位置检测到的第二压力值;
在所述第二压力值大于所述第一压力值,且所述第二压力值大于或等于 第一阈值的情况下,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流。
可选地,处理器1010,还用于:
在所述第二压力值大于所述第一压力值,且所述第二压力值小于所述第一阈值的情况下,以第三方式显示所述功能控件,并在所述第一位置输出第三电流,在所述第二位置输出第四电流;
其中,所述第三电流等于所述第四电流。
可选地,所述第二电流小于所述第一电流,处理器1010,还用于:
接收针对所述功能控件的第二输入;
响应于所述第二输入,以所述第一方式显示所述功能控件,并在所述第一位置输出第五电流,在所述第二位置输出第六电流;
其中,所述第五电流小于所述第六电流。
可选地,所述第一输入为以下任一项:
针对所述第一位置或所述第二位置的触控输入;
由所述第一位置滑动至所述第二位置的滑动输入;
由所述第二位置滑动至所述第一位置的滑动输入。
应理解的是,本发明实施例中,射频单元1001可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1010处理;另外,将上行的数据发送给基站。通常,射频单元1001包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1001还可以通过无线通信系统与网络和其他设备通信。
移动终端通过网络模块1002为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元1003可以将射频单元1001或网络模块1002接收的或者在存储器1009中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1003还可以提供与移动终端1000执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1003包括扬声器、蜂鸣器以及受话器等。
输入单元1004用于接收音频或视频信号。输入单元1004可以包括图形 处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1006上。经图形处理器10041处理后的图像帧可以存储在存储器1009(或其它存储介质)中或者经由射频单元1001或网络模块1002进行发送。麦克风10042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1001发送到移动通信基站的格式输出。
移动终端1000还包括至少一种传感器1005,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板10061的亮度,接近传感器可在移动终端1000移动到耳边时,关闭显示面板10061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1005还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元1006用于显示由用户输入的信息或提供给用户的信息。显示单元1006可包括显示面板10061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板10061。
用户输入单元1007可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板10071上或在触控面板10071附近的操作)。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸 控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1010,接收处理器1010发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板10071。除了触控面板10071,用户输入单元1007还可以包括其他输入设备10072。具体地,其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板10071可覆盖在显示面板10061上,当触控面板10071检测到在其上或附近的触摸操作后,传送给处理器1010以确定触摸事件的类型,随后处理器1010根据触摸事件的类型在显示面板10061上提供相应的视觉输出。虽然在图10中,触控面板10071与显示面板10061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板10071与显示面板10061集成而实现移动终端的输入和输出功能,具体此处不做限定。
接口单元1008为外部装置与移动终端1000连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1008可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端1000内的一个或多个元件或者可以用于在移动终端1000和外部装置之间传输数据。
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1009可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器1010是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器1009内的软件程序和/或模块,以及调用存储在存储器1009内的数据,执行移动终端的各种功能和处理 数据,从而对移动终端进行整体监控。处理器1010可包括一个或多个处理单元;可选地,处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
移动终端1000还可以包括给各个部件供电的电源1011(比如电池),可选地,电源1011可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,移动终端1000包括一些未示出的功能模块,在此不再赘述。
可选地,本发明实施例还提供一种移动终端,包括处理器1010,存储器1009,存储在存储器1009上并可在所述处理器1010上运行的计算机程序,该计算机程序被处理器1010执行时实现上述控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的 划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。
Claims (13)
- 一种控制方法,应用于电子设备,所述方法包括:在功能控件以第一方式显示的情况下,接收针对所述功能控件的第一输入;响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流;其中,所述第一输入的输入位置包括所述第一位置和所述第二位置中的至少一项。
- 根据权利要求1所述的方法,其中,所述响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流,包括:响应于所述第一输入,获取所述第一位置检测到的第一压力值,及所述第二位置检测到的第二压力值;在所述第二压力值大于所述第一压力值,且所述第二压力值大于或等于第一阈值的情况下,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流。
- 根据权利要求2所述的方法,其中,所述获取所述第一位置检测到的第一压力值,及所述第二位置检测到的第二压力值之后,所述方法还包括:在所述第二压力值大于所述第一压力值,且所述第二压力值小于所述第一阈值的情况下,以第三方式显示所述功能控件,并在所述第一位置输出第三电流,在所述第二位置输出第四电流;其中,所述第三电流等于所述第四电流。
- 根据权利要求1至3中任一项所述的方法,其中,所述第二电流小于所述第一电流,所述响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流之后,所述方法还包括:接收针对所述功能控件的第二输入;响应于所述第二输入,以所述第一方式显示所述功能控件,并在所述第 一位置输出第五电流,在所述第二位置输出第六电流;其中,所述第五电流小于所述第六电流。
- 根据权利要求1所述的方法,其中,所述第一输入为以下任一项:针对所述第一位置或所述第二位置的触控输入;由所述第一位置滑动至所述第二位置的滑动输入;由所述第二位置滑动至所述第一位置的滑动输入。
- 一种电子设备,包括:第一接收模块,用于在功能控件以第一方式显示的情况下,接收针对所述功能控件的第一输入;第一显示模块,用于响应于所述第一输入,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流;其中,所述第一输入的输入位置包括所述第一位置和所述第二位置中的至少一项。
- 根据权利要求6所述的电子设备,其中,所述第一显示模块包括:获取单元,用于响应于所述第一输入,获取所述第一位置检测到的第一压力值,及所述第二位置检测到的第二压力值;显示单元,用于在所述第二压力值大于所述第一压力值,且所述第二压力值大于或等于第一阈值的情况下,以第二方式显示所述功能控件,并在所述功能控件的第一位置输出第一电流,在所述功能控件的第二位置输出第二电流。
- 根据权利要求7所述的电子设备,其中,所述电子设备还包括:第二显示模块,用于在所述第二压力值大于所述第一压力值,且所述第二压力值小于所述第一阈值的情况下,以第三方式显示所述功能控件,并在所述第一位置输出第三电流,在所述第二位置输出第四电流;其中,所述第三电流等于所述第四电流。
- 根据权利要求6至8中任一项所述的电子设备,其中,所述第二电流小于所述第一电流,所述电子设备还包括:第二接收模块,接收针对所述功能控件的第二输入;第三显示模块,用于响应于所述第二输入,以所述第一方式显示所述功能控件,并在所述第一位置输出第五电流,在所述第二位置输出第六电流;其中,所述第五电流小于所述第六电流。
- 根据权利要求6所述的电子设备,其中,所述第一输入为以下任一项:针对所述第一位置或所述第二位置的触控输入;由所述第一位置滑动至所述第二位置的滑动输入;由所述第二位置滑动至所述第一位置的滑动输入。
- 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的控制方法的步骤。
- 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的控制方法的步骤。
- 一种电子设备,被配置成执行如权利要求1至5中任一项所述的控制方法的步骤。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP21788471.7A EP4137915A4 (en) | 2020-04-13 | 2021-04-06 | CONTROL METHOD AND ELECTRONIC DEVICE |
US17/958,613 US11928260B2 (en) | 2020-04-13 | 2022-10-03 | Control method and electronic device having touch positions with different pressure value |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010286106.8 | 2020-04-13 | ||
CN202010286106.8A CN111506191B (zh) | 2020-04-13 | 2020-04-13 | 控制方法及电子设备 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/958,613 Continuation US11928260B2 (en) | 2020-04-13 | 2022-10-03 | Control method and electronic device having touch positions with different pressure value |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021208769A1 true WO2021208769A1 (zh) | 2021-10-21 |
Family
ID=71875990
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/085544 WO2021208769A1 (zh) | 2020-04-13 | 2021-04-06 | 控制方法及电子设备 |
Country Status (4)
Country | Link |
---|---|
US (1) | US11928260B2 (zh) |
EP (1) | EP4137915A4 (zh) |
CN (1) | CN111506191B (zh) |
WO (1) | WO2021208769A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111506191B (zh) | 2020-04-13 | 2024-04-26 | 维沃移动通信有限公司 | 控制方法及电子设备 |
US11610459B2 (en) * | 2020-04-13 | 2023-03-21 | Google Llc | Factory and user calibration of haptic systems |
CN117170545B (zh) * | 2022-06-10 | 2024-08-27 | 荣耀终端有限公司 | 开关控件的显示方法及电子设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107656620A (zh) * | 2017-09-26 | 2018-02-02 | 网易(杭州)网络有限公司 | 虚拟对象控制方法、装置、电子设备及存储介质 |
US20190025958A1 (en) * | 2011-10-17 | 2019-01-24 | Sony Mobile Communications Inc. | Information processing apparatus configured to control an application based on an input mode supported by the application |
CN109445600A (zh) * | 2018-11-14 | 2019-03-08 | Oppo广东移动通信有限公司 | 触觉反馈方法、装置、终端及计算机可读存储介质 |
CN110764675A (zh) * | 2019-10-11 | 2020-02-07 | 维沃移动通信有限公司 | 一种控制方法及电子设备 |
CN111506191A (zh) * | 2020-04-13 | 2020-08-07 | 维沃移动通信有限公司 | 控制方法及电子设备 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7608948B2 (en) * | 2006-06-20 | 2009-10-27 | Lutron Electronics Co., Inc. | Touch screen with sensory feedback |
JP2008033739A (ja) * | 2006-07-31 | 2008-02-14 | Sony Corp | 力覚フィードバックおよび圧力測定に基づくタッチスクリーンインターラクション方法および装置 |
US20120327006A1 (en) * | 2010-05-21 | 2012-12-27 | Disney Enterprises, Inc. | Using tactile feedback to provide spatial awareness |
CN103649885B (zh) * | 2012-04-27 | 2017-03-01 | 松下知识产权经营株式会社 | 触觉提示装置、触觉提示方法、驱动信号生成装置以及驱动信号生成方法 |
US9063570B2 (en) * | 2012-06-27 | 2015-06-23 | Immersion Corporation | Haptic feedback control system |
US9330544B2 (en) * | 2012-11-20 | 2016-05-03 | Immersion Corporation | System and method for simulated physical interactions with haptic effects |
CN103869940B (zh) * | 2012-12-13 | 2018-02-16 | 富泰华工业(深圳)有限公司 | 触感反馈系统、电子装置及其提供触感反馈的方法 |
CN103869960B (zh) * | 2012-12-18 | 2018-02-23 | 富泰华工业(深圳)有限公司 | 触感反馈系统及其提供触感反馈的方法 |
KR102404636B1 (ko) * | 2017-05-16 | 2022-06-02 | 애플 인크. | 사용자 인터페이스들을 위한 촉각 피드백 |
CN109240575A (zh) * | 2018-08-28 | 2019-01-18 | 维沃移动通信有限公司 | 一种屏幕控制方法及电子设备 |
CN109634430A (zh) * | 2019-01-04 | 2019-04-16 | Oppo广东移动通信有限公司 | 消息提醒方法、装置、电子设备及存储介质 |
-
2020
- 2020-04-13 CN CN202010286106.8A patent/CN111506191B/zh active Active
-
2021
- 2021-04-06 WO PCT/CN2021/085544 patent/WO2021208769A1/zh unknown
- 2021-04-06 EP EP21788471.7A patent/EP4137915A4/en active Pending
-
2022
- 2022-10-03 US US17/958,613 patent/US11928260B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190025958A1 (en) * | 2011-10-17 | 2019-01-24 | Sony Mobile Communications Inc. | Information processing apparatus configured to control an application based on an input mode supported by the application |
CN107656620A (zh) * | 2017-09-26 | 2018-02-02 | 网易(杭州)网络有限公司 | 虚拟对象控制方法、装置、电子设备及存储介质 |
CN109445600A (zh) * | 2018-11-14 | 2019-03-08 | Oppo广东移动通信有限公司 | 触觉反馈方法、装置、终端及计算机可读存储介质 |
CN110764675A (zh) * | 2019-10-11 | 2020-02-07 | 维沃移动通信有限公司 | 一种控制方法及电子设备 |
CN111506191A (zh) * | 2020-04-13 | 2020-08-07 | 维沃移动通信有限公司 | 控制方法及电子设备 |
Non-Patent Citations (1)
Title |
---|
See also references of EP4137915A4 * |
Also Published As
Publication number | Publication date |
---|---|
US20230027925A1 (en) | 2023-01-26 |
CN111506191B (zh) | 2024-04-26 |
EP4137915A1 (en) | 2023-02-22 |
EP4137915A4 (en) | 2023-09-06 |
CN111506191A (zh) | 2020-08-07 |
US11928260B2 (en) | 2024-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021208769A1 (zh) | 控制方法及电子设备 | |
WO2021068885A1 (zh) | 控制方法及电子设备 | |
WO2021098705A1 (zh) | 显示方法及电子设备 | |
WO2021204045A1 (zh) | 音频的控制方法及电子设备 | |
CN109558061B (zh) | 一种操作控制方法及终端 | |
WO2020233323A1 (zh) | 显示控制方法、终端设备及计算机可读存储介质 | |
WO2019196864A1 (zh) | 一种虚拟按键控制方法及移动终端 | |
WO2021115172A1 (zh) | 显示方法及电子设备 | |
WO2020238445A1 (zh) | 屏幕录制方法及终端 | |
WO2021004306A1 (zh) | 操作控制方法及终端 | |
JP2021536077A (ja) | 情報処理方法および端末 | |
WO2019114522A1 (zh) | 屏幕控制方法、屏幕控制装置及移动终端 | |
WO2020024770A1 (zh) | 确定通讯对象的方法及移动终端 | |
WO2021088706A1 (zh) | 应用程序的控制方法和电子设备 | |
JP7229365B2 (ja) | 権限管理方法及び端末機器 | |
WO2021208890A1 (zh) | 截屏方法及电子设备 | |
WO2021129732A1 (zh) | 显示处理方法及电子设备 | |
CN109613958A (zh) | 一种终端设备控制方法及终端设备 | |
WO2021017730A1 (zh) | 截图方法及终端设备 | |
WO2021208889A1 (zh) | 应用启动方法及电子设备 | |
WO2021238806A1 (zh) | 接口电路与电子设备 | |
WO2020125405A1 (zh) | 终端设备的控制方法及终端设备 | |
WO2021104232A1 (zh) | 显示方法及电子设备 | |
WO2020192662A1 (zh) | 操作方法及终端设备 | |
WO2020238496A1 (zh) | 图标管理方法及终端设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21788471 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2021788471 Country of ref document: EP Effective date: 20221114 |