Display method, device and electronic device
By responding to user sliding input, the touch controls on the electronic device are moved to the position pointed by the sliding track, which solves the problem of inconvenience in one-handed operation of the electronic device and realizes that the user can easily complete the shooting function settings under one hand.
Patent Information
- Application Number
- CN202110696542.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-23
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2041-06-23
AI Technical Summary
When existing electronic devices are operated with one hand, it is difficult for users to easily select and set functions such as shooting mode, style, and beauty. Especially on large-screen devices, users are basically unable to complete the photography operation with one hand.
By receiving the user's sliding input, in response to the sliding track, the touch control pointed to by the sliding track is moved to the target position to display, so as to facilitate the user's one-handed operation and avoid the inability to operate because the touch control is too far away from the user's operating position.
It enables users to easily complete shooting function settings with one-handed operation, and improves the operation convenience of electronic devices. Especially on large-screen devices, users can complete touch operations without changing their operators.
Smart Images

Figure CN113407280B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a display method, device and electronic device. Background Art
[0002] With the popularity of electronic devices such as mobile phones, people often use electronic devices for various tasks. Among them, the shooting function is one of the most commonly used functions of electronic devices. At present, the shooting functions are becoming more and more abundant. When shooting, people often set functions such as shooting mode, blur, beauty, style, etc. With the popularity of large-screen electronic devices, it is very difficult for users to operate the device with one hand. Take shooting with one hand as an example. Figure 1a As shown in the figure, when taking photos with only the left hand, in portrait mode, it is difficult for users to select operations such as screen ratio, style, beauty, whether to turn on the flash, etc., and they need to use both hands to complete the operation. Figure 1b As shown in the figure, when taking photos with only one right hand, in portrait mode, it is difficult for users to select operations such as screen ratio and whether to turn on the flash. They need to use both hands to complete the operation. Figure 1c For the scroll screen device shown, the problem is more prominent when the screen is unfolded, and the user basically cannot complete the photo operation with one hand.
[0003] It can be seen that the operation method of the existing electronic device has the problem that it is inconvenient for the user to operate with one hand. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a display method, device and electronic device, which can solve the problem that the operation mode of existing electronic devices is inconvenient for users to operate with one hand.
[0005] In a first aspect, an embodiment of the present application provides a display method, the method comprising:
[0006] Receive a user's sliding input on the display interface;
[0007] In response to the sliding input, the touch control pointed to by the sliding track is moved to a target position for display, wherein the target position is any position on the sliding track.
[0008] In a second aspect, an embodiment of the present application provides a display device, including:
[0009] A receiving module, used to receive a user's sliding input on the display interface;
[0010] The execution module is used to move the touch control pointed to by the sliding track to a target position for display in response to the sliding input, wherein the target position is any position on the sliding track.
[0011] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the display method described in the first aspect.
[0012] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the display method described in the first aspect are implemented.
[0013] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the display method as described in the first aspect.
[0014] In the embodiment of the present application, a user's sliding input on the display interface is received; in response to the sliding input, the touch control pointed to by the sliding track is moved to a target position for display, wherein the target position is any position on the sliding track. In this way, by moving the touch control pointed to by the user to the user's operating position according to the user's sliding track, the user can operate the electronic device with one hand, avoiding the inability to operate the touch control due to the touch control being too far away from the user's operating position. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1a This is a schematic diagram of an operation when a user uses only his left hand to take a photo, provided in an embodiment of the present application;
[0016] Figure 1b This is a schematic diagram of an operation when a user uses only his right hand to take a photo, provided in an embodiment of the present application;
[0017] Figure 1c This is a schematic diagram of the operation of a user taking a photo with one hand in a scroll screen device provided in an embodiment of the present application;
[0018] Figure 2 is a flow chart of a display method provided in an embodiment of the present application;
[0019] Figure 3 This is one of the operation schematic diagrams provided in the embodiment of the present application when a user takes a photo with one hand;
[0020] Figure 4 This is the second operation schematic diagram of a user taking a photo with one hand provided in an embodiment of the present application;
[0021] Figure 5 This is the third operation schematic diagram of a user taking a photo with one hand provided in an embodiment of the present application;
[0022] Figure 6 is an example flow chart of a shooting operation method provided in an embodiment of the present application;
[0023] Figure 7 is a schematic diagram of the structure of a display device provided in an embodiment of the present application;
[0024] Figure 8 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0025] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0027] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0028] The display method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0029] See also Figure 2 , Figure 2 A flow chart of a display method provided in an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0030] Step 201: Receive a user's sliding input on a display interface.
[0031] The above-mentioned display interface can be any application program interface, for example, it can be a shooting interface, a chat interface, a game interface, etc.
[0032] In an embodiment of the present application, when a user desires to perform a one-handed operation but the touch control that the user desires to operate on the display interface is too far away from the user's operating finger and is inconvenient to operate, the user can perform a sliding input at an appropriate position of the display interface, and the sliding trajectory can be controlled to point to the touch control that the user desires to operate, so that the electronic device determines the touch control that the user desires to operate based on the direction of the sliding trajectory.
[0033] Step 202: In response to the sliding input, the touch control pointed to by the sliding track is moved to a target position for display, wherein the target position is any position on the sliding track.
[0034] In this step, in response to the above sliding input, the touch control pointed to by the sliding track can be determined, and the touch control can be moved to the target position on the display interface for display. The target position can be any position on the sliding track, for example, it can be the sliding start point or sliding end point of the user's sliding track, or other positions on the sliding track, or the position on the sliding track closest to the user's operating finger. In other words, the target position can be a position that ensures that the user can complete the operation with one hand.
[0035] Specifically, the user can slide from one position on the display interface to another position according to the position of the touch control currently desired to be operated, and ensure that the sliding track points to the touch control. In this way, the electronic device can respond to the sliding input, determine the touch control it points to according to the sliding track, and determine the touch control as the touch control whose display position the user desires to move.
[0036] For example, Figure 3 As shown, taking the shooting operation as an example, when the user uses the left hand to operate, he can slide from the first position A to the second position B on the shooting interface 30, so that the style option 31 pointed to by the sliding track, that is, the AB line, can be moved from the original right position to the left position close to the user operation.
[0037] In this way, the style option 31 is within the operable range of the user's left hand, thereby facilitating the user to set the shooting style with one hand.
[0038] It should be noted that, in order to avoid misoperation, the user's sliding input may be responded to only when the sliding track of the user's sliding input is a straight line, and the current sliding input may not be responded to when the sliding track of the user's sliding input is a curve. Of course, only the line between the starting point and the end point of the sliding input may be considered, regardless of whether the sliding track is a straight line.
[0039] In this way, after moving the touch control desired by the user to the target position for display, the user does not need to change the operating hand and can complete the touch operation of the touch control with one hand.
[0040] Optionally, moving the touch control pointed to by the sliding track to a target position for display includes:
[0041] Move the touch control that the extended line of the slide track passes through to the target position for display.
[0042] That is, in one embodiment, after determining the sliding track, the sliding track can be further extended, specifically, in a direction away from the user's operating finger, to determine the touch control that the extended line of the sliding track passes through, that is, the touch control located on the extended line of the sliding track, and move the touch control to the target position for display. In this way, the touch control that the user wants to move can be quickly and accurately determined.
[0043] Optionally, moving the touch control pointed to by the sliding track to a target position for display includes:
[0044] Move multiple touch controls to a target area for display, wherein a vertical distance from a display position of the touch control to a sliding track or an extension line of the sliding track is less than a preset distance, and the target area is an area centered on the target position.
[0045] That is, in another embodiment, taking into account possible deviations during operation by the user and the inability to ensure that the sliding trajectory accurately points to the desired touch control, multiple touch controls that are closer to the sliding trajectory or the extension line of the sliding trajectory can be determined based on the vertical distance between each touch control on the display interface and the sliding trajectory or the extension line of the sliding trajectory, and these touch controls are moved to the target area for display.
[0046] Specifically, in order to quickly determine the touch controls that meet the conditions, the touch controls located near the sliding track or the extension of the sliding track on the display interface can be determined according to the position of the sliding track and the extension of the sliding track, and the vertical distances of these touch controls to the sliding track or the extension of the sliding track can be determined. When the vertical distance is less than the preset distance, these touch controls are determined to be touch controls to be moved, and then the touch controls slightly farther away from the sliding track or the extension of the sliding track can be further determined, and all touch controls whose vertical distances from the display position to the sliding track or the extension of the sliding track are less than the preset distance are selected, and these touch controls are moved to the target area for display, wherein the preset distance can be the preset maximum allowable distance, which should not be set too large to avoid too many touch controls that need to be moved, which brings inconvenience to the user operation. The target area can be a rectangular area, a circular area, etc. centered on the target position, and the size of the target area can be a preset fixed size, or a size adaptively determined according to the number of the multiple touch controls, that is, the more touch controls that need to be moved, the larger the area of the target area.
[0047] In this way, through this embodiment, multiple touch controls pointed to by the sliding trajectory can be moved to the target area at one time for the user to select and operate, and the situation where the desired touch control fails to move to the target position due to user operation errors can also be avoided.
[0048] Optionally, moving the touch control pointed to by the sliding trajectory to the target position for display includes:
[0049] When there are multiple touch controls pointed to by the sliding trajectory, determine the vertical distance from the display position of each touch control among the multiple touch controls to the sliding trajectory or the extension line of the sliding trajectory;
[0050] Determine the touch control with the shortest vertical distance from the display position to the sliding trajectory or the extension line of the sliding trajectory among the multiple touch controls as the target touch control;
[0051] Move the target touch control to the target position for display.
[0052] That is, in one embodiment, when there are multiple touch controls pointed to by the sliding trajectory, that is, when there are multiple touch controls near the extension line of the sliding trajectory, the target touch control can be determined according to the distances from each touch control among the multiple touch controls to the sliding trajectory or its extension line. Specifically, the vertical distance from the coordinates at the display position of each touch control to the sliding trajectory or the extension line of the sliding trajectory can be calculated respectively, and the touch control with the shortest vertical distance to the sliding trajectory or the extension line of the sliding trajectory is determined as the target touch control.
[0053] For example, as Figure 4 shown, still taking the shooting operation as an example, when the user slides from the first position A to the second position B on the shooting interface 30, there are a screen ratio option 32 and a settings option 33 on both sides of the extension line of the AB connection line, which is the sliding trajectory. At this time, by comparing the distances D1 from the screen ratio option 32 to the extension line of the AB connection line and D2 from the settings option 33 to the extension line of the AB connection line respectively, when it is compared that D1 < D2, it can be determined that the screen ratio option 32 is the target shooting option to be moved, and then trigger to move the screen ratio option 32 into the range where the user can currently operate. Conversely, move the settings option 33.
[0054] In this way, through this embodiment, when there are multiple touch controls pointed to by the user's sliding trajectory, the target touch control that the user needs to move can be accurately determined by comparing the distances.
[0055] Optionally, the target position is the end point of the sliding trajectory.
[0056] That is, in one embodiment, the target position may be the end point of the user's sliding input. In this way, when the user performs the sliding input, the user can direct the sliding trajectory to the desired touch control as needed, and slide to the position of the desired operation and stay there, ensuring that the desired touch control is moved to the desired position and displayed, making it convenient for the user to operate with one hand.
[0057] For example, Figure 3 As shown, after receiving a sliding input from the user from the first position A to the second position B, the style option 31 can be moved to the second position B for display in response to the sliding input. Figure 4 As shown, after receiving a sliding input from the user from the first position A to the second position B, the screen-to-body ratio option 31 can be moved to the second position B for display in response to the sliding input.
[0058] In this way, through this implementation, it is possible to determine the display position of the touch control after it moves according to the user's operation position, thereby ensuring that the touch control is displayed at the user's desired position.
[0059] Optionally, the method further comprises:
[0060] Receiving a preset input from a user for the display interface;
[0061] In response to the preset input, the commonly used touch controls on the display interface are moved to the input position of the preset input for display, wherein the commonly used touch controls are touch controls on the display interface that are used more frequently than the preset frequency.
[0062] The above-mentioned preset input can be a preset input for triggering the movement of the display position of a specific touch control. For example, the preset input can be an input of long pressing a blank area, a sliding input of a preset track, a double-click input, etc.
[0063] In one embodiment, after receiving the preset input of the user for the display interface, the commonly used touch controls on the display interface can be moved to the user operation position for display by default. The commonly used touch controls are touch controls with a higher frequency of use on the display interface, such as those with a higher frequency than the preset frequency. That is, based on the user's operation records on each touch control on the current display interface, the frequency of use of each touch control on the display interface can be counted, and then the commonly used touch controls can be updated. Of course, the commonly used touch controls can also be several touch controls with a higher frequency of use on the display interface. For example, the three touch controls with the highest frequency of use on the display interface are determined as commonly used touch controls.
[0064] In this way, through this implementation, the user does not need to select the touch control through the preset input, so that the user is more free when executing the preset input. Moreover, by determining the commonly used touch controls as the target touch controls for the moving position according to the user's operating habits, it can be guaranteed with a greater probability that the currently moving touch controls are more in line with the user's expectations.
[0065] Optionally, the display interface is a shooting interface, and the touch controls are shooting function options.
[0066] That is, the embodiment of the present application can be applied to a one-handed shooting operation scenario, and the shooting interface can be a shooting interface entered through any application, for example, after starting the camera, entering the shooting interface, or entering the shooting interface through the shooting entrance in a short video application, etc. Among them, the shooting interface can display shooting options for performing different function settings, such as screen ratio, style, beauty, flash and other shooting options.
[0067] In this implementation, when the electronic device displays a shooting interface, the user can perform a sliding input on the shooting interface with a sliding track pointing to a specific shooting option in order to facilitate one-handed operation of the shooting options on the shooting interface to set related shooting functions.
[0068] In this way, the user can quickly move the desired shooting function option to the current operable range through a simple sliding operation, thereby ensuring that the user can complete the shooting operation with one hand.
[0069] Optionally, step 201 includes:
[0070] A sliding input of a user on a target area on a shooting interface is received, where the target area is an area on the shooting interface excluding an area where a shooting mode option is located.
[0071] That is, in one embodiment, the interactive mode of moving the touch control pointed to by the sliding track to the target position for display can be effective only when a sliding input is received on the target area on the shooting interface, and when an operation is performed on other areas on the shooting interface, the normal operation is responded to. The target area can be the upper half of the shooting interface, that is, the area excluding the shooting button and the shooting mode options, which usually displays the preview image and the shooting options other than the shooting mode.
[0072] For example, Figure 5 As shown, the upper half of the shooting interface 30 is a target area 301, and the lower half of the shooting interface 30 is another area 302. The user can perform a sliding input in the target area 301 to move the target shooting option to a target position for display.
[0073] In this way, through this implementation, it can be ensured that the functions of different areas of the shooting interface do not interfere with each other, ensuring a clear and distinct interface display effect.
[0074] To make the embodiments of the present application clearer, Figure 5 and Figure 6 , taking a one-handed shooting operation as an example, the specific implementation manner of the embodiment of the present application is illustrated:
[0075] like Figure 6 As shown, in step S61 to step S63, it is determined whether the electronic device enters the shooting preview interface, wherein, if in the shooting preview interface, the shooting interactive operation mode is effective, otherwise it is not effective.
[0076] In step S64, after the electronic device enters the shooting preview interface, Figure 5 As shown, the shooting preview interface is divided into two areas, C and D, and each area executes corresponding interactive commands.
[0077] In step S65 to step S612, when operating in area C, the interactive command is determined according to the user's operation trajectory, mainly including the following interactive modes:
[0078] 1) Click the screen. The first click is for focus, and the second click is for shooting.
[0079] 2) Slide on the screen, the sliding track is a curve, and no interactive commands are triggered;
[0080] 3) Slide on the screen, the sliding track is a straight line, triggering the interactive command to move the shooting option corresponding to the extension line of the straight line to the user's current operable range, such as the sliding end point.
[0081] In step S613 to step S621, when operating in area D, the interactive command is determined according to the user's operation trajectory, mainly including the following interactive modes:
[0082] 1) Click the shooting button in area D to execute the shooting command;
[0083] 2) Swipe horizontally in the shooting mode column to trigger switching between night scene, portrait, photo, video and other modes;
[0084] 3) Vertically sliding or tapping the screen does not trigger any interactive commands.
[0085] The display method in the embodiment of the present application receives a sliding input from a user on a display interface; in response to the sliding input, the touch control pointed to by the sliding track is moved to a target position for display, wherein the target position is any position on the sliding track. In this way, by moving the touch control pointed to by the user to the user's operating position according to the user's sliding track for display, it is convenient for the user to complete the operation of the electronic device with one hand, and avoids the inability to operate the touch control due to the touch control being too far away from the user's operating position.
[0086] It should be noted that the display method provided in the embodiment of the present application can be executed by a display device or a control module in the display device for executing the display method. In the embodiment of the present application, the display device provided in the embodiment of the present application is described by taking the display device executing the display method as an example.
[0087] See also Figure 7 , Figure 7 A schematic diagram of the structure of a display device provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the display device 700 includes:
[0088] The receiving module 701 is used to receive a sliding input of the user on the display interface;
[0089] The execution module 702 is used to move the touch control pointed to by the sliding track to a target position for display in response to the sliding input, wherein the target position is any position on the sliding track.
[0090] Optionally, the execution module 702 is used to move the touch control through which the extension line of the sliding track passes to a target position for display.
[0091] Optionally, the execution module 702 is used to move multiple touch controls to a target area for display, wherein a vertical distance from the display position of the touch control to a sliding track or an extension line of the sliding track is less than a preset distance, and the target area is an area centered on the target position.
[0092] Optionally, the execution module 702 includes:
[0093] A first determining unit, configured to determine, when the sliding track points to a plurality of touch controls, a vertical distance from a display position of each of the plurality of touch controls to the sliding track or an extension line of the sliding track;
[0094] A second determining unit, configured to determine a touch control having a shortest vertical distance from a display position to the sliding track or an extension line of the sliding track among the multiple touch controls as a target touch control;
[0095] The moving unit is used to move the target touch control to a target position for display.
[0096] Optionally, the target position is an end point of the sliding track.
[0097] The display device in the embodiment of the present application receives a sliding input from a user on a display interface; in response to the sliding input, the touch control pointed to by the sliding track is moved to a target position for display, wherein the target position is any position on the sliding track. In this way, by moving the touch control pointed to by the user to the user's operating position according to the user's sliding track for display, it is convenient for the user to complete the operation of the electronic device with one hand, and avoids the inability to operate the touch control due to the touch control being too far away from the user's operating position.
[0098] The display device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0099] The display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0100] The display device provided in the embodiment of the present application can achieve Figure 2 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0101] Alternatively, if Figure 8 As shown, an embodiment of the present application also provides an electronic device 800, including a processor 801, a memory 802, and a program or instruction stored in the memory 802 and executable on the processor 801. When the program or instruction is executed by the processor 801, each process of the above-mentioned display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0102] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above. Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0103] The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910 and other components.
[0104] Those skilled in the art will appreciate that the electronic device 900 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 910 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0105] The user input unit 907 is used to receive a sliding input from the user on the display interface;
[0106] The processor 910 is used to move the touch control pointed to by the sliding track to a target position for display in response to the sliding input, wherein the target position is any position on the sliding track.
[0107] Optionally, the processor 910 is used to move the touch control passed by the extension line of the sliding track to a target position for display.
[0108] Optionally, the processor 910 is used to move multiple touch controls to a target area for display, wherein a vertical distance from the display position of the touch control to a sliding track or an extension line of the sliding track is less than a preset distance, and the target area is an area centered on the target position.
[0109] Optionally, the processor 910 is configured to determine, when the sliding track points to a plurality of touch controls, a vertical distance from a display position of each of the plurality of touch controls to the sliding track or an extension line of the sliding track;
[0110] Determine a touch control among the multiple touch controls whose display position has the shortest vertical distance to the sliding track or an extension of the sliding track as a target touch control;
[0111] Move the target touch control to the target position for display.
[0112] Optionally, the target position is an end point of the sliding track.
[0113] The electronic device in the embodiment of the present application receives a sliding input from a user on a display interface; in response to the sliding input, the touch control pointed to by the sliding track is moved to a target position for display, wherein the target position is any position on the sliding track. In this way, by moving the touch control pointed to by the user to the user's operating position according to the user's sliding track for display, it is convenient for the user to complete the operation of the electronic device with one hand, and avoids the inability to operate the touch control due to the touch control being too far away from the user's operating position.
[0114] It should be understood that in the embodiment of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 909 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 910 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 910.
[0115] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0116] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0117] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0118] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0119] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0120] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0121] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A display method, applied to an electronic device, characterized in that: The method comprises: Receive a user's sliding input on the display interface; In response to the sliding input, the touch control pointed to by the sliding track is moved to a target position for display, wherein the target position is any position on the sliding track; The step of moving the touch control pointed to by the sliding track to a target position for display includes: Move multiple touch controls to a target area for display, wherein a vertical distance from the display position of the touch control to the sliding track or an extension of the sliding track is less than a preset distance, and the target area is an area centered on the target position; Alternatively, the step of moving the touch control pointed to by the sliding track to a target position for display includes: In the case where the sliding track points to a plurality of touch controls, determining a vertical distance from a display position of each of the plurality of touch controls to the sliding track or an extension line of the sliding track; Determine a touch control among the multiple touch controls whose display position has the shortest vertical distance to the sliding track or an extension of the sliding track as a target touch control; Move the target touch control to the target position for display.
2. The method according to claim 1, characterized in that The step of moving the touch control pointed to by the sliding track to a target position for display includes: Move the touch control that the extended line of the slide track passes through to the target position for display.
3. The method according to claim 1, characterized in that The target position is the end point of the sliding track.
4. A display device, characterized in that: include: A receiving module, used to receive a user's sliding input on the display interface; an execution module, configured to move the touch control pointed to by the sliding track to a target position for display in response to the sliding input, wherein the target position is any position on the sliding track; The execution module is used to move the multiple touch controls to a target area for display, wherein the vertical distance from the display position of the touch control to the sliding track or the extension line of the sliding track is less than a preset distance, and the target area is an area centered on the target position; Alternatively, the execution module includes: A first determining unit, configured to determine, when the sliding track points to a plurality of touch controls, a vertical distance from a display position of each of the plurality of touch controls to the sliding track or an extension line of the sliding track; A second determining unit, configured to determine a touch control having a shortest vertical distance from a display position to the sliding track or an extension line of the sliding track among the multiple touch controls as a target touch control; The moving unit is used to move the target touch control to a target position for display.
5. The display device according to claim 4, characterized in that: The execution module is used to move the touch control through which the extension line of the sliding track passes to a target position for display.
6. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the display method as described in any one of claims 1 to 3.
7. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the display method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Multi-screen displaying method and device and electronic device
CN104199631A
Control object operation method and device and terminal device
CN104346085A
Terminal equipment single-hand control method and system
CN107132982A
Interface display method and device, electronic equipment and computer readable storage medium
CN112099689A
