WO2021068885A1 - Control method and electronic device - Google Patents
Control method and electronic device Download PDFInfo
- Publication number
- WO2021068885A1 WO2021068885A1 PCT/CN2020/119951 CN2020119951W WO2021068885A1 WO 2021068885 A1 WO2021068885 A1 WO 2021068885A1 CN 2020119951 W CN2020119951 W CN 2020119951W WO 2021068885 A1 WO2021068885 A1 WO 2021068885A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- screen
- identifier
- touch control
- control
- Prior art date
Links
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/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
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- 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/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
Definitions
- This application relates to the field of computer technology, in particular to a control method and electronic equipment.
- buttons on the side of the curved screen like previous electronic devices, such as , The buttons to adjust the volume and the power button, etc.
- this embodiment shows a control method and electronic device.
- control method of an electronic device includes:
- the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to turn on, or controlling the screen of the electronic device to turn off.
- an electronic device in the second aspect, an electronic device is shown, and the electronic device includes:
- the first display module is configured to display the first identifier of the virtual touch control in the edge area of the screen of the electronic device;
- a first receiving module configured to receive a first operation for the first identifier
- the second display module is configured to display the second identifier of the virtual touch control in response to the first operation
- a second receiving module configured to receive a second operation for the second identifier
- the execution module is configured to execute the target action in response to the second operation
- the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to turn on, or controlling the screen of the electronic device to turn off.
- an electronic device including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
- the computer program is executed by the processor to achieve The steps of the control method of the electronic device described in the first aspect.
- a computer-readable storage medium is shown, and a computer program is stored on the computer-readable storage medium.
- the control method of the electronic device as described in the first aspect is implemented. step.
- the first identifier of the virtual touch control is displayed, and the first operation for the first identifier is received; in response to the first operation, the second identifier of the virtual touch control is displayed; Receive a second operation for the second identifier; in response to the second operation, perform a target action; wherein the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device
- the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device
- the virtual touch control can be manipulated to realize volume adjustment and turn on and off the screen, thereby improving the user's control experience.
- FIG. 1 is a schematic flowchart of a control method of an electronic device shown in this embodiment
- FIG. 2 is a schematic diagram of a scene of a virtual touch control shown in this embodiment
- FIG. 3 is a schematic diagram of a scene of a virtual touch control shown in this embodiment
- FIG. 4 is a schematic diagram of a scene of a virtual touch control shown in this embodiment.
- FIG. 5 is a schematic diagram of a scene of a virtual touch control shown in this embodiment.
- FIG. 6 is a schematic diagram of a scene of a virtual touch control shown in this embodiment.
- FIG. 7 is a schematic diagram of a scene of a virtual touch control shown in this embodiment.
- FIG. 8 is a schematic diagram of a scene of a virtual touch control shown in this embodiment.
- FIG. 9 is a schematic diagram of a scene of a virtual touch control shown in this embodiment.
- FIG. 10 is a schematic diagram of a scene of a virtual touch control shown in this embodiment.
- FIG. 11 is a structural block diagram of an electronic device shown in this embodiment.
- FIG. 12 is a schematic diagram of the hardware structure of an electronic device shown in this embodiment.
- step S101 the first identifier of the virtual touch control is displayed on the edge area of the screen of the electronic device;
- the electronic device when the user holds the electronic device in hand, can have multiple display scenarios, for example, horizontal screen display and vertical screen display, etc.
- Figure 2 is a scene where the user controls the vertical screen display of the electronic device
- Figure 3 Control the scene displayed on the horizontal screen of the electronic device for the user.
- the control method is the same to avoid the user from changing the operation method, to avoid increasing the control burden on the user, and thus to avoid reducing the user's control experience.
- the display scene of the electronic device can be determined.
- the display scene includes the horizontal screen display and the vertical screen.
- the first edge area is determined on the screen, and the first logo of the virtual touch control is displayed in the first edge area; for example, the first edge area may be displayed on the horizontal screen
- the right edge area of the screen may optionally be a middle area included in the right edge area or an upper middle area.
- a second edge area is determined on the screen, and the first identifier of the virtual touch control is displayed in the second edge area.
- the second edge area may be a vertical screen
- the right edge area of the screen in the case of display may optionally be a middle area included in the right edge area or an upper middle area.
- FIG. 4 shows the display of virtual touch controls on the right edge area of the screen in the vertical screen posture.
- step S102 a first operation for the first identifier is received
- the user can input a first operation for the first identification, so that the electronic device displays the second identification of the virtual touch control on the screen, and the user can then follow
- the second identifier controls the electronic device to perform a target action, for example, adjusting the volume of the electronic device and/or controlling the screen of the electronic device to turn on or off.
- step S103 in response to the first operation, a second identifier of the virtual touch control is displayed;
- the user needs to control the electronic device to perform the target action according to the second identification of the virtual touch control. Therefore, after the electronic device receives the first operation for the first identification, in order to enable the user to control the electronic device to execute The target action can respond to the first operation and display the second logo of the virtual touch control. After that, the user can input the second operation for the second logo to control the electronic device to perform the target action.
- the first identifier may be part of the content of the virtual touch control, etc.
- the second identifier may be the entire content of the virtual touch control, etc.
- the user needs to control the electronic device to perform the target action, he needs to input the operation for the second mark to control the electronic device to perform the target action. Therefore, the user can input the first operation on the first mark.
- the first operation includes the long press operation or A touch operation such as a sliding operation is used to control the electronic device to display the second logo on the screen, and then a second operation can be input for the second logo to control the electronic device to control the electronic device to perform a target action according to the second operation.
- step S104 a second operation for the second identifier is received
- step S105 in response to the second operation, execute the target action
- the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to turn on, or controlling the screen of the electronic device to turn off.
- this embodiment can support user input
- the first operation of the first identification is to cause the electronic device to display the second identification of the virtual touch control, and then input the second identification for the virtual touch control to input the second operation to control the screen of the electronic device to turn on or off.
- the second operation includes a click operation
- the user can input a click operation for the second identification of the virtual touch control
- the electronic device receives the user's click operation for the second identification of the virtual touch control, and then controls the electronic device according to the click operation
- the user usually enters a click operation on the screen to control the electronic device to do other things, for example, click on the icon of an application program displayed on the screen of the electronic device to control the electronic device to start the application program.
- the icon of the application may be touched when the second logo is clicked, causing misoperation.
- the touch operation may include a continuous tap operation; in this way, for the electronic device, the screen of the electronic device can be controlled to turn on or off in response to the continuous tap operation.
- the virtual touch control includes a volume control and a screen control.
- the volume control is used to adjust the volume of the electronic device
- the screen control is used to control the screen of the electronic device to turn on or off.
- the first identifier may be the first content of the virtual touch control
- the second identifier may be the second content of the virtual touch control
- the display size of the second identifier is larger than the display size of the first identifier
- the user can input a first operation on the first logo.
- the first operation includes touch operations such as a long press operation or a sliding operation to control the electronic device to display the second logo on the screen.
- the second identifier may be the entire content of the volume control, and then a sliding operation may be input for the second identifier to control the electronic device to adjust the volume of the electronic device according to the sliding operation.
- the second identifier 2 of the volume control may be as shown in FIG. 5.
- the electronic device may respond to touch operations such as a long press operation or a sliding operation for the first identifier, and then display the second identifier of the volume control; receive the sliding operation input for the second identifier; respond to the sliding operation , Adjust the volume of electronic devices.
- adjusting the volume of an electronic device includes turning up the volume and turning down the volume. You can determine whether to turn up the volume or turn down the volume according to the direction of the sliding operation. After the entire content of the volume control is displayed, you can prompt which direction is to turn up the volume. The direction and which direction is the direction of turning down the volume, so that the user can know which direction is the direction of turning up the volume and which direction is the direction of turning down the volume, so as to avoid adjustment errors.
- the virtual touch controls include volume controls and screen controls.
- the first identifier of the virtual touch control is included, and the first identifier of the virtual touch control includes the first identifier 3 of the volume control and the first identifier 4 of the screen control.
- the user can input touch operations such as sliding operations for the first identification of the screen control to control the electronic device to display the second identification of the screen control on the screen. Then, a click operation can be input on the second identification of the screen control to control the screen of the electronic device to turn on or off.
- a touch operation such as a sliding operation to display the second identification of the screen control; receive a click operation for the second identification of the screen control; and control the screen of the electronic device to turn on or off in response to the click operation.
- the second identification 5 of the volume control and the second identification 6 of the screen control can be seen in FIG. 7.
- the first identifier of the virtual touch control is displayed, and the first operation for the first identifier is received; in response to the first operation, the second identifier of the virtual touch control is displayed; Receive a second operation for the second identifier; in response to the second operation, perform a target action; wherein the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device
- the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device
- the virtual touch control can be manipulated to realize volume adjustment and turn on and off the screen, thereby improving the user's control experience.
- the user can input a second operation for the second identifier, the second operation includes a touch operation such as a sliding operation, for example, the operation
- the second operation includes a touch operation such as a sliding operation, for example, the operation
- the body contacts the second mark, and then moves the operating body to a preset area on the screen, and controls the operating body to leave the screen from the preset area, so that the screen of the electronic device can be controlled to turn on or off.
- the electronic device it can be determined whether the end position of the sliding operation is located in the preset area of the screen; in the case that the end position is located in the preset area on the screen, the screen of the electronic device is controlled to turn on or off.
- the virtual touch control includes a volume control.
- the second identification of the volume control can also be displayed at the same time, so as to facilitate the user to adjust the electronic volume by operating the second identification of the volume control.
- the volume of the device is a volume control.
- the user when the user first uses the method of this embodiment to control the screen of the electronic device to turn on or off, he may not know the position of the preset area on the screen. Therefore, it may take multiple attempts to slide to find the preset. The location of the area on the screen, but the process of multiple attempts to slide will take a long time, thereby reducing the efficiency of controlling the screen of the electronic device to turn on or off.
- the position of the preset area on the screen may be prompted when the sliding operation is received, or the position of the preset area on the screen may be prompted when the operating body slides to the edge of the preset area. position.
- one way is to input a sliding operation on the second logo to adjust the volume of the electronic device
- the other way is to adjust the volume of the electronic device in an area that includes the second logo and is larger than the second logo.
- the internal input sliding operation adjusts the volume of the electronic device, which can increase the area for outputting touch operations, thereby making it more convenient for users to operate.
- the shape of the virtual touch control includes at least a disc shape and a columnar strip shape.
- the first identification of the virtual touch control showing the columnar bar may be as shown in FIG. 4, FIG. 6 and FIG. 8, and the second identification of the virtual touch control showing the bar bar may be shown in FIGS. 5 and 8.
- the second identification 7 of the disc-shaped virtual touch control may be as shown in FIG. 9, and the second identification 8 of the disc-shaped virtual touch control may be as shown in FIG. 10.
- the vibrator in the electronic device can also be controlled to vibrate, so that the user can know that the electronic device is adjusting the volume of the electronic device according to the feeling of vibration.
- the vibration frequency of the vibrator can be adjusted in real time according to the volume of the terminal.
- a larger volume corresponds to a higher vibration frequency
- a smaller volume corresponds to a lower vibration frequency. Therefore, in the process of turning up the volume of the electronic device, the vibration frequency of the vibrator can be continuously increased, and in the process of turning down the volume of the electronic device, the vibration frequency of the vibrator can be continuously reduced. It can be known whether the electronic device is turning up the volume of the electronic device or turning down the volume of the electronic device.
- the second logo that displays the virtual touch control often needs to occupy part of the screen area, which will affect the screen to display other content in this part of the area, because this part of the area is often when the user needs to adjust the volume of the electronic device. Or control the screen of the electronic device to be temporarily allocated to the virtual touch control when the screen of the electronic device is turned on or off. Therefore, in order to improve the utilization of this part of the area, the user no longer needs to control the volume of the electronic device or control the screen of the electronic device When turned on or off, the second identification of the virtual touch control can be hidden and the first identification of the virtual touch control can be displayed, so that the electronic device can display other content in this part of the area.
- the area occupied by the second identifier of the virtual touch control on the screen is larger than the area occupied by the first identifier of the virtual touch control on the screen.
- the touch operation on the second identifier of the virtual touch control is not received within the preset time, it means that the user may no longer have the screen to adjust the volume of the electronic device or control the electronic device.
- the second identifier of the virtual touch control may be hidden and the first identifier of the virtual touch control may be displayed ;
- the preset direction includes a direction pointing to the edge of the screen with the second identifier of the virtual touch control as a starting point.
- the second identifier of the virtual touch control is hidden and the first identifier of the virtual touch control is displayed.
- the screen of the electronic device can be controlled to go off, and the virtual control control can also be no longer displayed on the screen, for example, the first identification of the virtual control control can be hidden .
- the electronic device needs to display the first identification of the virtual control control again on the screen. Repeatedly displaying or hiding the first identification of the virtual control control will reduce the life of the screen.
- the first logo that can control the virtual control control is still displayed on the edge area of the screen, that is, when the screen is changed to the off state, continue
- the first identifier of the virtual touch control is displayed in the edge area, and the first identifier of the virtual touch control can be directly operated when the user needs to adjust the volume of the electronic device or control the screen of the electronic device to turn on or off.
- the screen when the screen is in the off state, if the first logo of the virtual control control is displayed on the edge area of the screen for a long time, the screen may be damaged and the power consumption of the electronic device may also be increased.
- every time the electronic device displays the first identifier of the virtual touch control in the edge area of the screen it displays the first identifier of the virtual touch control at a specific position in the edge area of the screen.
- the user can reset the first identification display area of the virtual control control so that the electronic device will display the virtual touch control's
- the user can set the first identification of the virtual touch control in the display area to facilitate the user to manipulate the first identification of the virtual touch control in the display area.
- the user can input a movement operation on the second identifier of the virtual touch control, and the electronic device receives the movement operation on the second identifier of the virtual touch control; Then, in response to the moving operation, the default display area of the second mark of the virtual touch control on the screen is adjusted.
- the screen is in the off state, if the posture information of the electronic device is detected to change, the user often needs to manipulate the electronic device, such as controlling the electronic device to light up or adjusting the volume of the electronic device, etc., so that it can be displayed on the screen.
- the first identifier of the virtual touch control is displayed in the default display area.
- FIG. 11 a structural block diagram of an electronic device of the present application is shown, and the electronic device includes:
- the first display module 11 is configured to display the first identifier of the virtual touch control in the edge area of the screen of the electronic device;
- the first receiving module 12 is configured to receive a first operation for the first identifier
- the second display module 13 is configured to display the second identifier of the virtual touch control in response to the first operation
- the second receiving module 14 is configured to receive a second operation for the second identifier
- the execution module 15 is configured to execute the target action in response to the second operation
- the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to turn on, or controlling the screen of the electronic device to turn off.
- the first display module includes:
- the first determining unit is configured to determine a first edge area on the screen when the electronic device is displayed on the horizontal screen, and the first display unit is configured to display the virtual The first identification of the touch control;
- the second determining unit is configured to determine a second edge area on the screen when the electronic device is displayed on the vertical screen, and the second display unit is configured to display the virtual The first identifier of the touch control.
- the second operation includes a sliding operation
- Execution modules include:
- a third determining unit configured to determine whether the end position of the sliding operation is within a preset area of the screen
- the control unit is configured to control the screen of the electronic device to turn on or off when the end position is within the preset area of the screen.
- the execution module further includes:
- the prompt unit is configured to prompt the position of the preset area on the screen when the sliding operation is received.
- the electronic device further includes:
- the first display module is further configured to continue to display the first identifier of the virtual touch control in the edge area when the screen is changed to the off state;
- the hiding module is configured to hide the first identifier of the virtual touch control on the screen if the posture information of the electronic device has not changed within a preset time period after the screen is changed to the off state.
- the first identifier of the virtual touch control is displayed, and the first operation for the first identifier is received; in response to the first operation, the second identifier of the virtual touch control is displayed; Receive a second operation for the second identifier; in response to the second operation, perform a target action; wherein the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device
- the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device
- the virtual touch control can be manipulated to achieve control volume adjustment and turn on and off the screen, so as to improve the user's control experience.
- FIG. 12 it is a schematic diagram of the hardware structure of an electronic device that implements each embodiment of the present application.
- the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power supply 511 and other components.
- a radio frequency unit 501 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power supply 511 and other components.
- Those skilled in the art can understand that the structure of the electronic device shown in FIG. 12 does not constitute a limitation on the electronic device.
- the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
- electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers,
- the processor 510 is configured to display the first identifier of the virtual touch control in the edge area of the screen of the electronic device; receive a first operation directed to the first identifier; in response to the first operation, display the virtual touch control A second identification; receiving a second operation directed to the second identification; in response to the second operation, executing a target action; wherein the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device Turn on, or control the screen of the electronic device to go out.
- the first identifier of the virtual touch control is displayed, and the first operation for the first identifier is received; in response to the first operation, the second identifier of the virtual touch control is displayed; Receive a second operation for the second identifier; in response to the second operation, perform a target action; wherein the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device
- the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device
- the virtual touch control can be manipulated to achieve control volume adjustment and turn on and off the screen, so as to improve the user's control experience.
- the radio frequency unit 501 can be used for receiving and sending signals during information transmission or communication. Specifically, the downlink data from the base station is received and processed by the processor 510; in addition, Uplink data is sent to the base station.
- the radio frequency unit 501 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 501 can also communicate with the network and other devices through a wireless communication system.
- the electronic device provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
- the audio output unit 503 may convert the audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic device 500 (for example, call signal reception sound, message reception sound, etc.).
- the audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
- the input unit 504 is used to receive audio or video signals.
- the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042.
- the graphics processor 5041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
- the data is processed.
- the processed image frame may be displayed on the display unit 506.
- the image frame processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or sent via the radio frequency unit 501 or the network module 502.
- the microphone 5042 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 501 for output in the case of a telephone call mode.
- the electronic device 500 further includes at least one sensor 505, 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 5061 according to the brightness of the ambient light.
- the proximity sensor can close the display panel 5061 and the display panel 5061 when the electronic device 500 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 electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 505 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 506 is used to display information input by the user or information provided to the user.
- the display unit 506 may include a display panel 5061, and the display panel 5061 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 507 may be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the electronic device.
- the user input unit 507 includes a touch panel 5071 and other input devices 5072.
- the touch panel 5071 also known as a touch screen, can collect the user's 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 5071 or near the touch panel 5071. operating).
- the touch panel 5071 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 510, the command sent by the processor 510 is received and executed.
- the touch panel 5071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
- the user input unit 507 may also include other input devices 5072.
- other input devices 5072 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 5071 can cover the display panel 5061.
- the touch panel 5071 detects a touch operation on or near it, it transmits it to the processor 510 to determine the type of the touch event, and then the processor 510 determines the type of the touch event according to the touch.
- the type of event provides corresponding visual output on the display panel 5061.
- the touch panel 5071 and the display panel 5061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated
- the implementation of the input and output functions of the electronic device is not specifically limited here.
- the interface unit 508 is an interface for connecting an external device and the electronic device 500.
- 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 508 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 electronic device 500 or can be used to connect the electronic device 500 to an external device. Transfer data between devices.
- the memory 509 can be used to store software programs and various data.
- the memory 509 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 electronic equipment (such as audio data, phone book, etc.), etc.
- the memory 509 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 510 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 509, and calls data stored in the memory 509 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
- the processor 510 may include one or more processing units; optionally, the processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
- the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510.
- the electronic device 500 may also include a power source 511 (such as a battery) for supplying power to various components.
- a power source 511 such as a battery
- the power source 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
- the electronic device 500 includes some functional modules not shown, which will not be repeated here.
- an embodiment of the present application further provides an electronic device, including a processor 510, a memory 509, a computer program stored in the memory 509 and running on the processor 510, and the computer program is executed by the processor 510
- an electronic device including a processor 510, a memory 509, a computer program stored in the memory 509 and running on the processor 510, and the computer program is executed by the processor 510
- the embodiments of the present application also provide 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 electronic device control method embodiment is realized, and the same In order to avoid repetition, I won’t repeat them 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 technical solution of this application essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) )
- a storage medium such as ROM/RAM, magnetic disk, optical disk
- a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Provided in the present application are a control method and an electronic device. Displaying a first identifier of a virtual touch control at an edge region of an electronic device screen, and receiving a first operation on the first identifier; in response to the first operation, displaying a second identifier of a virtual touch control; receiving a second operation on the second identifier; in response to the second operation, executing a target action.
Description
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年10月11日在中国提交的中国专利申请号No.201910963614.2的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201910963614.2 filed in China on October 11, 2019, the entire content of which is incorporated herein by reference.
本申请涉及计算机技术领域,特别是涉及一种控制方法及电子设备。This application relates to the field of computer technology, in particular to a control method and electronic equipment.
随着技术的飞速发展,曲面屏电子设备陆续面世,但是由于曲面屏和电子设备其他结构需要结合,外形上实现一体化,因此,无法像以前的电子设备一样在曲面屏侧面设置物理按键,例如,调节音量的按键以及电源键等。With the rapid development of technology, curved screen electronic devices have appeared one after another. However, because the curved screen and other structures of the electronic device need to be combined and integrated in appearance, it is impossible to set physical buttons on the side of the curved screen like previous electronic devices, such as , The buttons to adjust the volume and the power button, etc.
如此,用户在使用曲面屏电子设备时,是无法通过侧面的物理按键来调节音量以及控制屏幕点亮或熄灭的,用户需要使用其他操控方式来调节音量以及控制屏幕点亮或熄灭,但是这需要用户较大程度更改已经习惯的操控方式,这对用户非常不友好,会大大降低用户操控时的操控体验。In this way, when using a curved screen electronic device, the user cannot adjust the volume and control the screen on or off through the physical buttons on the side. The user needs to use other control methods to adjust the volume and control the screen on or off, but this requires The user changes the control method he has become accustomed to to a large extent, which is very unfriendly to the user and will greatly reduce the user's control experience during manipulation.
发明内容Summary of the invention
为了避免降低用户操控电子设备时的操控体验,本实施例示出了一种控制方法及电子设备。In order to avoid reducing the user's control experience when manipulating the electronic device, this embodiment shows a control method and electronic device.
第一方面,示出了一种电子设备的控制方法,所述方法包括:In the first aspect, a control method of an electronic device is shown, and the method includes:
在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识;On the edge area of the screen of the electronic device, display the first identifier of the virtual touch control;
接收针对所述第一标识的第一操作;Receiving a first operation for the first identifier;
响应所述第一操作,显示虚拟触控控件的第二标识;In response to the first operation, display the second identifier of the virtual touch control;
接收针对所述第二标识的第二操作;Receiving a second operation for the second identifier;
响应所述第二操作,执行目标动作;In response to the second operation, execute the target action;
其中,所述目标动作包括调节所述电子设备的音量,或控制所述电子设备的屏幕点亮,或控制所述电子设备的屏幕熄灭。Wherein, the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to turn on, or controlling the screen of the electronic device to turn off.
第二方面,示出了一种电子设备,所述电子设备包括:In the second aspect, an electronic device is shown, and the electronic device includes:
第一显示模块,用于在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识;The first display module is configured to display the first identifier of the virtual touch control in the edge area of the screen of the electronic device;
第一接收模块,用于接收针对所述第一标识的第一操作;A first receiving module, configured to receive a first operation for the first identifier;
第二显示模块,用于响应所述第一操作,显示虚拟触控控件的第二标识;The second display module is configured to display the second identifier of the virtual touch control in response to the first operation;
第二接收模块,用于接收针对所述第二标识的第二操作;A second receiving module, configured to receive a second operation for the second identifier;
执行模块,用于响应所述第二操作,执行目标动作;The execution module is configured to execute the target action in response to the second operation;
其中,所述目标动作包括调节所述电子设备的音量,或控制所述电子设备的屏幕点亮,或控制所述电子设备的屏幕熄灭。Wherein, the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to turn on, or controlling the screen of the electronic device to turn off.
第三方面,示出了一种电子设备,包括处理器、存储器及存储在所述存储器上并 可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述的电子设备的控制方法的步骤。In the third aspect, an electronic device is shown, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is executed by the processor to achieve The steps of the control method of the electronic device described in the first aspect.
第四方面,示出了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的电子设备的控制方法的步骤。In a fourth aspect, a computer-readable storage medium is shown, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the control method of the electronic device as described in the first aspect is implemented. step.
在本实施例中,在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识,接收针对第一标识的第一操作;响应第一操作,显示虚拟触控控件的第二标识;接收针对第二标识的第二操作;响应第二操作,执行目标动作;其中,所述目标动作包括调节所述电子设备的音量,或控制所述电子设备的屏幕点亮,或控制所述电子设备的屏幕熄灭。本实施例在屏幕的边缘区域显示虚拟触控控件之后,可以通过操控虚拟触控控件实现控制音量调节及亮灭屏,实现提升用户操控体验。In this embodiment, in the edge area of the screen of the electronic device, the first identifier of the virtual touch control is displayed, and the first operation for the first identifier is received; in response to the first operation, the second identifier of the virtual touch control is displayed; Receive a second operation for the second identifier; in response to the second operation, perform a target action; wherein the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device The screen of the device goes out. In this embodiment, after the virtual touch control is displayed in the edge area of the screen, the virtual touch control can be manipulated to realize volume adjustment and turn on and off the screen, thereby improving the user's control experience.
图1是本实施例示出的一种电子设备的控制方法的流程示意图;FIG. 1 is a schematic flowchart of a control method of an electronic device shown in this embodiment;
图2是本实施例示出的一种虚拟触控控件的场景示意图;FIG. 2 is a schematic diagram of a scene of a virtual touch control shown in this embodiment;
图3是本实施例示出的一种虚拟触控控件的场景示意图;FIG. 3 is a schematic diagram of a scene of a virtual touch control shown in this embodiment;
图4是本实施例示出的一种虚拟触控控件的场景示意图;FIG. 4 is a schematic diagram of a scene of a virtual touch control shown in this embodiment;
图5是本实施例示出的一种虚拟触控控件的场景示意图;FIG. 5 is a schematic diagram of a scene of a virtual touch control shown in this embodiment;
图6是本实施例示出的一种虚拟触控控件的场景示意图;FIG. 6 is a schematic diagram of a scene of a virtual touch control shown in this embodiment;
图7是本实施例示出的一种虚拟触控控件的场景示意图;FIG. 7 is a schematic diagram of a scene of a virtual touch control shown in this embodiment;
图8是本实施例示出的一种虚拟触控控件的场景示意图;FIG. 8 is a schematic diagram of a scene of a virtual touch control shown in this embodiment;
图9是本实施例示出的一种虚拟触控控件的场景示意图;FIG. 9 is a schematic diagram of a scene of a virtual touch control shown in this embodiment;
图10是本实施例示出的一种虚拟触控控件的场景示意图;FIG. 10 is a schematic diagram of a scene of a virtual touch control shown in this embodiment;
图11是本实施例示出的一种电子设备的结构框图;FIG. 11 is a structural block diagram of an electronic device shown in this embodiment;
图12是本实施例示出的一种电子设备的硬件结构示意图。FIG. 12 is a schematic diagram of the hardware structure of an electronic device shown in this embodiment.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
参照图1,示出了本申请一种控制方法的流程示意图,该方法应用于电子设备上,该方法包括:1, there is shown a schematic flow chart of a control method of the present application. The method is applied to an electronic device, and the method includes:
在步骤S101中,在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识;In step S101, the first identifier of the virtual touch control is displayed on the edge area of the screen of the electronic device;
在本实施例中,在用户手持电子设备的情况下,电子设备可以有多种显示场景,例如,横屏显示和竖屏显示等,图2为用户控制电子设备竖屏显示的场景,图3为用户控制电子设备横屏显示的场景。In this embodiment, when the user holds the electronic device in hand, the electronic device can have multiple display scenarios, for example, horizontal screen display and vertical screen display, etc. Figure 2 is a scene where the user controls the vertical screen display of the electronic device, Figure 3 Control the scene displayed on the horizontal screen of the electronic device for the user.
如果用户需要操控电子设备执行目标动作,例如,调节电子设备的音量或控制电子设备的屏幕点亮或熄灭,则为了使得在电子设备处于各个显示场景的情况下,用户操控电子设备执行目标动作的操控方式是一样的,以避免用户改变操作方式,避免给用户增加操控负担,进而避免降低用户的操控体验,在本步骤中,可以确定电子设备 的显示场景,显示场景包括横屏显示和竖屏显示;在电子设备为横屏显示的情况下,在屏幕上确定第一边缘区域,在第一边缘区域内显示虚拟触控控件的第一标识;例如,第一边缘区域可以为横屏显示的情况下的屏幕的右侧边缘区域,可选地,为右侧边缘区域中包括的中间区域或中间偏上的区域。或者,在电子设备为竖屏显示的情况下,在屏幕上确定第二边缘区域,在第二边缘区域内显示所述虚拟触控控件的第一标识,例如,第二边缘区域可以为竖屏显示的情况下的屏幕的右侧边缘区域,可选地,为右侧边缘区域中包括的中间区域或中间偏上的区域。If the user needs to manipulate the electronic device to perform a target action, for example, adjust the volume of the electronic device or control the screen of the electronic device to turn on or off, in order to enable the user to manipulate the electronic device to perform the target action when the electronic device is in each display scene The control method is the same to avoid the user from changing the operation method, to avoid increasing the control burden on the user, and thus to avoid reducing the user's control experience. In this step, the display scene of the electronic device can be determined. The display scene includes the horizontal screen display and the vertical screen. Display; when the electronic device is displayed on a horizontal screen, the first edge area is determined on the screen, and the first logo of the virtual touch control is displayed in the first edge area; for example, the first edge area may be displayed on the horizontal screen In this case, the right edge area of the screen may optionally be a middle area included in the right edge area or an upper middle area. Or, in the case where the electronic device is displayed on a vertical screen, a second edge area is determined on the screen, and the first identifier of the virtual touch control is displayed in the second edge area. For example, the second edge area may be a vertical screen The right edge area of the screen in the case of display may optionally be a middle area included in the right edge area or an upper middle area.
在本实施例中,以竖屏显示为例进行举例说明,但不作为对本实施例保护范围的限制,例如,图4为在竖屏姿态下在屏幕的右侧边缘区域显示虚拟触控控件的第一标识1的示意图。In this embodiment, the vertical screen display is taken as an example for illustration, but it is not used as a limitation to the protection scope of this embodiment. For example, FIG. 4 shows the display of virtual touch controls on the right edge area of the screen in the vertical screen posture. Schematic diagram of the first logo 1.
在步骤S102中,接收针对第一标识的第一操作;In step S102, a first operation for the first identifier is received;
电子设备在屏幕上显示虚拟触控控件的第一标识之后,用户就可以针对第一标识输入第一操作,以使电子设备在屏幕上显示虚拟触控控件的第二标识,进而用户就可以根据第二标识操控电子设备执行目标动作,例如,调节电子设备的音量和/或控制电子设备的屏幕点亮或熄灭等。After the electronic device displays the first identification of the virtual touch control on the screen, the user can input a first operation for the first identification, so that the electronic device displays the second identification of the virtual touch control on the screen, and the user can then follow The second identifier controls the electronic device to perform a target action, for example, adjusting the volume of the electronic device and/or controlling the screen of the electronic device to turn on or off.
在步骤S103中,响应第一操作,显示虚拟触控控件的第二标识;In step S103, in response to the first operation, a second identifier of the virtual touch control is displayed;
在本实施例中,用户需要根据虚拟触控控件的第二标识来操控电子设备执行目标动作,因此,当电子设备接收到针对第一标识的第一操作之后,为了使得用户能够操控电子设备执行目标动作,可以响应所述第一操作,显示虚拟触控控件的第二标识,之后,用户可以就可以输入针对第二标识的第二操作,以实现操控电子设备执行目标动作。In this embodiment, the user needs to control the electronic device to perform the target action according to the second identification of the virtual touch control. Therefore, after the electronic device receives the first operation for the first identification, in order to enable the user to control the electronic device to execute The target action can respond to the first operation and display the second logo of the virtual touch control. After that, the user can input the second operation for the second logo to control the electronic device to perform the target action.
第一标识可以为虚拟触控控件的部分内容等,第二标识可以为虚拟触控控件的全部内容等。The first identifier may be part of the content of the virtual touch control, etc., and the second identifier may be the entire content of the virtual touch control, etc.
如果用户需要控制电子设备执行目标动作,则需要输入针对第二标识的的操作才能控制电子设备执行目标动作,因此,用户可以在第一标识上输入第一操作,第一操作包括长按操作或滑动操作等触控操作,以控制电子设备在屏幕上显示第二标识,然后可以针对第二标识输入第二操作,以控制电子设备根据第二操作控制电子设备执行目标动作。If the user needs to control the electronic device to perform the target action, he needs to input the operation for the second mark to control the electronic device to perform the target action. Therefore, the user can input the first operation on the first mark. The first operation includes the long press operation or A touch operation such as a sliding operation is used to control the electronic device to display the second logo on the screen, and then a second operation can be input for the second logo to control the electronic device to control the electronic device to perform a target action according to the second operation.
在步骤S104中,接收针对第二标识的第二操作;In step S104, a second operation for the second identifier is received;
在步骤S105中,响应第二操作,执行目标动作;In step S105, in response to the second operation, execute the target action;
其中,所述目标动作包括调节所述电子设备的音量,或控制所述电子设备的屏幕点亮,或控制所述电子设备的屏幕熄灭。Wherein, the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to turn on, or controlling the screen of the electronic device to turn off.
对于相关技术中具备位于侧面的、为物理按键的电源键的电子设备,当用户需要控制电子设备的屏幕点亮或熄灭时,可以点击位于侧面的、为物理按键的电源键。For an electronic device in the related art that has a power button on the side that is a physical button, when the user needs to control the screen of the electronic device to turn on or off, he can click the power button on the side that is a physical button.
但是,在本实施例中,电子设备的侧面不具备物理按键的情况下,为了使得广大用户能够方便的控制屏幕为曲面屏的电子设备的屏幕点亮或熄灭,本实施例可以支持用户输入针对第一标识的第一操作,以使电子设备显示虚拟触控控件的第二标识,然后输入针对虚拟触控控件的第二标识输入第二操作,来控制电子设备的屏幕点亮或熄灭。However, in this embodiment, when the side of the electronic device does not have physical buttons, in order to enable users to conveniently control the screen to turn on or off the screen of the electronic device with a curved screen, this embodiment can support user input The first operation of the first identification is to cause the electronic device to display the second identification of the virtual touch control, and then input the second identification for the virtual touch control to input the second operation to control the screen of the electronic device to turn on or off.
例如,第二操作包括点击操作,用户可以针对虚拟触控控件的第二标识输入点击操作,电子设备接收用户针对虚拟触控控件的第二标识输入的点击操作,然后根据该点击操作控制电子设备的屏幕点亮或熄灭。For example, the second operation includes a click operation, the user can input a click operation for the second identification of the virtual touch control, the electronic device receives the user's click operation for the second identification of the virtual touch control, and then controls the electronic device according to the click operation The screen lights up or goes off.
然而,用户平时也会在屏幕上输入点击操作来控制电子设备做别的事情,例如,点击电子设备的屏幕上显示的应用程序的图标,以控制电子设备启动该应用程序。However, the user usually enters a click operation on the screen to control the electronic device to do other things, for example, click on the icon of an application program displayed on the screen of the electronic device to control the electronic device to start the application program.
如果第二标识在屏幕上的位置与应用程序的图标在屏幕上的位置非常近,则点击第二标识时可能会触碰到应用程序的图标,造成误操作。If the location of the second logo on the screen is very close to the location of the icon of the application on the screen, the icon of the application may be touched when the second logo is clicked, causing misoperation.
因此,为了避免出现误操作的情况,在本实施例中,如果用户需要通过针对虚拟触控控件的第二标识输入点击操作来控制电子设备的屏幕点亮或熄灭,用户需要针对第二标识输入连击操作,例如,双击操作或三击操作等。Therefore, in order to avoid misoperation, in this embodiment, if the user needs to control the screen of the electronic device to turn on or off by inputting a click operation for the second identification of the virtual touch control, the user needs to input the second identification Double-click operation, for example, double-click operation or triple-click operation, etc.
所以,在本实施例中,触控操作可以包括连击操作;如此,对于电子设备而言,可以响应连击操作,控制电子设备的屏幕点亮或熄灭。Therefore, in this embodiment, the touch operation may include a continuous tap operation; in this way, for the electronic device, the screen of the electronic device can be controlled to turn on or off in response to the continuous tap operation.
在另一个实施例中,虚拟触控控件包括音量控件和屏幕控件,音量控件用于调节电子设备的音量,屏幕控件用于控制电子设备的屏幕点亮或熄灭。In another embodiment, the virtual touch control includes a volume control and a screen control. The volume control is used to adjust the volume of the electronic device, and the screen control is used to control the screen of the electronic device to turn on or off.
第一标识可以为虚拟触控控件的第一内容,第二标识可以为虚拟触控控件的第二内容,第二标识的显示尺寸大于第一标识的显示尺寸。The first identifier may be the first content of the virtual touch control, the second identifier may be the second content of the virtual touch control, and the display size of the second identifier is larger than the display size of the first identifier.
如果用户需要调节电子设备的音量,则用户可以在第一标识上输入第一操作,第一操作包括长按操作或滑动操作等触控操作,以控制电子设备在屏幕上显示第二标识,第二标识可以为音量控件的全部内容,然后可以针对第二标识输入滑动操作,以控制电子设备根据滑动操作调节电子设备的音量。If the user needs to adjust the volume of the electronic device, the user can input a first operation on the first logo. The first operation includes touch operations such as a long press operation or a sliding operation to control the electronic device to display the second logo on the screen. The second identifier may be the entire content of the volume control, and then a sliding operation may be input for the second identifier to control the electronic device to adjust the volume of the electronic device according to the sliding operation.
其中,音量控件的第二标识2可以如图5所示。Wherein, the second identifier 2 of the volume control may be as shown in FIG. 5.
对于电子设备而言,电子设备可以响应针对第一标识的长按操作或滑动操作等触控操作,然后显示音量控件的第二标识;接收针对第二标识输入的的滑动操作;响应该滑动操作,调节电子设备的音量。For an electronic device, the electronic device may respond to touch operations such as a long press operation or a sliding operation for the first identifier, and then display the second identifier of the volume control; receive the sliding operation input for the second identifier; respond to the sliding operation , Adjust the volume of electronic devices.
其中,调节电子设备的音量包括调大音量和调小音量,可以根据滑动操作的方向来确定是调大音量还是调小音量,在显示音量控件的全部内容之后,可以提示哪个方向是调大音量的方向以及哪个方向是调小音量的方向,以使用户可以获知哪个方向是调大音量的方向以及哪个方向是调小音量的方向,避免调节出错的情况发生。Among them, adjusting the volume of an electronic device includes turning up the volume and turning down the volume. You can determine whether to turn up the volume or turn down the volume according to the direction of the sliding operation. After the entire content of the volume control is displayed, you can prompt which direction is to turn up the volume. The direction and which direction is the direction of turning down the volume, so that the user can know which direction is the direction of turning up the volume and which direction is the direction of turning down the volume, so as to avoid adjustment errors.
在另一个实施例中,虚拟触控控件包括音量控件和屏幕控件。在图6中,包括虚拟触控控件的第一标识,虚拟触控控件的第一标识包括音量控件的第一标识3和屏幕控件的第一标识4。In another embodiment, the virtual touch controls include volume controls and screen controls. In FIG. 6, the first identifier of the virtual touch control is included, and the first identifier of the virtual touch control includes the first identifier 3 of the volume control and the first identifier 4 of the screen control.
在用户需要控制电子设备的屏幕点亮或熄灭的情况下,则用户可以针对屏幕控件的第一标识输入诸如滑动操作等触控操作,以控制电子设备在屏幕上显示屏幕控件的第二标识,然后可以针对屏幕控件的第二标识上输入点击操作,以控制电子设备的屏幕点亮或熄灭。In the case that the user needs to control the screen of the electronic device to turn on or off, the user can input touch operations such as sliding operations for the first identification of the screen control to control the electronic device to display the second identification of the screen control on the screen. Then, a click operation can be input on the second identification of the screen control to control the screen of the electronic device to turn on or off.
对于电子设备而言,可以响应滑动操作等触控操作,显示屏幕控件的第二标识;接收针对屏幕控件的第二标识的点击操作;响应点击操作,控制电子设备的屏幕点亮或熄灭。For an electronic device, it can respond to a touch operation such as a sliding operation to display the second identification of the screen control; receive a click operation for the second identification of the screen control; and control the screen of the electronic device to turn on or off in response to the click operation.
其中,音量控件的第二标识5和屏幕控件的第二标识6可以参见图7所示。Among them, the second identification 5 of the volume control and the second identification 6 of the screen control can be seen in FIG. 7.
在本实施例中,在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识,接收针对第一标识的第一操作;响应第一操作,显示虚拟触控控件的第二标识;接收针对第二标识的第二操作;响应第二操作,执行目标动作;其中,所述目标动作包括调节所述电子设备的音量,或控制所述电子设备的屏幕点亮,或控制所述电子设备的屏幕熄灭。本实施例在屏幕的边缘区域显示虚拟触控控件之后,可以通过操控虚拟触控控件实现控制音量调节及亮灭屏,实现提升用户操控体验。In this embodiment, in the edge area of the screen of the electronic device, the first identifier of the virtual touch control is displayed, and the first operation for the first identifier is received; in response to the first operation, the second identifier of the virtual touch control is displayed; Receive a second operation for the second identifier; in response to the second operation, perform a target action; wherein the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device The screen of the device goes out. In this embodiment, after the virtual touch control is displayed in the edge area of the screen, the virtual touch control can be manipulated to realize volume adjustment and turn on and off the screen, thereby improving the user's control experience.
在另一个实施例中,在用户需要控制电子设备的屏幕点亮或熄灭的情况下,用户可以输入针对第二标识的第二操作,第二操作包括滑动操作等触控操作,例如,将操作体接触第二标识,然后在屏幕上将操作体移动到预设区域,并控制操作体从预设区域离开屏幕,从而可以控制电子设备的屏幕点亮或熄灭。In another embodiment, in the case that the user needs to control the screen of the electronic device to turn on or off, the user can input a second operation for the second identifier, the second operation includes a touch operation such as a sliding operation, for example, the operation The body contacts the second mark, and then moves the operating body to a preset area on the screen, and controls the operating body to leave the screen from the preset area, so that the screen of the electronic device can be controlled to turn on or off.
对于电子设备而言,可以确定滑动操作的结束位置是否位于屏幕的预设区域内;在结束位置位于屏幕中的预设区域内的情况下,控制电子设备的屏幕点亮或熄灭。For the electronic device, it can be determined whether the end position of the sliding operation is located in the preset area of the screen; in the case that the end position is located in the preset area on the screen, the screen of the electronic device is controlled to turn on or off.
在本实施例中,虚拟触控控件包括音量控件,在接收到该滑动操作的情况下,还可以同时显示音量控件的第二标识,以方便之后用户通过操作音量控件的第二标识来调节电子设备的音量。In this embodiment, the virtual touch control includes a volume control. When the sliding operation is received, the second identification of the volume control can also be displayed at the same time, so as to facilitate the user to adjust the electronic volume by operating the second identification of the volume control. The volume of the device.
进一步地,用户在刚开始使用本实施例的方式来控制电子设备的屏幕点亮或熄灭时,可能并不知道预设区域在屏幕上的位置,如此,可以需要多次尝试滑动才能找到预设区域在屏幕上的位置,但多次尝试滑动的过程会耗费较长时间,从而降低控制电子设备的屏幕点亮或熄灭的效率。Further, when the user first uses the method of this embodiment to control the screen of the electronic device to turn on or off, he may not know the position of the preset area on the screen. Therefore, it may take multiple attempts to slide to find the preset. The location of the area on the screen, but the process of multiple attempts to slide will take a long time, thereby reducing the efficiency of controlling the screen of the electronic device to turn on or off.
因此,为了提高控制电子设备的屏幕点亮或熄灭的效率,在另一实施例中,参见图8,在接收到滑动操作时,可以提示预设区域在屏幕上的位置。Therefore, in order to improve the efficiency of controlling the lighting or extinguishing of the screen of the electronic device, in another embodiment, referring to FIG. 8, when a sliding operation is received, the position of the preset area on the screen may be prompted.
可选地,在一个示例中,可以在接收到滑动操作时就提示预设区域在屏幕上的位置,或者,可以在操作体滑动到预设区域的边缘时,提示预设区域在屏幕上的位置。Optionally, in an example, the position of the preset area on the screen may be prompted when the sliding operation is received, or the position of the preset area on the screen may be prompted when the operating body slides to the edge of the preset area. position.
在本实施例中,可以通过滑动操作等触控操作来调节电子设备的音量或控制电子设备的屏幕点亮或控制电子设备的屏幕熄灭,可以使得操作方式多样化。In this embodiment, it is possible to adjust the volume of the electronic device or control the screen of the electronic device to turn on or turn off the screen of the electronic device through touch operations such as sliding operations, which can diversify the operation modes.
其中,在调节电子设备的音量时,一种方式,是可以在第二标识上输入滑动操作来调节电子设备的音量,另一种方式,是在包括第二标识、且大于第二标识的区域内输入滑动操作来调节电子设备的音量,从而可以增加输出触控操作的区域,进而更加方便用户的操作。Among them, when adjusting the volume of the electronic device, one way is to input a sliding operation on the second logo to adjust the volume of the electronic device, and the other way is to adjust the volume of the electronic device in an area that includes the second logo and is larger than the second logo. The internal input sliding operation adjusts the volume of the electronic device, which can increase the area for outputting touch operations, thereby making it more convenient for users to operate.
在本实施例中,虚拟触控控件的形状至少包括圆盘形和柱状长条形。In this embodiment, the shape of the virtual touch control includes at least a disc shape and a columnar strip shape.
其中,显示了柱状长条形的虚拟触控控件的第一标识可以如图4、图6和图8所示,显示了柱状长条形的虚拟触控控件的第二标识可以如图5和图7所示,圆盘形的虚拟触控控件的第二标识7可以如图9所示,圆盘形的虚拟触控控件的第二标识8可以如图10所示。Wherein, the first identification of the virtual touch control showing the columnar bar may be as shown in FIG. 4, FIG. 6 and FIG. 8, and the second identification of the virtual touch control showing the bar bar may be shown in FIGS. 5 and 8. As shown in FIG. 7, the second identification 7 of the disc-shaped virtual touch control may be as shown in FIG. 9, and the second identification 8 of the disc-shaped virtual touch control may be as shown in FIG. 10.
进一步地,为了提高用户的操控体验,在调节电子设备的音量的过程中,还可以控制电子设备中的振动器振动,以使用户根据振动的感觉可以获知电子设备正在调节电子设备的音量。Further, in order to improve the user's manipulation experience, in the process of adjusting the volume of the electronic device, the vibrator in the electronic device can also be controlled to vibrate, so that the user can know that the electronic device is adjusting the volume of the electronic device according to the feeling of vibration.
进一步地,还可以在控制电子设备中的振动器振动的过程中,根据终端的音量实时调整振动器的振动频率。Further, in the process of controlling the vibration of the vibrator in the electronic device, the vibration frequency of the vibrator can be adjusted in real time according to the volume of the terminal.
例如,越大的音量对应的振动频率越高,越小的音量对应的振动频率越低。因此,在电子设备的音量调大的过程中,可以不断提高振动器的振动频率,在电子设备的音量调小的过程中,可以不断降低振动器的振动频率,用户根据感受到的振动频率就可以获知电子设备正在调大电子设备的音量还是正在调小电子设备的音量。For example, a larger volume corresponds to a higher vibration frequency, and a smaller volume corresponds to a lower vibration frequency. Therefore, in the process of turning up the volume of the electronic device, the vibration frequency of the vibrator can be continuously increased, and in the process of turning down the volume of the electronic device, the vibration frequency of the vibrator can be continuously reduced. It can be known whether the electronic device is turning up the volume of the electronic device or turning down the volume of the electronic device.
在本实施例中,显示了虚拟触控控件的第二标识往往需要占用屏幕的部分区域,如此会影响屏幕在这一部分区域显示其他内容,由于这一部分区域往往是在用户需要调节电子设备的音量或控制电子设备的屏幕点亮或熄灭的情况下临时分配给虚拟触控控件的,因此,为了提高这一部分区域的利用率,在用户不再需要控调节电子设备的音量或控制电子设备的屏幕点亮或熄灭的情况下,可以隐藏虚拟触控控件的第二标识且显示虚拟触控控件的第一标识,以使电子设备可以在这一部分区域显示其他内容。其中,虚拟触控控件的第二标识在屏幕上所占的区域大于虚拟触控控件的第一标识在屏幕上所占的区域。In this embodiment, the second logo that displays the virtual touch control often needs to occupy part of the screen area, which will affect the screen to display other content in this part of the area, because this part of the area is often when the user needs to adjust the volume of the electronic device. Or control the screen of the electronic device to be temporarily allocated to the virtual touch control when the screen of the electronic device is turned on or off. Therefore, in order to improve the utilization of this part of the area, the user no longer needs to control the volume of the electronic device or control the screen of the electronic device When turned on or off, the second identification of the virtual touch control can be hidden and the first identification of the virtual touch control can be displayed, so that the electronic device can display other content in this part of the area. Wherein, the area occupied by the second identifier of the virtual touch control on the screen is larger than the area occupied by the first identifier of the virtual touch control on the screen.
具体地,在一个示例中,在预设时长内未接收到对虚拟触控控件的第二标识的触控操作的情况下,说明用户可能不再具有调节电子设备的音量或控制电子设备的屏幕点亮或熄灭的需求,如此可以隐藏虚拟触控控件的第二标识且显示虚拟触控控件的第一标识。Specifically, in an example, if the touch operation on the second identifier of the virtual touch control is not received within the preset time, it means that the user may no longer have the screen to adjust the volume of the electronic device or control the electronic device. The need to turn on or off, so that the second identifier of the virtual touch control can be hidden and the first identifier of the virtual touch control can be displayed.
或者,在另一个示例中,在接收到对虚拟触控控件的第二标识的触控操作之前接收到在屏幕上的非虚拟触控控件所在的区域上输入的触控操作的情况下,说明用户此时需要控制电子设备做其他事情,暂时没有调节电子设备的音量或控制电子设备的屏幕点亮或熄灭的需求,如此可以隐藏虚拟触控控件的第二标识且显示虚拟触控控件的第一标识。Or, in another example, in the case where the touch operation input on the area where the non-virtual touch control is located on the screen is received before the touch operation on the second identifier of the virtual touch control is received, it is explained The user needs to control the electronic device to do other things at this time. There is no need to adjust the volume of the electronic device or control the screen of the electronic device to turn on or off for the time being, so that the second logo of the virtual touch control can be hidden and the second logo of the virtual touch control can be displayed. One logo.
或者,在又一个示例中,在接收到针对虚拟触控控件的、方向为预设方向的滑动操作的情况下,可以隐藏虚拟触控控件的第二标识且显示虚拟触控控件的第一标识;预设方向包括以虚拟触控控件的第二标识为起点的指向屏幕的边缘的方向。Or, in another example, in the case of receiving a sliding operation directed to a virtual touch control in a preset direction, the second identifier of the virtual touch control may be hidden and the first identifier of the virtual touch control may be displayed ; The preset direction includes a direction pointing to the edge of the screen with the second identifier of the virtual touch control as a starting point.
或者,在又一个示例中,在输入触控操作的操作体离开屏幕的情况下,隐藏虚拟触控控件的第二标识且显示虚拟触控控件的第一标识。Or, in another example, when the operating body inputting the touch operation leaves the screen, the second identifier of the virtual touch control is hidden and the first identifier of the virtual touch control is displayed.
在本实施例中,通常情况下,如果用户暂时不要使用电子设备,则可以控制电子设备的屏幕熄灭,进而也可以在屏幕上不再显示虚拟操控控件,例如,隐藏虚拟操控控件的第一标识。In this embodiment, under normal circumstances, if the user does not want to use the electronic device for the time being, the screen of the electronic device can be controlled to go off, and the virtual control control can also be no longer displayed on the screen, for example, the first identification of the virtual control control can be hidden .
然而,有时候在用户控制电子设备的屏幕熄灭之后,短时间内可能又需要控制调节电子设备的音量或控制电子设备的屏幕点亮,由于调节电子设备的音量或控制电子设备的屏幕点亮或熄灭是至少需要使用虚拟触控控件的,因此,电子设备又需要重新在屏幕上示虚拟操控控件的第一标识,反复显示或隐藏虚拟操控控件的第一标识会降低屏幕的寿命。However, sometimes after the user controls the screen of the electronic device to turn off, it may be necessary to control the volume of the electronic device or control the screen of the electronic device to light up in a short period of time, because the volume of the electronic device is adjusted or the screen of the electronic device is controlled to light up or Turning off requires at least the use of the virtual touch control. Therefore, the electronic device needs to display the first identification of the virtual control control again on the screen. Repeatedly displaying or hiding the first identification of the virtual control control will reduce the life of the screen.
因此,为了避免降低屏幕的寿命,在控制电子设备的屏幕熄灭之后,可以控制虚拟控制控件的第一标识依旧在屏幕的边缘区域显示着,也即,在屏幕变更为熄灭状态的情况下,继续在边缘区域显示虚拟触控控件的第一标识,待用户需要调节电子设备的音量或控制电子设备的屏幕点亮或熄灭的情况下可以直接操作虚拟触控控件的第一标识。Therefore, in order to avoid reducing the life of the screen, after the screen of the control electronic device is turned off, the first logo that can control the virtual control control is still displayed on the edge area of the screen, that is, when the screen is changed to the off state, continue The first identifier of the virtual touch control is displayed in the edge area, and the first identifier of the virtual touch control can be directly operated when the user needs to adjust the volume of the electronic device or control the screen of the electronic device to turn on or off.
然而,在屏幕处于熄灭状态的情况下,如果长时间在屏幕的边缘区域显示虚拟控制控件的第一标识,则可能会损坏屏幕,也会增加电子设备的电量消耗。However, when the screen is in the off state, if the first logo of the virtual control control is displayed on the edge area of the screen for a long time, the screen may be damaged and the power consumption of the electronic device may also be increased.
因此,为了避免损坏屏幕以及避免增加电子设备的电量消耗,在本实施例另一实施例中,在屏幕变更为熄灭状态之后的预设时长内,如果电子设备的姿态信息未发生变化,往往说明用户并未操控电子设备,之后用户往往也不具备调节电子设备的音量或控制电子设备的屏幕点亮或熄灭的需求,如此,可以在屏幕上隐藏虚拟触控控件的第一标识。Therefore, in order to avoid damaging the screen and avoid increasing the power consumption of the electronic device, in another embodiment of this embodiment, within a preset period of time after the screen is changed to the off state, if the posture information of the electronic device does not change, it is often explained The user does not control the electronic device, and then the user often does not have the need to adjust the volume of the electronic device or control the screen of the electronic device to turn on or off. In this way, the first identification of the virtual touch control can be hidden on the screen.
在本实施例另一实施例中,电子设备每次在屏幕的边缘区域显示虚拟触控控件的第一标识时,都是在屏幕的边缘区域的特定位置显示虚拟触控控件的第一标识,然而,如果用户并不习惯在该特定区域操控虚拟触控控件的第一标识,则用户可以重新设置虚拟操控控件的第一标识显示区域,以使电子设备之后每次在显示虚拟触控控件的第一标识时,可以在用户设置显示区域的显示虚拟触控控件的第一标识,以方便用户在该显示区域操控虚拟触控控件的第一标识。In another embodiment of this embodiment, every time the electronic device displays the first identifier of the virtual touch control in the edge area of the screen, it displays the first identifier of the virtual touch control at a specific position in the edge area of the screen. However, if the user is not accustomed to manipulating the first identification of the virtual touch control in the specific area, the user can reset the first identification display area of the virtual control control so that the electronic device will display the virtual touch control's In the case of the first identification, the user can set the first identification of the virtual touch control in the display area to facilitate the user to manipulate the first identification of the virtual touch control in the display area.
具体地,在显示了虚拟触控控件的第二标识的情况下,用户可以输入对虚拟触控控件的第二标识的移动操作,电子设备接收对虚拟触控控件的第二标识的移动操作;然后响应该移动操作,调整虚拟触控控件第二标识在屏幕上的默认显示区域。Specifically, when the second identifier of the virtual touch control is displayed, the user can input a movement operation on the second identifier of the virtual touch control, and the electronic device receives the movement operation on the second identifier of the virtual touch control; Then, in response to the moving operation, the default display area of the second mark of the virtual touch control on the screen is adjusted.
之后,在屏幕处于熄灭状态的情况下,如果检测到电子设备的姿态信息发生变化,则往往是用户需要操控电子设备,例如控制电子设备点亮或者调节电子设备的音量等,如此可以在屏幕的默认显示区域内显示虚拟触控控件的第一标识。Afterwards, when the screen is in the off state, if the posture information of the electronic device is detected to change, the user often needs to manipulate the electronic device, such as controlling the electronic device to light up or adjusting the volume of the electronic device, etc., so that it can be displayed on the screen. The first identifier of the virtual touch control is displayed in the default display area.
参照图11,示出了本申请一种电子设备的结构框图,该电子设备包括:Referring to FIG. 11, a structural block diagram of an electronic device of the present application is shown, and the electronic device includes:
第一显示模块11,用于在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识;The first display module 11 is configured to display the first identifier of the virtual touch control in the edge area of the screen of the electronic device;
第一接收模块12,用于接收针对所述第一标识的第一操作;The first receiving module 12 is configured to receive a first operation for the first identifier;
第二显示模块13,用于响应所述第一操作,显示虚拟触控控件的第二标识;The second display module 13 is configured to display the second identifier of the virtual touch control in response to the first operation;
第二接收模块14,用于接收针对所述第二标识的第二操作;The second receiving module 14 is configured to receive a second operation for the second identifier;
执行模块15,用于响应所述第二操作,执行目标动作;The execution module 15 is configured to execute the target action in response to the second operation;
其中,所述目标动作包括调节所述电子设备的音量,或控制所述电子设备的屏幕点亮,或控制所述电子设备的屏幕熄灭。Wherein, the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to turn on, or controlling the screen of the electronic device to turn off.
在一个可选地实现方式中,所述第一显示模块包括:In an optional implementation manner, the first display module includes:
第一确定单元,用于在所述电子设备为横屏显示的情况下,在所述屏幕上确定第一边缘区域,第一显示单元,用于在所述第一边缘区域内显示所述虚拟触控控件的第一标识;The first determining unit is configured to determine a first edge area on the screen when the electronic device is displayed on the horizontal screen, and the first display unit is configured to display the virtual The first identification of the touch control;
第二确定单元,用于在所述电子设备为竖屏显示的情况下,在所述屏幕上确定第二边缘区域,第二显示单元,用于在所述第二边缘区域内显示所述虚拟触控控件的第一标识。The second determining unit is configured to determine a second edge area on the screen when the electronic device is displayed on the vertical screen, and the second display unit is configured to display the virtual The first identifier of the touch control.
在一个可选地实现方式中,所述第二操作包括滑动操作;In an optional implementation manner, the second operation includes a sliding operation;
执行模块包括:Execution modules include:
第三确定单元,用于确定所述滑动操作的结束位置是否位于所述屏幕的预设区域内;A third determining unit, configured to determine whether the end position of the sliding operation is within a preset area of the screen;
控制单元,用于在所述结束位置位于所述屏幕的预设区域内的情况下,控制所述电子设备的屏幕点亮或熄灭。The control unit is configured to control the screen of the electronic device to turn on or off when the end position is within the preset area of the screen.
在一个可选地实现方式中,所述执行模块还包括:In an optional implementation manner, the execution module further includes:
提示单元,用于在接收到所述滑动操作的情况下,提示所述预设区域在所述屏幕上的位置。The prompt unit is configured to prompt the position of the preset area on the screen when the sliding operation is received.
在一个可选地实现方式中,所述电子设备还包括:In an optional implementation manner, the electronic device further includes:
所述第一显示模块还用于在所述屏幕变更为熄灭状态的情况下,继续在所述边缘区域显示所述虚拟触控控件的第一标识;The first display module is further configured to continue to display the first identifier of the virtual touch control in the edge area when the screen is changed to the off state;
隐藏模块,用于在所述屏幕变更为熄灭状态之后的预设时长内,如果所述电子设备的姿态信息未发生变化,则在所述屏幕上隐藏所述虚拟触控控件的第一标识。The hiding module is configured to hide the first identifier of the virtual touch control on the screen if the posture information of the electronic device has not changed within a preset time period after the screen is changed to the off state.
在本实施例中,在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识,接收针对第一标识的第一操作;响应第一操作,显示虚拟触控控件的第二标识;接收针对第二标识的第二操作;响应第二操作,执行目标动作;其中,所述目标动作包括调节所述电子设备的音量,或控制所述电子设备的屏幕点亮,或控制所述电子设备的屏幕熄灭。本实施例在屏幕的边缘区域显示虚拟触控控件之后,可以通过操控虚拟触控控件实现控制音量调节及亮灭屏,实现提升用户操控体验。In this embodiment, in the edge area of the screen of the electronic device, the first identifier of the virtual touch control is displayed, and the first operation for the first identifier is received; in response to the first operation, the second identifier of the virtual touch control is displayed; Receive a second operation for the second identifier; in response to the second operation, perform a target action; wherein the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device The screen of the device goes out. In this embodiment, after the virtual touch control is displayed on the edge area of the screen, the virtual touch control can be manipulated to achieve control volume adjustment and turn on and off the screen, so as to improve the user's control experience.
实施例五Example five
参照图12,为实现本申请各个实施例的一种电子设备的硬件结构示意图。Referring to FIG. 12, it is a schematic diagram of the hardware structure of an electronic device that implements each embodiment of the present application.
该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图12中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power supply 511 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 12 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present application, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
处理器510,用于在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识;接收针对所述第一标识的第一操作;响应所述第一操作,显示虚拟触控控件的第二标识;接收针对所述第二标识的第二操作;响应所述第二操作,执行目标动作;其中,所述目标动作包括调节所述电子设备的音量,或控制所述电子设备的屏幕点亮,或控制所述电子设备的屏幕熄灭。The processor 510 is configured to display the first identifier of the virtual touch control in the edge area of the screen of the electronic device; receive a first operation directed to the first identifier; in response to the first operation, display the virtual touch control A second identification; receiving a second operation directed to the second identification; in response to the second operation, executing a target action; wherein the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device Turn on, or control the screen of the electronic device to go out.
在本实施例中,在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识,接收针对第一标识的第一操作;响应第一操作,显示虚拟触控控件的第二标识;接收针对第二标识的第二操作;响应第二操作,执行目标动作;其中,所述目标动作包括调节所述电子设备的音量,或控制所述电子设备的屏幕点亮,或控制所述电子设备的屏幕熄灭。本实施例在屏幕的边缘区域显示虚拟触控控件之后,可以通过操控虚拟触控控件实现控制音量调节及亮灭屏,实现提升用户操控体验。In this embodiment, in the edge area of the screen of the electronic device, the first identifier of the virtual touch control is displayed, and the first operation for the first identifier is received; in response to the first operation, the second identifier of the virtual touch control is displayed; Receive a second operation for the second identifier; in response to the second operation, perform a target action; wherein the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to light up, or controlling the electronic device The screen of the device goes out. In this embodiment, after the virtual touch control is displayed on the edge area of the screen, the virtual touch control can be manipulated to achieve control volume adjustment and turn on and off the screen, so as to improve the user's control experience.
应理解的是,本申请实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、 收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present application, the radio frequency unit 501 can be used for receiving and sending signals during information transmission or communication. Specifically, the downlink data from the base station is received and processed by the processor 510; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The audio output unit 503 may convert the audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic device 500 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The input unit 504 is used to receive audio or video signals. The input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042. The graphics processor 5041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frame may be displayed on the display unit 506. The image frame processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or sent via the radio frequency unit 501 or the network module 502. The microphone 5042 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 501 for output in the case of a telephone call mode.
电子设备500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在电子设备500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 500 further includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light. The proximity sensor can close the display panel 5061 and the display panel 5061 when the electronic device 500 is moved to the ear. / Or backlight. As a kind of motion sensor, 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 electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 505 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元507可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹 球、鼠标、操作杆,在此不再赘述。The user input unit 507 may be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071, also known as a touch screen, can collect the user's 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 5071 or near the touch panel 5071. operating). The touch panel 5071 may include two parts: a touch detection device and a touch controller. Among them, 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 510, the command sent by the processor 510 is received and executed. In addition, the touch panel 5071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may also include other input devices 5072. Specifically, other input devices 5072 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.
进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图12中,触控面板5071与显示面板5061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 5071 can cover the display panel 5061. When the touch panel 5071 detects a touch operation on or near it, it transmits it to the processor 510 to determine the type of the touch event, and then the processor 510 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 5061. Although in FIG. 12, the touch panel 5071 and the display panel 5061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元508为外部装置与电子设备500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备500内的一个或多个元件或者可以用于在电子设备500和外部装置之间传输数据。The interface unit 508 is an interface for connecting an external device and the electronic device 500. For example, 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 508 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 electronic device 500 or can be used to connect the electronic device 500 to an external device. Transfer data between devices.
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 509 can be used to store software programs and various data. The memory 509 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 electronic equipment (such as audio data, phone book, etc.), etc. In addition, the memory 509 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.
处理器510是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器510可包括一个或多个处理单元;可选地,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The processor 510 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 509, and calls data stored in the memory 509 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 510 may include one or more processing units; optionally, the processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510.
电子设备500还可以包括给各个部件供电的电源511(比如电池),可选地,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 500 may also include a power source 511 (such as a battery) for supplying power to various components. Optionally, the power source 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备500包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 500 includes some functional modules not shown, which will not be repeated here.
可选地,本申请实施例还提供一种电子设备,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述电子设备的控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device, including a processor 510, a memory 509, a computer program stored in the memory 509 and running on the processor 510, and the computer program is executed by the processor 510 Each process of the above-mentioned electronic device control method embodiment can be realized at a time, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述电子设备的控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiments of the present application also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned electronic device control method embodiment is realized, and the same In order to avoid repetition, I won’t repeat them here. Wherein, 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.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) ) Includes a number of instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which fall within the protection of this application.
Claims (12)
- 一种控制方法,应用于电子设备,所述方法包括:A control method applied to an electronic device, the method including:在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识;On the edge area of the screen of the electronic device, display the first identifier of the virtual touch control;接收针对所述第一标识的第一操作;Receiving a first operation for the first identifier;响应所述第一操作,显示虚拟触控控件的第二标识;In response to the first operation, display the second identifier of the virtual touch control;接收针对所述第二标识的第二操作;Receiving a second operation for the second identifier;响应所述第二操作,执行目标动作;In response to the second operation, execute the target action;其中,所述目标动作包括调节所述电子设备的音量,或控制所述电子设备的屏幕点亮,或控制所述电子设备的屏幕熄灭。Wherein, the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to turn on, or controlling the screen of the electronic device to turn off.
- 根据权利要求1所述的方法,其中,所述在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识,包括:The method according to claim 1, wherein the displaying the first identifier of the virtual touch control on the edge area of the screen of the electronic device comprises:在所述电子设备为横屏显示的情况下,在所述屏幕上确定第一边缘区域,在所述第一边缘区域内显示所述虚拟触控控件的第一标识;In a case where the electronic device is displayed on a horizontal screen, determining a first edge area on the screen, and displaying the first identifier of the virtual touch control in the first edge area;在所述电子设备为竖屏显示的情况下,在所述屏幕上确定第二边缘区域,在所述第二边缘区域内显示所述虚拟触控控件的第一标识。In a case where the electronic device is displayed on a vertical screen, a second edge area is determined on the screen, and the first identifier of the virtual touch control is displayed in the second edge area.
- 根据权利要求1所述的方法,其中,所述第二操作包括滑动操作;The method according to claim 1, wherein the second operation includes a sliding operation;响应所述第二操作,执行目标动作,包括:In response to the second operation, executing the target action includes:确定所述滑动操作的结束位置是否位于所述屏幕的预设区域内;Determining whether the end position of the sliding operation is within a preset area of the screen;在所述结束位置位于所述屏幕的预设区域内的情况下,控制所述电子设备的屏幕点亮或熄灭。In the case that the end position is located within the preset area of the screen, controlling the screen of the electronic device to turn on or off.
- 根据权利要求3所述的方法,其中,所述方法还包括:The method according to claim 3, wherein the method further comprises:在接收到所述滑动操作的情况下,提示所述预设区域在所述屏幕上的位置。When the sliding operation is received, the position of the preset area on the screen is prompted.
- 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:在所述屏幕变更为熄灭状态的情况下,继续在所述边缘区域显示所述虚拟触控控件的第一标识;When the screen is changed to the off state, continue to display the first identifier of the virtual touch control in the edge area;在所述屏幕变更为熄灭状态之后的预设时长内,如果所述电子设备的姿态信息未发生变化,则在所述屏幕上隐藏所述虚拟触控控件的第一标识。Within the preset time period after the screen is changed to the off state, if the posture information of the electronic device has not changed, the first identifier of the virtual touch control is hidden on the screen.
- 一种电子设备,所述电子设备包括:An electronic device, the electronic device comprising:第一显示模块,用于在电子设备的屏幕的边缘区域,显示虚拟触控控件的第一标识;The first display module is configured to display the first identifier of the virtual touch control in the edge area of the screen of the electronic device;第一接收模块,用于接收针对所述第一标识的第一操作;A first receiving module, configured to receive a first operation for the first identifier;第二显示模块,用于响应所述第一操作,显示虚拟触控控件的第二标识;The second display module is configured to display the second identifier of the virtual touch control in response to the first operation;第二接收模块,用于接收针对所述第二标识的第二操作;A second receiving module, configured to receive a second operation for the second identifier;执行模块,用于响应所述第二操作,执行目标动作;The execution module is configured to execute the target action in response to the second operation;其中,所述目标动作包括调节所述电子设备的音量,或控制所述电子设备的屏幕点亮,或控制所述电子设备的屏幕熄灭。Wherein, the target action includes adjusting the volume of the electronic device, or controlling the screen of the electronic device to turn on, or controlling the screen of the electronic device to turn off.
- 根据权利要求6所述的电子设备,其中,所述第一显示模块包括:The electronic device according to claim 6, wherein the first display module comprises:第一确定单元,用于在所述电子设备为横屏显示的情况下,在所述屏幕上确定第一边缘区域,第一显示单元,用于在所述第一边缘区域内显示所述虚拟触控控件的第 一标识;The first determining unit is configured to determine a first edge area on the screen when the electronic device is displayed on the horizontal screen, and the first display unit is configured to display the virtual The first identification of the touch control;第二确定单元,用于在所述电子设备为竖屏显示的情况下,在所述屏幕上确定第二边缘区域,第二显示单元,用于在所述第二边缘区域内显示所述虚拟触控控件的第一标识。The second determining unit is configured to determine a second edge area on the screen when the electronic device is displayed on the vertical screen, and the second display unit is configured to display the virtual The first identifier of the touch control.
- 根据权利要求6所述的电子设备,其中,所述第二操作包括滑动操作;The electronic device according to claim 6, wherein the second operation includes a sliding operation;执行模块包括:Execution modules include:第三确定单元,用于确定所述滑动操作的结束位置是否位于所述屏幕的预设区域内;A third determining unit, configured to determine whether the end position of the sliding operation is within a preset area of the screen;控制单元,用于在所述结束位置位于所述屏幕的预设区域内的情况下,控制所述电子设备的屏幕点亮或熄灭。The control unit is configured to control the screen of the electronic device to turn on or off when the end position is within the preset area of the screen.
- 根据权利要求8所述的电子设备,其中,所述执行模块还包括:The electronic device according to claim 8, wherein the execution module further comprises:提示单元,用于在接收到所述滑动操作的情况下,提示所述预设区域在所述屏幕上的位置。The prompt unit is configured to prompt the position of the preset area on the screen when the sliding operation is received.
- 根据权利要求6所述的电子设备,其中,所述电子设备还包括:The electronic device according to claim 6, wherein the electronic device further comprises:所述第一显示模块还用于在所述屏幕变更为熄灭状态的情况下,继续在所述边缘区域显示所述虚拟触控控件的第一标识;The first display module is further configured to continue to display the first identifier of the virtual touch control in the edge area when the screen is changed to the off state;隐藏模块,用于在所述屏幕变更为熄灭状态之后的预设时长内,如果所述电子设备的姿态信息未发生变化,则在所述屏幕上隐藏所述虚拟触控控件的第一标识。The hiding module is configured to hide the first identifier of the virtual touch control on the screen if the posture information of the electronic device has not changed within a preset time period after the screen is changed to the off state.
- 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的电子设备的控制方法的步骤。An electronic device comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor to implement any of claims 1 to 5 One of the steps of the control method of electronic equipment.
- 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的电子设备的控制方法的步骤。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 method for controlling an electronic device according to any one of claims 1 to 5 are realized .
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910963614.2 | 2019-10-11 | ||
CN201910963614.2A CN110764675A (en) | 2019-10-11 | 2019-10-11 | Control method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021068885A1 true WO2021068885A1 (en) | 2021-04-15 |
Family
ID=69331784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/119951 WO2021068885A1 (en) | 2019-10-11 | 2020-10-09 | Control method and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110764675A (en) |
WO (1) | WO2021068885A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113262483A (en) * | 2021-06-04 | 2021-08-17 | 网易(杭州)网络有限公司 | Operation control method and device for virtual article and electronic equipment |
CN113589926A (en) * | 2021-07-13 | 2021-11-02 | 杭州灵伴科技有限公司 | Virtual interface operation method, head-mounted display device and computer readable medium |
CN114546237A (en) * | 2022-02-28 | 2022-05-27 | 维沃移动通信有限公司 | Interaction method, interaction device, electronic equipment and readable storage medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110764675A (en) * | 2019-10-11 | 2020-02-07 | 维沃移动通信有限公司 | Control method and electronic equipment |
CN111506191B (en) | 2020-04-13 | 2024-04-26 | 维沃移动通信有限公司 | Control method and electronic equipment |
CN112123060B (en) * | 2020-09-23 | 2022-05-20 | 广东博智林机器人有限公司 | Constant-pressure control method and device for wall surface grinding robot |
CN115220611B (en) * | 2022-07-18 | 2024-09-17 | 联想(北京)有限公司 | Control method and device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160291928A1 (en) * | 2015-04-01 | 2016-10-06 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling volume by using touch screen |
CN106325465A (en) * | 2016-08-22 | 2017-01-11 | 维沃移动通信有限公司 | Screen display control method and mobile terminal |
CN107463316A (en) * | 2016-06-03 | 2017-12-12 | 北京小米移动软件有限公司 | The method of adjustment and device of screen intensity |
CN108268236A (en) * | 2017-12-28 | 2018-07-10 | 努比亚技术有限公司 | A kind of method for controlling volume, terminal and computer readable storage medium |
CN108932116A (en) * | 2017-05-24 | 2018-12-04 | 北京小米移动软件有限公司 | The adjusting method and device of volume |
CN109101157A (en) * | 2018-08-22 | 2018-12-28 | Oppo广东移动通信有限公司 | Sidebar icon setting method, device, terminal and storage medium |
CN109756601A (en) * | 2019-03-08 | 2019-05-14 | 高俊宇 | A kind of touch control method and mobile terminal |
CN109782944A (en) * | 2018-12-11 | 2019-05-21 | 华为技术有限公司 | A kind of response method and electronic equipment of touch screen |
CN110764675A (en) * | 2019-10-11 | 2020-02-07 | 维沃移动通信有限公司 | Control method and electronic equipment |
CN110798552A (en) * | 2019-09-19 | 2020-02-14 | 华为技术有限公司 | Volume adjusting method and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101743505B1 (en) * | 2010-12-28 | 2017-06-05 | 삼성전자주식회사 | Method and apparatus for touch input for electronic device |
-
2019
- 2019-10-11 CN CN201910963614.2A patent/CN110764675A/en active Pending
-
2020
- 2020-10-09 WO PCT/CN2020/119951 patent/WO2021068885A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160291928A1 (en) * | 2015-04-01 | 2016-10-06 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling volume by using touch screen |
CN107463316A (en) * | 2016-06-03 | 2017-12-12 | 北京小米移动软件有限公司 | The method of adjustment and device of screen intensity |
CN106325465A (en) * | 2016-08-22 | 2017-01-11 | 维沃移动通信有限公司 | Screen display control method and mobile terminal |
CN108932116A (en) * | 2017-05-24 | 2018-12-04 | 北京小米移动软件有限公司 | The adjusting method and device of volume |
CN108268236A (en) * | 2017-12-28 | 2018-07-10 | 努比亚技术有限公司 | A kind of method for controlling volume, terminal and computer readable storage medium |
CN109101157A (en) * | 2018-08-22 | 2018-12-28 | Oppo广东移动通信有限公司 | Sidebar icon setting method, device, terminal and storage medium |
CN109782944A (en) * | 2018-12-11 | 2019-05-21 | 华为技术有限公司 | A kind of response method and electronic equipment of touch screen |
CN109756601A (en) * | 2019-03-08 | 2019-05-14 | 高俊宇 | A kind of touch control method and mobile terminal |
CN110798552A (en) * | 2019-09-19 | 2020-02-14 | 华为技术有限公司 | Volume adjusting method and electronic equipment |
CN110764675A (en) * | 2019-10-11 | 2020-02-07 | 维沃移动通信有限公司 | Control method and electronic equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113262483A (en) * | 2021-06-04 | 2021-08-17 | 网易(杭州)网络有限公司 | Operation control method and device for virtual article and electronic equipment |
CN113589926A (en) * | 2021-07-13 | 2021-11-02 | 杭州灵伴科技有限公司 | Virtual interface operation method, head-mounted display device and computer readable medium |
CN114546237A (en) * | 2022-02-28 | 2022-05-27 | 维沃移动通信有限公司 | Interaction method, interaction device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110764675A (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021068885A1 (en) | Control method and electronic device | |
WO2019228293A1 (en) | Display control method and terminal | |
US12095858B2 (en) | Application sharing method, electronic device and computer readable storage medium | |
WO2019228163A1 (en) | Speaker control method and mobile terminal | |
WO2019196929A1 (en) | Video data processing method and mobile terminal | |
WO2021204045A1 (en) | Audio control method and electronic device | |
WO2020238497A1 (en) | Icon moving method and terminal device | |
WO2020233323A1 (en) | Display control method, terminal device, and computer-readable storage medium | |
WO2019196864A1 (en) | Control method for virtual button and mobile terminal | |
WO2021004306A1 (en) | Operation control method and terminal | |
WO2020259091A1 (en) | Screen content display method and terminal | |
WO2021004426A1 (en) | Content selection method, and terminal | |
WO2019114522A1 (en) | Screen control method, screen control apparatus, and mobile terminal | |
WO2019169991A1 (en) | Display method and mobile terminal | |
CN108446156B (en) | Application program control method and terminal | |
WO2019228296A1 (en) | Display processing method and terminal device | |
WO2021104251A1 (en) | Control method and first electronic device | |
WO2021115172A1 (en) | Display method and electronic device | |
WO2020238445A1 (en) | Screen recording method and terminal | |
WO2021017730A1 (en) | Screenshot method and terminal device | |
WO2020024770A1 (en) | Method for determining communication object, and mobile terminal | |
WO2021129732A1 (en) | Display processing method and electronic device | |
WO2021037074A1 (en) | Audio output method and electronic apparatus | |
WO2021088706A1 (en) | Method for controlling application program and electronic device | |
WO2020220893A1 (en) | Screenshot method and mobile terminal |
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: 20873466 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20873466 Country of ref document: EP Kind code of ref document: A1 |