Nothing Special   »   [go: up one dir, main page]

WO2023241008A1 - Interface display method and apparatus, electronic device, and storage medium - Google Patents

Interface display method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2023241008A1
WO2023241008A1 PCT/CN2022/143269 CN2022143269W WO2023241008A1 WO 2023241008 A1 WO2023241008 A1 WO 2023241008A1 CN 2022143269 W CN2022143269 W CN 2022143269W WO 2023241008 A1 WO2023241008 A1 WO 2023241008A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
preset gesture
display
gesture operation
current operating
Prior art date
Application number
PCT/CN2022/143269
Other languages
French (fr)
Chinese (zh)
Inventor
付琪
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023241008A1 publication Critical patent/WO2023241008A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application relates to the field of terminal technology, and more specifically, to an interface display method, device, electronic equipment and storage medium.
  • this application proposes an interface display method, device, electronic device and storage medium to improve the above problems.
  • the present application provides an interface display method, which is applied to an electronic device.
  • the method includes: in response to a preset gesture operation starting from a target position, obtaining the current status of the preset gesture operation during the operation. Operation parameters; display the interface identifier of the interface corresponding to the current operation parameters; if the preset gesture operation ends, switch the currently displayed interface to display the interface corresponding to the current operation parameters.
  • the present application provides an interface display device running on an electronic device.
  • the device includes: a parameter acquisition unit configured to acquire the preset gesture operation in response to a preset gesture operation that starts from a target position. The current operating parameters during the operation; the identification display unit is used to display the interface identification of the interface corresponding to the current operating parameters; the interface control unit is used to change the currently displayed interface if the preset gesture operation ends. Switch to display the interface corresponding to the current operating parameters.
  • the present application provides an electronic device, including one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, The one or more programs are configured to perform the above method.
  • the present application provides a computer-readable storage medium storing a program code executable by a processor.
  • the computer-readable storage medium includes the stored program code, wherein the above-mentioned steps are executed when the program code is run. Methods.
  • Figure 1 shows a flow chart of an interface display method proposed by an embodiment of the present application
  • Figure 2 shows a schematic diagram in which the preset gesture operation is a sliding operation in the embodiment of the present application
  • Figure 3 shows a schematic diagram of the air gesture operation and the orientation of the electronic device in the embodiment of the present application
  • Figure 4 shows a schematic diagram of the prompt animation in the embodiment of the present application
  • Figure 5 shows a schematic diagram of a prompt animation in the embodiment of the present application
  • Figure 6 shows a schematic diagram of jumping to the interface corresponding to the current operating parameter in the embodiment of the present application
  • Figure 7 shows a flow chart of an interface display method proposed by another embodiment of the present application.
  • Figure 8 shows a flow chart of an interface display method proposed by yet another embodiment of the present application.
  • Figure 9 shows a flow chart of an interface display method proposed by yet another embodiment of the present application.
  • Figure 10 shows a schematic diagram of a display prompt triggering a preset gesture operation in an embodiment of the present application
  • FIG. 11 shows a schematic diagram of the preset gesture operation after displaying the prompt information prompting to trigger the preset gesture operation in the embodiment of the present application
  • Figure 12 shows a flow chart of an interface display method proposed by yet another embodiment of the present application.
  • Figure 13 shows a schematic diagram in which the transparency of the interface logo is updated according to the effect of the preset gesture operation in the embodiment of the present application
  • Figure 14 shows a flow chart of an interface display method proposed by yet another embodiment of the present application.
  • Figure 15 shows a schematic diagram of the bottom of the electronic device in the embodiment of the present application.
  • Figure 16 shows a schematic diagram showing multiple interface identifiers to be selected in the embodiment of the present application.
  • Figure 17 shows a structural block diagram of an interface display device proposed by another embodiment of the present application.
  • Figure 18 shows a structural block diagram of another interface display device proposed by another embodiment of the present application.
  • Figure 19 shows a structural block diagram of an electronic device of the present application for executing an interface display method according to an embodiment of the present application
  • Figure 20 is a storage unit used to save or carry the program code for implementing the interface display method according to the embodiment of the present application.
  • the display of a second-level interface can be triggered in the first-level interface, and when the second-level interface is displayed, the display of the second-level interface can be further triggered in the first-level interface.
  • the second-level interface triggers the display of the third-level interface.
  • the third-level interface is displayed, if the user wants to trigger a jump to the aforementioned first-level interface, he or she needs to first operate the electronic device to jump to the second-level interface, and then proceed from the second-level interface.
  • the interface jumps to the third-level interface. Therefore, in the case of cross-level interface jump, the user needs to perform multiple operations to jump to the interface, which causes inconvenience to the user.
  • the inventor proposes an interface display method, device, electronic device and storage medium in this application.
  • the preset gesture operation in response to a preset gesture operation that starts from the target position, the preset gesture operation in the process of action is obtained.
  • the interface identification of the interface corresponding to the current operation parameters can be displayed, and when the end effect of the preset gesture operation is completed, the currently displayed interface can be switched to display the interface corresponding to the current operation parameters. Therefore, through the above method, when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can perform the preset gesture operation according to the current operation parameters during the operation. Displays the interface that can currently be jumped to, and when the preset gesture operation ends, directly triggers the jump to the interface corresponding to the displayed interface identifier, thereby allowing the user to more conveniently trigger the interface jump.
  • This application provides an interface display method, which is applied to electronic equipment.
  • the method includes:
  • the target position is the starting position of the preset gesture operation.
  • the preset gesture operation is an operation used to trigger interface jump.
  • Interface jump can be understood as switching the currently displayed interface to another interface. For example, when the electronic device displays interface A, if a jump to interface B is triggered, the electronic device can close interface B and display interface A.
  • the action process of the preset gesture operation can be understood as the process from when the electronic device detects that the preset gesture operation starts to take effect until it cancels the action.
  • the preset gesture operation may be an air gesture operation or a touch gesture operation.
  • the preset gesture operation is a touch gesture operation
  • a preset gesture operation acting on the screen of the electronic device it is determined that the preset gesture operation takes effect.
  • the touch object sin or user's finger
  • the preset gesture operation will remain in contact with the screen.
  • the preset gesture operation is a sliding operation and the target position is the side edge of the screen
  • a sliding operation starting from the side edge of the screen it is determined that a preset gesture operation (sliding operation) has started to take effect.
  • the preset gesture operation is a press operation and the target position is the side edge of the screen
  • the preset gesture operation is a press operation and the target position is the side edge of the screen
  • the preset gesture operation is an air gesture operation
  • the air gesture detection device of the electronic device detects a preset gesture operation in a specified direction (a target position)
  • the air gesture detection device may be an ultrasonic type air gesture detection device or an infrared type air gesture detection device.
  • the default gesture operation will have operating parameters during its operation.
  • the operation parameter represents the operation status of the corresponding preset gesture operation.
  • the operation parameters may change in real time, so the current operation parameters of the preset gesture operation represent the latest operation status of the preset gesture operation.
  • the corresponding operation parameters may be different.
  • the corresponding operating parameters for the sliding operation may include the sliding distance
  • the current operating parameters may include the distance from the target position to the current sliding position.
  • the position 10 in Figure 2 can be the target position. If the current operating parameters for the sliding operation include the distance between the current sliding position and the target position, then if the action starts from the target position 10 When the sliding operation reaches position 11, the current operating parameter of the sliding operation is distance d. If the sliding operation continues and affects position 12, the current operating parameter of the sliding operation is 2d.
  • the target position shown in FIG. 2 is only exemplary. For example, the entire left edge of the screen can be the target position.
  • the corresponding operating parameters for the pressing operation may include the pressing force
  • the current operating parameters may include the current pressing force of the pressing operation at the target position.
  • the corresponding operation parameters for the air gesture operation may include the orientation relative to the electronic device, and correspondingly, the current operation parameters may include the air operation.
  • the current orientation of the gesture relative to the electronic device For example, as shown in FIG. 3 , when the azimuth angle between the generation position 20 of the air-to-air gesture operation and the electronic device 100 is ⁇ 1, it can be determined that a preset gesture operation starts to take effect at the target position, and then the The orientation of the preset gesture operation relative to the electronic device is detected in real time, and the current orientation is used as the current operation parameter.
  • the preset gesture operation can be implemented in multiple ways.
  • the specific operation currently used by the electronic device as the preset gesture operation can be performed by the user according to his or her own operating habits. configuration.
  • the preset gesture operation can be configured as a sliding operation.
  • the preset gesture operation can be configured as a pressing operation.
  • the preset gesture operation can be configured as an air gesture operation.
  • the interface identifier of the interface is used by the electronic device or the user to identify the interface.
  • each interface may have its own interface identifier, and different interfaces may have different interface identifiers.
  • a corresponding relationship between operating parameters and interface identifiers can be established.
  • the preset gesture operation as a sliding operation and the operating parameter as the distance from the target position to the current sliding position
  • the sliding distance d corresponds to interface A
  • the sliding distance 2d corresponds to interface B
  • the sliding distance 3d corresponds to interface C.
  • the interface corresponding to the current operating parameters obtained is interface A, and then the interface can be displayed
  • the interface identifier of A If you continue to slide and the distance from the target position to the current sliding position is 2d, the interface corresponding to the obtained current operating parameters is interface B, and the interface identifier of interface B can be displayed.
  • the interface display method provided by the embodiment of the present application can be applied in different scenarios.
  • the interface display method provided by the embodiment of the present application can be applied in application switching scenarios.
  • the interfaces corresponding to different operating parameters belong to different applications, so that the user can switch applications based on preset gesture operations.
  • the interface display method provided by the embodiment of the present application can be used to jump between interfaces at different interface levels.
  • the interface level of the interface represents the depth of the display path of the interface.
  • the display path represents the operation to be performed to trigger the electronic device to display the corresponding interface.
  • the deeper the corresponding display path the more operations the user needs to perform to trigger the display, and the interface with the corresponding display path has more interfaces.
  • the higher the level For example, when interface A is displayed, operations can be performed in interface A to trigger switching of the displayed interface from interface A to display interface B. After displaying interface B, operations can be performed in interface B to trigger Switch the displayed interface from interface B to display interface C.
  • displaying the interface identification of the interface corresponding to the current operation parameter includes: obtaining the interface level corresponding to the current operation parameter, obtaining the interface corresponding to the interface level, and displaying the interface identification of the interface corresponding to the interface level, where, The larger the current operating parameters are, the lower the corresponding interface level is, and the interface corresponding to the lowest interface level is the home page corresponding to the currently displayed interface.
  • the homepage corresponding to the currently displayed interface can be understood as the interface with the lowest interface level.
  • interface A when interface A is displayed, operations can be performed in interface A to trigger switching of the displayed interface from interface A to display interface B. After displaying interface B, operations can be performed in interface B to trigger Switch the displayed interface from interface B to display interface C. Then the corresponding homepages for interface B and interface C are both interface A.
  • the interface of the interface that the user expects to be displayed is The level may be higher.
  • the interface identifier of the intermediate interface level can be omitted to reduce the complexity of the operation and allow the user to move more quickly. to switch back to a lower-level interface.
  • obtain the interface corresponding to the interface level and display the interface identifier of the interface corresponding to the interface level including: if the sorting position of the interface level corresponding to the current operation parameter is not greater than the specified threshold, obtain the interface corresponding to the interface level and display the interface level.
  • the interface identification of the corresponding interface if the sorting position of the interface level is greater than the specified threshold, the interface identification of the home page is displayed; among them, the sorting of the interface level is arranged from the higher interface level to the lower interface level. For example, for interface A, interface B, interface C and interface D, if it is necessary to trigger the display of interface A first, then trigger the display of interface B in interface A, then trigger the display of interface C in interface B, and finally trigger the display of interface C in interface A, In C, the display interface D is triggered. When the smaller the number of the interface level is, the lower the interface level is.
  • the interface level of interface A is level one
  • the interface level of interface B is level two
  • the interface level of interface C is level three
  • the interface level of interface D is Level four.
  • interface D with an interface level of four is ranked first
  • interface C with an interface level of three is ranked second
  • the interface level is The second-level interface B is ranked third
  • the first-level interface A is ranked fourth.
  • the specified threshold for comparison with the interface level is 2
  • the electronic device The interface identifier of the interface whose interface level is level two will be displayed. If the interface level corresponding to the current operating parameter is level two, and the level two interface level is ranked third (greater than the specified threshold), then the electronic device will display the interface logo of the home page (that is, interface A).
  • the electronic device When the preset gesture operation ends, it indicates that the user currently desires to jump to the interface, and the electronic device will switch the currently displayed interface to the interface corresponding to the displayed interface identifier, that is, the interface corresponding to the current operation parameters. interface.
  • the method provided by the embodiment of the present application also includes: in response to updating the displayed interface identifier, the electronic device triggers a vibration.
  • the electronic device triggers a vibration.
  • the interface identifier displayed by the electronic device update indicates that the current operating parameters have changed compared to the previous operating parameters that triggered the display of the interface identifier, and Further triggering of vibrations by the electronic device is helpful to remind the user of the current interface that can be jumped directly to.
  • a prompt animation is displayed.
  • the interface level that jumps from the currently displayed interface to the interface corresponding to the current operation parameter is displayed.
  • the interface display method provided by the embodiment of the present application can be applied in scenarios where interfaces at different levels jump.
  • the prompt animation is displayed. It can effectively remind the user that they have entered the state of interface jump.
  • displaying the interface level corresponding to the current operating parameters in the prompt animation is also helpful for users to synchronously understand the interface level of the interface that can currently be jumped to.
  • bubbles can be displayed at the edge of the screen, and as the preset gesture operation continues to act, the display area of the prompt animation Will be updated synchronously.
  • FIG. 4 taking the preset gesture operation as a sliding operation as an example, when the sliding operation slides from the target position to position 31 in FIG. 4 , the display area of the bubble 30 is as shown in the leftmost image in FIG. 4 . If the sliding operation continues and slides to position 32, the display area of bubble 30 is as shown in the middle image in Figure 4. If the sliding operation continues and slides to position 33, the display area of the bubble 30 is as shown in the right image in Figure 4 .
  • the chat interface Furthermore, if you first display the chat interface, you can trigger from the chat interface to enter the subscription account message interface, and then enter the detailed information about "What are the delicious foods in Chengdu" shown in Figure 5 from the subscription account message interface?
  • the interface level to be jumped will correspond to Shown in prompt animation.
  • the interface identifier of the interface corresponding to the current operating parameter will also be displayed synchronously. For example, the subscription account message shown in the middle image in Figure 5, and the chat shown in the right image in Figure 5, etc.
  • the icon corresponding to the interface corresponding to the current operating parameter can also be displayed.
  • This embodiment provides an interface display method.
  • the interface corresponding to the current operation parameters can be displayed. mark, and when the preset gesture operation ends, the currently displayed interface can be switched to display an interface corresponding to the current operation parameters. Therefore, through the above method, when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can perform the preset gesture operation according to the current operation parameters during the operation. Displays the interface that can currently be jumped to, and when the preset gesture operation ends, directly triggers the jump to the interface corresponding to the displayed interface identifier, thereby allowing the user to more conveniently trigger the interface jump.
  • This application provides an interface display method, which is applied to electronic equipment.
  • the method includes:
  • S220 Display the interface identifier of the interface corresponding to the distance.
  • the end of the sliding operation can be understood as the touch object on which the sliding operation is effected is out of contact with the screen.
  • This embodiment provides an interface display method, so that when the user needs to jump to the interface, the sliding operation can be started from the target position through the above method, so that the electronic device can perform the sliding operation according to the sliding operation.
  • the distance between sliding from the target position to the current sliding position is used to display the interface that can currently be jumped to, and when the sliding operation ends, it directly triggers the jump to the interface corresponding to the displayed interface identifier, so that the user can It is more convenient to trigger the jump of the interface.
  • This application provides an interface display method, which is applied to electronic equipment.
  • the method includes:
  • This embodiment provides an interface display method, so that when the user needs to jump to the interface, the sliding operation can be started from the target position through the above method, so that the electronic device can perform the sliding operation according to the sliding operation.
  • the distance between sliding from the target position to the current sliding position is used to display the interface that can currently be jumped to, and when the sliding operation ends, it directly triggers the jump to the interface corresponding to the displayed interface identifier, so that the user can It is more convenient to trigger the jump of the interface.
  • This application provides an interface display method, which is applied to electronic equipment.
  • the method includes:
  • the first press operation includes a long press operation.
  • the display of prompt information will be triggered, so as to prompt the user to perform a preset gesture operation to trigger a direct jump to more interfaces.
  • the target control is a control that can trigger interface jump.
  • the target control can be the return control.
  • the click operation is an operation other than the first press operation, then when there is a click operation that affects the return control, you can directly return to the interface of the previous interface level.
  • prompt information for triggering the preset gesture operation may be displayed.
  • S420 In response to the preset gesture operation that starts from the display position of the target control while the touch object that performs the first pressing operation maintains contact with the screen, obtain the current operation parameters of the preset gesture operation during the operation.
  • the prompt information will be triggered to be displayed.
  • the preset gesture operation can be directly performed, allowing the user to switch to other interfaces more conveniently and smoothly.
  • the prompt information includes: in response to the first press operation on the target control, displaying the interface identifier of the interface corresponding to the first press operation, and displaying the prompt information for triggering the preset gesture operation; wherein, the interface identifier corresponding to the first press operation is displayed.
  • the interface level is higher than the interface level corresponding to the preset gesture operation.
  • the touch object that acts on the first press operation leaves the screen, it can be triggered to display the interface identifier of the interface level corresponding to the first press operation.
  • the currently displayed interface is switched to the interface corresponding to the interface level corresponding to the first pressing operation.
  • the triggering preset gesture operation can be displayed.
  • Prompt information 41 the content of which is “slide up”.
  • the user can slide in the direction shown by the arrow in the middle image in Figure 10 to slide from the target control 40 to the position shown by the dotted circle in the middle image in Figure 10, and then, can continue Slide to the position indicated by the dotted circle in the right image in Figure 10.
  • the interface identification of the interface corresponding to the first pressing operation can also be displayed as shown in the left image of FIG. 11 (i.e., FIG. (Subscription account message shown in the left image in 11), after the prompt message 41 is displayed, the touch object that performs the first pressing operation slides upward, and the displayed interface logo can be updated according to the current operating parameters. For example, update to the chat shown in the image on the right of Figure 11.
  • This embodiment provides an interface display method, so that when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can operate according to the preset gesture.
  • the current operating parameters during the operation are used to display the interface that can currently be jumped to, and when the preset gesture operation ends, it directly triggers the jump to the interface corresponding to the displayed interface identifier, so that the user can be more Convenient trigger for interface jump.
  • the user's preset pressing operation on the target control will trigger the display of prompt information, so that the user can better understand how to operate currently to trigger more levels of interface jumps.
  • This application provides an interface display method, which is applied to electronic equipment.
  • the method includes:
  • S510 In response to the preset gesture operation starting from the target position, obtain the current operation parameters of the preset gesture operation during the operation.
  • S520 Display the interface identifier of the interface corresponding to the current operation parameter at the target position in the suspended display control, and update the interface identifier displayed at the target position as the current operation parameter is updated.
  • the size of the current operation parameter represents the degree of effect of the preset gesture operation.
  • the electronic device can display the interface identification for later display on the first edge of the suspended display control, and as the current operation parameters increase, the interface identifier can be displayed toward the control's first edge.
  • the target position moves, and during the movement, the transparency of the interface logo displayed later in the control is increased; the interface logo previously displayed at the target position moves from the target position toward the second edge of the control as the current operating parameters increase. Move, and during the move, reduce the transparency of the interface logo previously displayed at the target location.
  • the first edge 51 and the second edge 52 of the suspended displayed control are as shown in FIG. 13 .
  • the interface displayed at the target position is identified as a subscription account message.
  • the interface logo displayed at the back is shown at 51, that is, chat.
  • the controls already displayed in the floating display will move toward the second edge 52, and during the movement, the transparency of the chat displayed in the control will be increased, and the transparency of the chat displayed in the front will be reduced.
  • the transparency of the subscription account message at the target location shown in the right image of Figure 13).
  • This embodiment provides an interface display method, so that when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can operate according to the preset gesture.
  • the current operating parameters during the operation are used to display the interface that can currently be jumped to, and when the preset gesture operation ends, it directly triggers the jump to the interface corresponding to the displayed interface identifier, so that the user can be more Convenient trigger for interface jump.
  • the interface identifier that can trigger the display of the corresponding interface can be displayed at the target position in the suspended control, and other interfaces that can be jumped to are displayed in the area other than the target position in the suspended control. Interface identification so that users can more easily understand the interface they can jump to.
  • This application provides an interface display method, which is applied to electronic devices.
  • the method includes:
  • the bottom of the screen can be understood as the part closest to the user's line of sight when holding the electronic device.
  • the location shown in the dotted box in FIG. 15 may be the bottom of the screen.
  • the preset gesture operation includes a sliding operation
  • the current operation parameters include the current location of the touch object that performs the sliding operation.
  • S630 Highlight the interface identifier of the interface corresponding to the current operating parameter among the multiple interface identifiers to be selected.
  • the interface identifiers of all jumpable interfaces can be triggered to be displayed as multiple candidates.
  • interface identifier can be understood as changing the display style of the interface logo itself, or changing the background corresponding to the interface logo.
  • changing the display style of the interface logo itself may include at least one of changing the font size of the interface logo, changing the font color of the interface logo, and changing the font mode of the display style. For example, as shown in FIG.
  • the display control 60 can be triggered, and multiple interface identifiers to be selected can be displayed in the control 60 . Therefore, the user can select the interface corresponding to the current operating parameter by sliding the interface identifiers to be selected in the control 60 .
  • This embodiment provides an interface display method, so that when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can operate according to the preset gesture.
  • the current operating parameters during the operation are used to display the interface that can currently be jumped to, and when the preset gesture operation ends, it directly triggers the jump to the interface corresponding to the displayed interface identifier, so that the user can be more Convenient trigger for interface jump.
  • the target control is directly arranged at the bottom of the screen, it is convenient for the user to operate with one hand, and further allows the user to perform multi-level jumps in the interface with one hand.
  • the device 700 includes:
  • the parameter acquisition unit 710 is configured to obtain the current operating parameters of the preset gesture operation during its operation in response to the preset gesture operation that starts from the target position.
  • the logo display unit 720 is used to display the interface logo of the interface corresponding to the current operating parameter.
  • the interface control unit 730 is configured to switch the currently displayed interface to an interface corresponding to the current operating parameters when the preset gesture operation ends.
  • the preset gesture operation includes a sliding operation
  • the current operation parameter includes the distance from the target position to the current sliding position.
  • the parameter acquisition unit 710 is specifically configured to acquire the distance from the target position to the current sliding position in response to a sliding operation starting from the target position.
  • the identification display unit 720 is used to display the interface identification of the interface corresponding to the distance.
  • the preset gesture operation includes a pressing operation
  • the current operation parameters include the current pressing force at the target position.
  • the identification display unit 720 is specifically configured to obtain the pressing force of the pressing operation in response to the pressing operation starting at the target position.
  • the interface control unit 730 is specifically used to display the interface identification of the interface corresponding to the pressing force.
  • the device 700 further includes a prompt unit 740, configured to display prompt information that triggers a preset gesture operation in response to the first pressing operation on the target control.
  • the parameter acquisition unit 710 is specifically configured to acquire the preset gesture operation starting from the display position of the target control while the touch object that performs the first pressing operation maintains contact with the screen. Set the current operating parameters of the gesture operation during its operation.
  • the prompt unit 740 is specifically configured to respond to the first press operation on the target control, display the interface identifier of the interface corresponding to the first press operation, and display prompt information that triggers the preset gesture operation; wherein, the first The interface level of the interface corresponding to the pressing operation is higher than the interface level of the interface corresponding to the preset gesture operation.
  • the first pressing operation includes a long pressing operation.
  • the logo display unit 720 is specifically configured to display the interface logo of the interface corresponding to the current operating parameters at the target position in the suspended display control, and update the interface logo displayed at the target position as the current operating parameters are updated.
  • the interface control unit 730 is specifically configured to switch the currently displayed interface to the interface corresponding to the interface logo displayed at the target position if the preset gesture operation ends.
  • the size of the current operation parameter represents the degree of effect of the preset gesture operation.
  • the logo display unit 720 specifically displays the interface logo for later display on the first edge of the control as the current operating parameters increase, and moves toward the target position of the control as the current operating parameters increase, and at During the movement, the transparency of the interface logo displayed later in the control is increased; the interface logo previously displayed at the target position moves from the target position toward the second edge of the control as the current operating parameters increase, and moves along the During the process, the transparency of the interface logo previously displayed at the target location is reduced.
  • the parameter acquisition unit 710 is also configured to display multiple interface identifiers to be selected in response to the second pressing operation on the target control at the bottom of the screen.
  • the preset gesture operation starts from the display position of the target control, and the current operating parameters of the preset gesture operation during the operation are obtained.
  • the logo display unit 720 is specifically configured to highlight the interface logo of the interface corresponding to the current operating parameter among the plurality of candidate interface logos.
  • the preset gesture operation includes a sliding operation
  • the current operation parameters include the current location of the touch object that performs the sliding operation.
  • the identification display unit 720 is specifically used to obtain the interface level corresponding to the current operating parameter; obtain the interface corresponding to the interface level, and display the interface identification of the interface corresponding to the interface level, wherein the larger the current operating parameter is, the corresponding interface The lower the level, and the interface corresponding to the lowest interface level is the home page corresponding to the currently displayed interface.
  • the identification display unit 720 is specifically used to obtain the interface corresponding to the interface level if the sorting position of the interface level corresponding to the current operating parameter is not greater than a specified threshold, and display the interface identification of the interface corresponding to the interface level; if the sorting position of the interface level If the position is greater than the specified threshold, the interface logo of the home page is displayed;
  • the interface levels are sorted from high interface levels to low interface levels.
  • the logo display unit 720 is also used to trigger the electronic device to vibrate in response to updating the displayed interface logo. It is also used to display a prompt animation in response to a preset gesture operation starting from the target position; in the prompt animation, display the interface level that jumps from the currently displayed interface to the interface corresponding to the current operation parameter. .
  • the device embodiments in this application correspond to the foregoing method embodiments.
  • the specific implementation principles of each unit in the device embodiments are similar to the principles in the foregoing method embodiments.
  • the specific contents in the device embodiments are Reference may be made to the method embodiment and no further details will be given in the device embodiment.
  • inventions of the present application also provide an electronic device 1000 that can perform the foregoing positioning method of the storage box.
  • the electronic device 1000 includes one or more (only one is shown in the figure) processors 105, a memory 104, an audio playback module 106 and an audio collection device 108 that are coupled to each other.
  • the memory 104 stores programs that can execute the content in the aforementioned embodiments, and the processor 105 can execute the programs stored in the memory 104 .
  • the processor 105 may include one or more processing cores.
  • the processor 105 uses various interfaces and lines to connect various parts of the entire electronic device 1000, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 104, and calling data stored in the memory 104.
  • the processor 105 can use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in hardware form.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA programmable logic array
  • the processor 105 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, etc.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface, and applications
  • the GPU is responsible for rendering and drawing the display content
  • the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 105 and may be implemented solely through a communication chip.
  • the memory 104 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 104 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. For example, the memory 104 may store a content display device. The content display device may be the aforementioned device 700.
  • the memory 104 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc.
  • the electronic device 1000 may also include a network module 110 and a sensor module 112 .
  • the network module 110 is used to realize information interaction between the electronic device 1000 and other devices. For example, it can establish a connection with other audio playback devices or other electronic devices, and perform information interaction based on the established connection.
  • the network module 110 of the electronic device 1000 is a radio frequency module, which is used to receive and send electromagnetic waves, realize mutual conversion of electromagnetic waves and electrical signals, and thereby communicate with the communication network or other devices.
  • the radio frequency module may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memories, and the like.
  • SIM Subscriber Identity Module
  • the radio frequency module can interact with external devices by sending or receiving electromagnetic waves.
  • Sensor module 112 may include at least one sensor. Specifically, the sensor module 112 may include, but is not limited to: pressure sensors, motion sensors, acceleration sensors, and other sensors.
  • the pressure sensor may be a sensor that detects pressure generated by pressing on the electronic device 1000 . That is, the pressure sensor detects pressure caused by contact or pressing between the user and the electronic device 1000 , for example, pressure caused by contact or pressing between the user's ear and the electronic device 1000 . Therefore, the pressure sensor can be used to determine whether contact or pressure has occurred between the user and the electronic device 1000, as well as the amount of pressure.
  • the acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), can detect the magnitude and direction of gravity when stationary, and can be used to identify applications of the posture of electronic devices 1000 (such as horizontal and vertical screen switching, related games, magnetometers Attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.
  • the electronic device 1000 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, and thermometer, which will not be described again here.
  • Audio collection device 110 is used to collect audio signals.
  • the audio collection device 110 includes multiple audio collection devices, and the audio collection devices may be microphones.
  • FIG. 20 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • Program code is stored in the computer-readable medium 1100, and the program code can be called by the processor to execute the method described in the above method embodiment.
  • Computer-readable storage medium 1100 may be electronic memory such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 1100 includes non-transitory computer-readable storage medium.
  • the computer-readable storage medium 1100 has storage space for the program code 1110 that performs any method steps in the above-mentioned methods. These program codes can be read from or written into one or more computer program products.
  • Program code 1110 may, for example, be compressed in a suitable form.
  • references to the terms “one embodiment,” “some embodiments,” “an example,” “specific examples,” or “some examples” or the like means that specific features are described in connection with the embodiment or example. , structures, materials or features are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as “first” and “second” may explicitly or implicitly include at least one of these features.
  • “plurality” means at least two, such as two, three, etc., unless otherwise expressly and specifically limited.
  • logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered a sequenced list of executable instructions for implementing the logical functions, and may be embodied in any computer-readable medium, For use by, or in combination with, instruction execution systems, devices or devices (such as computer-based systems, systems including processors or other systems that can fetch instructions from and execute instructions from the instruction execution system, device or device) or equipment.
  • various parts of the present application can be implemented in hardware, software, firmware, or a combination thereof.
  • various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a logic gate circuit with a logic gate circuit for implementing a logic function on a data signal.
  • Discrete logic circuits application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
  • the present application provides an interface display method, device, electronic device and storage medium.
  • a preset gesture operation that starts from the target position
  • the current status of the preset gesture operation during the action is obtained.
  • the interface identifier of the interface corresponding to the current operating parameters can be displayed, and when the end effect of the preset gesture operation is completed, the currently displayed interface can be switched to display the interface corresponding to the current operating parameters. Therefore, through the above method, when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can perform the preset gesture operation according to the current operation parameters during the operation. Displays the interface that can currently be jumped to, and when the preset gesture operation ends, directly triggers the jump to the interface corresponding to the displayed interface identifier, thereby allowing the user to more conveniently trigger the interface jump.

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)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed in the embodiments of the present application are an interface display method and apparatus, an electronic device, and a storage medium. The method comprises: in response to a preset gesture operation coming into action from a target position, acquiring a current operation parameter of the preset gesture operation during an action process; displaying an interface identifier of an interface corresponding to the current operation parameter; and if the action of the preset gesture operation is ended, switching a currently displayed interface to the interface corresponding to the current operation parameter. Therefore, by the above means, when a user needs to perform interface jump, a preset gesture operation can be operated to act from a target position, so that an electronic device can display, according to a current operation parameter of the preset gesture operation during the action process, an interface which can be currently jumped to, and at the end of the action of the preset gesture operation, jumping to an interface corresponding to a displayed interface identifier is directly triggered, so that the user can more conveniently trigger interface jump.

Description

界面显示方法、装置、电子设备及存储介质Interface display method, device, electronic equipment and storage medium
相关申请的交叉引用Cross-references to related applications
本申请要求于2022年6月15日提交的申请号为202210682085.0的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。This application claims priority from Chinese application No. 202210682085.0 filed on June 15, 2022, the entire content of which is hereby incorporated by reference for all purposes.
技术领域Technical field
本申请涉及终端技术领域,更具体地,涉及一种界面显示方法、装置、电子设备及存储介质。The present application relates to the field of terminal technology, and more specifically, to an interface display method, device, electronic equipment and storage medium.
背景技术Background technique
随着技术的发展,电子设备中所包括界面越来越多。在一些情况下,用户需要操作电子设备进行界面之间的跳转,但是,在相关的界面跳转方式还存在操作不便的问题。With the development of technology, more and more interfaces are included in electronic devices. In some cases, users need to operate electronic devices to jump between interfaces. However, there is still a problem of inconvenient operation in the related interface jump methods.
发明内容Contents of the invention
鉴于上述问题,本申请提出了一种界面显示方法、装置、电子设备及存储介质,以改善上述问题。In view of the above problems, this application proposes an interface display method, device, electronic device and storage medium to improve the above problems.
第一方面,本申请提供了一种界面显示方法,应用于电子设备,所述方法包括:响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数;显示所述当前操作参数对应的界面的界面标识;若所述预设手势操作结束作用,将当前所显示的界面切换为显示所述当前操作参数对应的界面。In a first aspect, the present application provides an interface display method, which is applied to an electronic device. The method includes: in response to a preset gesture operation starting from a target position, obtaining the current status of the preset gesture operation during the operation. Operation parameters; display the interface identifier of the interface corresponding to the current operation parameters; if the preset gesture operation ends, switch the currently displayed interface to display the interface corresponding to the current operation parameters.
第二方面,本申请提供了一种界面显示装置,运行于电子设备,所述装置包括:参数获取单元,用于响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数;标识显示单元,用于显示所述当前操作参数对应的界面的界面标识;界面控制单元,用于若所述预设手势操作结束作用,将当前所显示的界面切换为显示所述当前操作参数对应的界面。In a second aspect, the present application provides an interface display device running on an electronic device. The device includes: a parameter acquisition unit configured to acquire the preset gesture operation in response to a preset gesture operation that starts from a target position. The current operating parameters during the operation; the identification display unit is used to display the interface identification of the interface corresponding to the current operating parameters; the interface control unit is used to change the currently displayed interface if the preset gesture operation ends. Switch to display the interface corresponding to the current operating parameters.
第三方面,本申请提供了一种电子设备,包括一个或多个处理器以及存储器;一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述的方法。In a third aspect, the present application provides an electronic device, including one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, The one or more programs are configured to perform the above method.
第四方面,本申请提供的一种存储有处理器可执行的程序代码的计算机可读存储介质,所述计算机可读存储介质包括存储的程序代码,其中,在所述程序代码运行时执行上述的方法。In a fourth aspect, the present application provides a computer-readable storage medium storing a program code executable by a processor. The computer-readable storage medium includes the stored program code, wherein the above-mentioned steps are executed when the program code is run. Methods.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.
图1示出了本申请实施例提出的一种界面显示方法的流程图;Figure 1 shows a flow chart of an interface display method proposed by an embodiment of the present application;
图2示出了本申请实施例中预设手势操作为滑动操作的示意图;Figure 2 shows a schematic diagram in which the preset gesture operation is a sliding operation in the embodiment of the present application;
图3示出了本申请实施例中隔空手势操作与电子设备的方位的示意图;Figure 3 shows a schematic diagram of the air gesture operation and the orientation of the electronic device in the embodiment of the present application;
图4示出了本申请实施例中提示动画的示意图;Figure 4 shows a schematic diagram of the prompt animation in the embodiment of the present application;
图5示出了本申请实施例中一种提示动画的示意图;Figure 5 shows a schematic diagram of a prompt animation in the embodiment of the present application;
图6示出了本申请实施例中跳转到当前操作参数对应的界面的示意图;Figure 6 shows a schematic diagram of jumping to the interface corresponding to the current operating parameter in the embodiment of the present application;
图7示出了本申请另一实施例提出的一种界面显示方法的流程图;Figure 7 shows a flow chart of an interface display method proposed by another embodiment of the present application;
图8示出了本申请再一实施例提出的一种界面显示方法的流程图;Figure 8 shows a flow chart of an interface display method proposed by yet another embodiment of the present application;
图9示出了本申请又一实施例提出的一种界面显示方法的流程图;Figure 9 shows a flow chart of an interface display method proposed by yet another embodiment of the present application;
图10示出了本申请实施例中显示提示触发预设手势操作的示意图;Figure 10 shows a schematic diagram of a display prompt triggering a preset gesture operation in an embodiment of the present application;
图11示出了本申请实施例中在显示提示触发预设手势操作的提示信息后作用预设手势操作的示意图;FIG. 11 shows a schematic diagram of the preset gesture operation after displaying the prompt information prompting to trigger the preset gesture operation in the embodiment of the present application;
图12示出了本申请又一实施例提出的一种界面显示方法的流程图;Figure 12 shows a flow chart of an interface display method proposed by yet another embodiment of the present application;
图13示出了本申请实施例中界面标识的透明度跟随预设手势操作的作用进行更新的示意图;Figure 13 shows a schematic diagram in which the transparency of the interface logo is updated according to the effect of the preset gesture operation in the embodiment of the present application;
图14示出了本申请又一实施例提出的一种界面显示方法的流程图;Figure 14 shows a flow chart of an interface display method proposed by yet another embodiment of the present application;
图15示出了本申请实施例中电子设备的底部的示意图;Figure 15 shows a schematic diagram of the bottom of the electronic device in the embodiment of the present application;
图16示出了本申请实施例中显示多个待选的界面标识的示意图;Figure 16 shows a schematic diagram showing multiple interface identifiers to be selected in the embodiment of the present application;
图17示出了本申请另一实施例提出的一种界面显示装置的结构框图;Figure 17 shows a structural block diagram of an interface display device proposed by another embodiment of the present application;
图18示出了本申请另一实施例提出的另一种界面显示装置的结构框图;Figure 18 shows a structural block diagram of another interface display device proposed by another embodiment of the present application;
图19示出了本申请的用于执行根据本申请实施例的界面显示方法的电子设备的结构框图;Figure 19 shows a structural block diagram of an electronic device of the present application for executing an interface display method according to an embodiment of the present application;
图20是本申请实施例的用于保存或者携带实现根据本申请实施例的界面显示方法的程序代码的存储单元。Figure 20 is a storage unit used to save or carry the program code for implementing the interface display method according to the embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
随着终端技术的发展,电子设备的功能日益丰富。并且,随着功能的增多,电子设备中的界面的数量和种类也越来越多。在一些情况下,用户需要操作电子设备进行界面之间的跳转。但是,在相关的界面跳转方式还存在操作不便的问题。With the development of terminal technology, the functions of electronic devices are becoming increasingly rich. Moreover, with the increase in functions, the number and types of interfaces in electronic devices are also increasing. In some cases, users need to operate electronic devices to jump between interfaces. However, there is still a problem of inconvenient operation in the relevant interface jump method.
例如,在电子设备显示第一层级的界面的情况下,可以在该第一层级的界面中触发显示第二层级的界面,并在显示该第二层级的界面的情况下,可以进一步的在该第二层级的界面中触发显示再第三层级的界面。在显示该第三层级的界面的情况下,若用户希望触发跳转到前述的第一层级的界面时,则需要先操作电子设备跳转到第二层级的界面,然后再从第二承接的界面跳转到该第三层级的界面,因此,会使得在进行跨层级的界面跳转的情况下,用户需要通过多次操作才能进行界面的跳转,给用户造成了不便。For example, when the electronic device displays a first-level interface, the display of a second-level interface can be triggered in the first-level interface, and when the second-level interface is displayed, the display of the second-level interface can be further triggered in the first-level interface. The second-level interface triggers the display of the third-level interface. When the third-level interface is displayed, if the user wants to trigger a jump to the aforementioned first-level interface, he or she needs to first operate the electronic device to jump to the second-level interface, and then proceed from the second-level interface. The interface jumps to the third-level interface. Therefore, in the case of cross-level interface jump, the user needs to perform multiple operations to jump to the interface, which causes inconvenience to the user.
因此,发明人提出了本申请中的一种界面显示方法、装置、电子设备及存储介质,在响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数后,可以显示所述当前操作参数对应的界面的界面标识,并且,在预设手势操作的结束作用的情况下,可以将当前所显示的界面切换为显示当前操作参数对应的界面。从而通过上述方式使得在用户需要进行界面的跳转的时候,可以通过从目标位置开始作用预设手势操作操作,以使得电子设备可以根据该预设手势操作在作用过程中的当前操作参数,来显示当前可以跳转到的界面,并在预设手势操作结束作用时,直接触发跳转到所显示的界面标识对应的界面,进而使得用户可以更为便利的触发进行界面的跳转。Therefore, the inventor proposes an interface display method, device, electronic device and storage medium in this application. In response to a preset gesture operation that starts from the target position, the preset gesture operation in the process of action is obtained. After the current operation parameters are displayed, the interface identification of the interface corresponding to the current operation parameters can be displayed, and when the end effect of the preset gesture operation is completed, the currently displayed interface can be switched to display the interface corresponding to the current operation parameters. Therefore, through the above method, when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can perform the preset gesture operation according to the current operation parameters during the operation. Displays the interface that can currently be jumped to, and when the preset gesture operation ends, directly triggers the jump to the interface corresponding to the displayed interface identifier, thereby allowing the user to more conveniently trigger the interface jump.
下面将结合附图具体描述本申请的各实施例。Each embodiment of the present application will be described in detail below with reference to the accompanying drawings.
请参阅图1,本申请提供的一种界面显示方法,应用于电子设备,方法包括:Please refer to Figure 1. This application provides an interface display method, which is applied to electronic equipment. The method includes:
S110:响应于从目标位置开始作用的预设手势操作,获取预设手势操作在作用过程中的当前操作参数。S110: In response to the preset gesture operation starting from the target position, obtain the current operation parameters of the preset gesture operation during the operation.
在本申请实施例中,目标位置为预设手势操作的开始位置。其中,预设手势操作为用于触发进行界面跳转的操作。界面跳转可以理解为将当前所显示的界面切换为其他的界面。示例性的,在电子设备显示界面A的情况下,若触发跳转到界面B,则电子设备可以关闭界面B,并对界面A进行显示。In this embodiment of the present application, the target position is the starting position of the preset gesture operation. Among them, the preset gesture operation is an operation used to trigger interface jump. Interface jump can be understood as switching the currently displayed interface to another interface. For example, when the electronic device displays interface A, if a jump to interface B is triggered, the electronic device can close interface B and display interface A.
其中,预设手势操作的作用过程可以理解为电子设备检测到预设手势操作开始作用到取消作用的过程。并且,在本申请实施例中,预设手势操作可以为隔空手势操作,也可以为触控手势操作。Among them, the action process of the preset gesture operation can be understood as the process from when the electronic device detects that the preset gesture operation starts to take effect until it cancels the action. Moreover, in the embodiment of the present application, the preset gesture operation may be an air gesture operation or a touch gesture operation.
在预设手势操作为触控手势操作的情况下,若检测到有作用于电子设备的屏幕的预设手势操作,则确定预设手势操作开始作用。并且,在预设手势操作的作用过程中,作用预设手势操作的触控物(触控笔或者用户的手指)会与屏幕保持接触。对应的,若检测到作用预设手势操作的触控物与屏幕脱离接触,则确定预设手势操作结束作用。例如,以预设手势操作为滑动操作,且目标位置为屏幕的侧边缘为例,若检测有从屏幕的侧边缘开始作用的滑动操作,则确定有预设手势操(滑动操作)作开始作用。若检测到作用该滑动操作的手指与屏幕脱离,则确定滑动操作结束作用。再例如,以预设手势操作为按压操作,且目标位置为 屏幕的侧边缘为例,若检测有从屏幕的侧边缘开始作用的按压操作,则确定有预设手势操(按压操作)作开始作用。若检测到作用该按压操作的手指与屏幕脱离,则确定按压操作结束作用。需要说明的是,屏幕的侧边缘可以理解为屏幕的最左侧到距离该最左侧之间的指定像素区域内,以及屏幕的最右侧到距离该最右侧之间的指定像素区域内。When the preset gesture operation is a touch gesture operation, if a preset gesture operation acting on the screen of the electronic device is detected, it is determined that the preset gesture operation takes effect. Moreover, during the operation of the preset gesture operation, the touch object (stylus or user's finger) used for the preset gesture operation will remain in contact with the screen. Correspondingly, if it is detected that the touch object acting on the preset gesture operation is out of contact with the screen, it is determined that the preset gesture operation has ended. For example, assuming that the preset gesture operation is a sliding operation and the target position is the side edge of the screen, if a sliding operation starting from the side edge of the screen is detected, it is determined that a preset gesture operation (sliding operation) has started to take effect. . If it is detected that the finger performing the sliding operation is separated from the screen, it is determined that the sliding operation has ended. For another example, assuming that the preset gesture operation is a press operation and the target position is the side edge of the screen, if a press operation starting from the side edge of the screen is detected, it is determined that the preset gesture operation (press operation) has started. effect. If it is detected that the finger performing the pressing operation is separated from the screen, it is determined that the pressing operation has ended. It should be noted that the side edge of the screen can be understood as the specified pixel area from the leftmost side of the screen to the leftmost side, and the specified pixel area from the rightmost side of the screen to the rightmost side. .
在预设手势操作为隔空手势操作的情况下,若电子设备的隔空手势检测器件在指定方位(一种目标位置)检测到有预设手势操作,则确定预设手势操作开始作用。若无法在隔空手势检测器件的探测范围内检测到该预设手势操作,则确定该预设手势操作结束作用。可选的,隔空手势检测器件可以为超声波类型的隔空手势检测器件,还可以为红外类型的隔空手势检测器件。When the preset gesture operation is an air gesture operation, if the air gesture detection device of the electronic device detects a preset gesture operation in a specified direction (a target position), it is determined that the preset gesture operation starts to take effect. If the preset gesture operation cannot be detected within the detection range of the air gesture detection device, it is determined that the preset gesture operation has ended. Optionally, the air gesture detection device may be an ultrasonic type air gesture detection device or an infrared type air gesture detection device.
预设手势操作在作用过程中会对应有操作参数。该操作参数表征了对应的预设手势操作的操作情况。并且,预设手势操作在作用的过程中,操作参数可能是会实时变换的,那么预设手势操作的当前操作参数则表征了预设手势操作最新的操作情况。The default gesture operation will have operating parameters during its operation. The operation parameter represents the operation status of the corresponding preset gesture operation. Moreover, during the process of the preset gesture operation, the operation parameters may change in real time, so the current operation parameters of the preset gesture operation represent the latest operation status of the preset gesture operation.
其中,对于不同的预设手势操作,对应的操作参数可以不同。Among them, for different preset gesture operations, the corresponding operation parameters may be different.
可选的,以预设手势操作为滑动操作为例,对于滑动操作而言对应的操作参数可以包括滑动距离,对应的,当前操作参数则可以包括从目标位置开始滑动到当前滑动位置的距离。示例性的,以图2为例,在图2中的位置10可以为目标位置,若对于滑动操作的当前操作参数包括当前滑动位置与目标位置之间的距离,那么若从目标位置10开始作用的滑动操作进行到位置11的情况时,滑动操作的当前操作参数为距离d。若该滑动操作继续进行,并作用到位置12的情况下,则滑动操作的当前操作参数为2d。需要说明的是,图2中所示的目标位置仅仅是示例性的,例如,屏幕的整个左侧边缘均可以为目标位置。Optionally, taking the preset gesture operation as a sliding operation as an example, the corresponding operating parameters for the sliding operation may include the sliding distance, and correspondingly, the current operating parameters may include the distance from the target position to the current sliding position. Illustratively, taking Figure 2 as an example, the position 10 in Figure 2 can be the target position. If the current operating parameters for the sliding operation include the distance between the current sliding position and the target position, then if the action starts from the target position 10 When the sliding operation reaches position 11, the current operating parameter of the sliding operation is distance d. If the sliding operation continues and affects position 12, the current operating parameter of the sliding operation is 2d. It should be noted that the target position shown in FIG. 2 is only exemplary. For example, the entire left edge of the screen can be the target position.
可选的,以预设手势操作为按压操为例,对于按压操作而言对应的操作参数可以包括按压力度,对应的,当前操作参数则可以包括作用在目标位置的按压操作当前的按压力度。Optionally, taking the preset gesture operation as a pressing operation as an example, the corresponding operating parameters for the pressing operation may include the pressing force, and correspondingly, the current operating parameters may include the current pressing force of the pressing operation at the target position.
可选的,以预设手势操作为隔空手势操作为例,对于隔空手势操作而言所对应的操作参数可以包括相对于电子设备的方位,对应的,当前操作参数则可以包括隔空操作手势当前相对于电子设备的方位。示例性的,如图3所示,当隔空手势操作的产生位置20相对于电子设备100之间的方位角度为α1时,则可以确定在目标位置开始有预设手势操作开始作用,进而会实时检测该预设手势操作相对于电子设备的方位,进而将当前的方位作为当前操作参数。Optionally, taking the preset gesture operation as an air gesture operation as an example, the corresponding operation parameters for the air gesture operation may include the orientation relative to the electronic device, and correspondingly, the current operation parameters may include the air operation. The current orientation of the gesture relative to the electronic device. For example, as shown in FIG. 3 , when the azimuth angle between the generation position 20 of the air-to-air gesture operation and the electronic device 100 is α1, it can be determined that a preset gesture operation starts to take effect at the target position, and then the The orientation of the preset gesture operation relative to the electronic device is detected in real time, and the current orientation is used as the current operation parameter.
需要说明的是,在本申请实施例中,预设手势操作可以有多种实施方式的情况下,电子设备具体当前是采用何种操作作为预设手势操作,可以由用户根据自己的操作习惯进行配置。例如,在用户习惯滑动操作的情况下,可以将预设手势操作配置为滑动操作。再例如,在用户习惯按压操作的情况下,可以将预设手势操作配置为按压操作。再例如,在用户不方便对屏幕进行触控的情况下,可以将预设手势操作配置为隔空手势操作。It should be noted that in the embodiments of the present application, the preset gesture operation can be implemented in multiple ways. The specific operation currently used by the electronic device as the preset gesture operation can be performed by the user according to his or her own operating habits. configuration. For example, if the user is accustomed to sliding operations, the preset gesture operation can be configured as a sliding operation. For another example, if the user is accustomed to pressing operations, the preset gesture operation can be configured as a pressing operation. For another example, when it is inconvenient for the user to touch the screen, the preset gesture operation can be configured as an air gesture operation.
S120:显示当前操作参数对应的界面的界面标识。S120: Display the interface identifier of the interface corresponding to the current operating parameter.
其中,界面的界面标识用于电子设备或者用户对界面进行识别。在电子设备中,每个界面可以对应有各自的界面标识,且不同的界面各自所对应的界面标识不同。The interface identifier of the interface is used by the electronic device or the user to identify the interface. In electronic devices, each interface may have its own interface identifier, and different interfaces may have different interface identifiers.
在本申请实施例中,可以建立有操作参数与界面标识之间的对应关系。在这种情况下,在预设手势操作的作用过程中,可以实时获取当前操作参数是否对应有界面标识,并在对应有界面标识的情况,对当前参数操作对应的界面标识进行显示。示例性的,以预设手势操作为滑动操作,操作参数为从目标位置到当前滑动位置的距离为例,滑动距离d对应有界面A,滑动距离2d对应有界面B,滑动距离3d对应有界面C,在这种情况下,若从目标位置开始滑动,且从目标位置到当前滑动位置的距离为d的情况下,则所获取到的当前操作参数对应的界面为界面A,进而可以显示界面A的界面标识。若继续滑动,且从目标位置到当前滑动位置的距离为2d的情况下,则所获取到的当前操作参数对应的界面为界面B,进而可以显示界面B的界面标识。In this embodiment of the present application, a corresponding relationship between operating parameters and interface identifiers can be established. In this case, during the function of the preset gesture operation, it is possible to obtain in real time whether the current operation parameter corresponds to an interface identifier, and if there is a corresponding interface identifier, the interface identifier corresponding to the current parameter operation is displayed. For example, taking the preset gesture operation as a sliding operation and the operating parameter as the distance from the target position to the current sliding position, the sliding distance d corresponds to interface A, the sliding distance 2d corresponds to interface B, and the sliding distance 3d corresponds to interface C. In this case, if you start sliding from the target position, and the distance from the target position to the current sliding position is d, then the interface corresponding to the current operating parameters obtained is interface A, and then the interface can be displayed The interface identifier of A. If you continue to slide and the distance from the target position to the current sliding position is 2d, the interface corresponding to the obtained current operating parameters is interface B, and the interface identifier of interface B can be displayed.
其中,本申请实施例所提供的界面显示方法可以应用在不同的场景中。Among them, the interface display method provided by the embodiment of the present application can be applied in different scenarios.
作为一种应用场景,本申请实施例所提供的界面显示方式可以应用在应用程序的切换场景中。在这种方式下,不同的操作参数所对应的界面所属的应用程序不同,从而使得用户可以基于预设手势操作进行应用程序的切换。As an application scenario, the interface display method provided by the embodiment of the present application can be applied in application switching scenarios. In this way, the interfaces corresponding to different operating parameters belong to different applications, so that the user can switch applications based on preset gesture operations.
作为另外一种应用场景,本申请实施例所提供的界面显示方法可以应用在不同界面层级的界面之间进行跳转。其中,界面的界面层级表征了界面的显示路径的深度。该显示路径则表征了要触发电子设备显示对应的界面所要进行的操作,对应的显示路径越深,那么用户需要进行更多的操作才能触发进行显示,而对应的显示路径越多的界面的界面层级则越高。示例性的,在显示界面A的情况下,可以在界面A中进行操作以触发将所显示的界面由界面A切换为显示界面B,在显示界面B之后,可以在界面B中进行操作以触发将所显示的界面由界面B切换为显示界面C。其中,若要显示界面C,则需要先触发显示界面A以及界面B,若要显示界面B则需要先触发显示界面A,那么可知,界面C的显示路径多于界面B的显示路径,那么也就意味着界面C的界面层级高于界面B的界面层级,并且,界面B的界面层级高于界面A 的界面层级。As another application scenario, the interface display method provided by the embodiment of the present application can be used to jump between interfaces at different interface levels. Among them, the interface level of the interface represents the depth of the display path of the interface. The display path represents the operation to be performed to trigger the electronic device to display the corresponding interface. The deeper the corresponding display path, the more operations the user needs to perform to trigger the display, and the interface with the corresponding display path has more interfaces. The higher the level. For example, when interface A is displayed, operations can be performed in interface A to trigger switching of the displayed interface from interface A to display interface B. After displaying interface B, operations can be performed in interface B to trigger Switch the displayed interface from interface B to display interface C. Among them, if you want to display interface C, you need to trigger display interface A and interface B first. If you want to display interface B, you need to trigger display interface A first. Then it can be seen that the display path of interface C is more than the display path of interface B, so it is also This means that the interface level of interface C is higher than the interface level of interface B, and the interface level of interface B is higher than the interface level of interface A.
在这种方式下,不同的操作参数则可以对应不同界面层级,而不同的界面层级又各自对应有界面,进而实现预设手势操作来触发进行不同界面层级的界面之间的跳转。对应的,在这种方式下,显示当前操作参数对应的界面的界面标识,包括:获取当前操作参数对应界面层级,获取界面层级对应的界面,并显示界面层级对应的界面的界面标识,其中,当前操作参数越大所对应的界面层级越低,且最低的界面层级对应的界面为当前所显示界面对应的首页。其中,当前所显示界面对应的首页,可以理解为界面层级最低的界面。示例性的,在显示界面A的情况下,可以在界面A中进行操作以触发将所显示的界面由界面A切换为显示界面B,在显示界面B之后,可以在界面B中进行操作以触发将所显示的界面由界面B切换为显示界面C。那么对于界面B和界面C各自对应的首页均为界面A。In this way, different operating parameters can correspond to different interface levels, and different interface levels have corresponding interfaces, thereby realizing preset gesture operations to trigger jumps between interfaces at different interface levels. Correspondingly, in this way, displaying the interface identification of the interface corresponding to the current operation parameter includes: obtaining the interface level corresponding to the current operation parameter, obtaining the interface corresponding to the interface level, and displaying the interface identification of the interface corresponding to the interface level, where, The larger the current operating parameters are, the lower the corresponding interface level is, and the interface corresponding to the lowest interface level is the home page corresponding to the currently displayed interface. Among them, the homepage corresponding to the currently displayed interface can be understood as the interface with the lowest interface level. For example, when interface A is displayed, operations can be performed in interface A to trigger switching of the displayed interface from interface A to display interface B. After displaying interface B, operations can be performed in interface B to trigger Switch the displayed interface from interface B to display interface C. Then the corresponding homepages for interface B and interface C are both interface A.
需要说明的是,在一些场景下,可能需要4次,5次甚至更多次的操作才能触发显示用户所期望所显示的界面,那么在这种情况下,该用户所期望显示的界面的界面层级可能就较高,在这种情况下,在通过预设手势操作进行界面跳转的过程中,可以对中间界面层级的界面标识进行省略,以降低操作的复杂性,也使得用户可以更快速的切换回界面层级较低的界面。可选的,获取界面层级对应的界面,并显示界面层级对应的界面的界面标识,包括:若当前操作参数对应界面层级的排序位置不大于指定阈值,获取界面层级对应的界面,并显示界面层级对应的界面的界面标识;若界面层级的排序位置大于指定阈值,显示首页的界面标识;其中,界面层级的排序从高的界面层级向低的界面层级进行排列。示例性的,对于界面A、界面B、界面C以及界面D而言,若需要先触发显示界面A,然后在界面A中触发显示界面B,然后在界面B中触发显示界面C,最后在界面C中触发显示界面D。在界面层级的数字越小对应的界面层级越低的情况下,界面A的界面层级为一级,界面B的界面层级为二级,界面C的界面层级为三级,界面D的界面层级为四级。在从界面层级由高到低的方向对界面层级进行排序后,界面层级为四级的界面D则排序在第一位,界面层级为三级的界面C则排序在第二位,界面层级为二级的界面B则排序在第三位,界面层级为一级的界面A则排序在第四位。在用于与界面层级比对的指定阈值为2的情况下,若当前操作参数对应的界面层级为三级,而四级的界面层级的排序在第二位(等于指定阈值),那么电子设备则会显示界面层级为二级的界面的界面标识。若当前操作参数对应的界面层级为二级,而二级的界面层级的排序在第三位(大于指定阈值),那么电子设备则会显示首页的界面标识(即界面A的)。It should be noted that in some scenarios, it may take 4, 5 or even more operations to trigger the display of the interface that the user expects to be displayed. In this case, the interface of the interface that the user expects to be displayed is The level may be higher. In this case, during the process of interface jump through preset gesture operations, the interface identifier of the intermediate interface level can be omitted to reduce the complexity of the operation and allow the user to move more quickly. to switch back to a lower-level interface. Optionally, obtain the interface corresponding to the interface level and display the interface identifier of the interface corresponding to the interface level, including: if the sorting position of the interface level corresponding to the current operation parameter is not greater than the specified threshold, obtain the interface corresponding to the interface level and display the interface level. The interface identification of the corresponding interface; if the sorting position of the interface level is greater than the specified threshold, the interface identification of the home page is displayed; among them, the sorting of the interface level is arranged from the higher interface level to the lower interface level. For example, for interface A, interface B, interface C and interface D, if it is necessary to trigger the display of interface A first, then trigger the display of interface B in interface A, then trigger the display of interface C in interface B, and finally trigger the display of interface C in interface A, In C, the display interface D is triggered. When the smaller the number of the interface level is, the lower the interface level is. The interface level of interface A is level one, the interface level of interface B is level two, the interface level of interface C is level three, and the interface level of interface D is Level four. After sorting the interface levels from high to low, interface D with an interface level of four is ranked first, interface C with an interface level of three is ranked second, and the interface level is The second-level interface B is ranked third, and the first-level interface A is ranked fourth. When the specified threshold for comparison with the interface level is 2, if the interface level corresponding to the current operating parameter is level three, and the interface level of level four is ranked second (equal to the specified threshold), then the electronic device The interface identifier of the interface whose interface level is level two will be displayed. If the interface level corresponding to the current operating parameter is level two, and the level two interface level is ranked third (greater than the specified threshold), then the electronic device will display the interface logo of the home page (that is, interface A).
S130:若预设手势操作结束作用,将当前所显示的界面切换为显示当前操作参数对应的界面。S130: If the preset gesture operation ends, switch the currently displayed interface to an interface corresponding to the current operating parameters.
在预设手势操作结束作用时,则表征用户当前期望进行界面的跳转,进而电子设备会将当前所显示的界面切换为已显示的界面标识所对应的界面,也即是当前操作参数对应的界面。When the preset gesture operation ends, it indicates that the user currently desires to jump to the interface, and the electronic device will switch the currently displayed interface to the interface corresponding to the displayed interface identifier, that is, the interface corresponding to the current operation parameters. interface.
作为一种方式,本申请实施例提供的方法还包括:响应于更新所显示的界面标识,电子设备触发振动。需要说明的是,在不同的操作参数所对应界面标识不同的情况下,电子设备更新所显示的界面标识则表征当前操作参数相比于前一次触发显示界面标识的操作参数已经发生了改变,而电子设备进一步的触发振动有利于提醒用户当前可以直接跳转到的界面。As a way, the method provided by the embodiment of the present application also includes: in response to updating the displayed interface identifier, the electronic device triggers a vibration. It should be noted that when different operating parameters correspond to different interface identifiers, the interface identifier displayed by the electronic device update indicates that the current operating parameters have changed compared to the previous operating parameters that triggered the display of the interface identifier, and Further triggering of vibrations by the electronic device is helpful to remind the user of the current interface that can be jumped directly to.
作为一种方式,响应于从目标位置开始作用的预设手势操作,显示提示动画,在提示动画中,显示从当前所显示的界面跳转到当前操作参数对应的界面所跳转的界面层级。如前述内容所示,本申请实施例提供的界面显示方法可以应用在不同层级的界面之间进行跳转的场景中,在这种情况下,在预设手势操作开始作用的时候通过显示提示动画可以有效提醒用户当前已经进入到进行界面跳转的状态。并且,在提示动画中显示当前操作参数对应的界面层级,也有利于用户同步的了解当前可以跳转到的界面的界面层级。示例性的,在有预设手势操作开始从目标位置开始作用时,可以开始在屏幕的边缘开始显示气泡(一种提示动画),并且随着预设手势操作的持续作用,提示动画的显示面积会同步的更新。如图4所示,以预设手势操作为滑动操作为例,在滑动操作从目标位置滑动到图4中位置31处时,气泡30的显示面积如图4中最左侧图像中所示。若滑动操作持续进行,并滑动到位置32处时,气泡30的显示面积如图4中中间图像中所示。若滑动操作持续进行,并滑动到位置33处时,气泡30的显示面积如图4中右侧图像中所示。As a method, in response to a preset gesture operation that starts from the target position, a prompt animation is displayed. In the prompt animation, the interface level that jumps from the currently displayed interface to the interface corresponding to the current operation parameter is displayed. As shown in the foregoing content, the interface display method provided by the embodiment of the present application can be applied in scenarios where interfaces at different levels jump. In this case, when the preset gesture operation starts to take effect, the prompt animation is displayed. It can effectively remind the user that they have entered the state of interface jump. Moreover, displaying the interface level corresponding to the current operating parameters in the prompt animation is also helpful for users to synchronously understand the interface level of the interface that can currently be jumped to. For example, when a preset gesture operation starts to act from the target position, bubbles (a prompt animation) can be displayed at the edge of the screen, and as the preset gesture operation continues to act, the display area of the prompt animation Will be updated synchronously. As shown in FIG. 4 , taking the preset gesture operation as a sliding operation as an example, when the sliding operation slides from the target position to position 31 in FIG. 4 , the display area of the bubble 30 is as shown in the leftmost image in FIG. 4 . If the sliding operation continues and slides to position 32, the display area of bubble 30 is as shown in the middle image in Figure 4. If the sliding operation continues and slides to position 33, the display area of the bubble 30 is as shown in the right image in Figure 4 .
再者,若先在显示聊天界面后,可以从聊天界面中触发进入到订阅号消息界面,然后从订阅号消息界面中进入到图5中所示的关于“成都的美食有哪些”的详细信息界面的情况下,从当前所显示的界面(即关于“成都的美食有哪些”的详细信息界面)跳转到不同的当前操作参数所对应的界面的过程中,所要跳转的界面层级会对应显示在提示动画中。并且,还会同步的对当前操作参数所对应的界面的界面标识进行显示。例如,图5中的中间图像中所显示的订阅号消息,以及图5中右侧图像所显示的聊天等。Furthermore, if you first display the chat interface, you can trigger from the chat interface to enter the subscription account message interface, and then enter the detailed information about "What are the delicious foods in Chengdu" shown in Figure 5 from the subscription account message interface? In the case of interface, in the process of jumping from the currently displayed interface (that is, the detailed information interface about "What are the delicious foods in Chengdu") to the interface corresponding to different current operating parameters, the interface level to be jumped will correspond to Shown in prompt animation. In addition, the interface identifier of the interface corresponding to the current operating parameter will also be displayed synchronously. For example, the subscription account message shown in the middle image in Figure 5, and the chat shown in the right image in Figure 5, etc.
示例性的,如图6所示,若在图5中右侧图像所示的情况下,检测到预设手势操作取消作用,则可以将电子设备当前所显示的界面(图5中所显示的界面)切换为图6中所示的界面。For example, as shown in Figure 6, if in the situation shown in the image on the right in Figure 5, it is detected that the preset gesture operation cancels the effect, the interface currently displayed by the electronic device (shown in Figure 5 interface) switches to the interface shown in Figure 6.
再者,除了可以在提示动画中显示从当前所显示的界面跳转到当前操作参数对应的界面所跳转的界面层级外,还可以显示当前操作参数对应的界面对应的图标。Furthermore, in addition to displaying in the prompt animation the interface level that jumps from the currently displayed interface to the interface corresponding to the current operating parameter, the icon corresponding to the interface corresponding to the current operating parameter can also be displayed.
本实施例提供的一种界面显示方法,在响应于从目标位置开始作用的预设手势操作,获取预设手势 操作在作用过程中的当前操作参数后,可以显示当前操作参数对应的界面的界面标识,并且,在预设手势操作的结束作用的情况下,可以将当前所显示的界面切换为显示当前操作参数对应的界面。从而通过上述方式使得在用户需要进行界面的跳转的时候,可以通过从目标位置开始作用预设手势操作操作,以使得电子设备可以根据该预设手势操作在作用过程中的当前操作参数,来显示当前可以跳转到的界面,并在预设手势操作结束作用时,直接触发跳转到所显示的界面标识对应的界面,进而使得用户可以更为便利的触发进行界面的跳转。This embodiment provides an interface display method. In response to a preset gesture operation that starts from the target position, after obtaining the current operation parameters of the preset gesture operation during the operation, the interface corresponding to the current operation parameters can be displayed. mark, and when the preset gesture operation ends, the currently displayed interface can be switched to display an interface corresponding to the current operation parameters. Therefore, through the above method, when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can perform the preset gesture operation according to the current operation parameters during the operation. Displays the interface that can currently be jumped to, and when the preset gesture operation ends, directly triggers the jump to the interface corresponding to the displayed interface identifier, thereby allowing the user to more conveniently trigger the interface jump.
请参阅图7,本申请提供的一种界面显示方法,应用于电子设备,方法包括:Please refer to Figure 7. This application provides an interface display method, which is applied to electronic equipment. The method includes:
S210:响应于从目标位置开始作用的滑动操作,获取从目标位置到当前滑动位置的距离。S210: In response to the sliding operation starting from the target position, obtain the distance from the target position to the current sliding position.
S220:显示距离对应的界面的界面标识。S220: Display the interface identifier of the interface corresponding to the distance.
S230:若滑动操作的结束作用,将当前所显示的界面切换为显示从目标位置到当前滑动位置的距离对应的界面。S230: If the sliding operation ends, switch the currently displayed interface to an interface corresponding to the distance from the target position to the current sliding position.
其中,滑动操作结束作用可以理解为作用滑动操作的触控物与屏幕脱离接触。The end of the sliding operation can be understood as the touch object on which the sliding operation is effected is out of contact with the screen.
本实施例提供的一种界面显示方法,从而通过上述方式使得在用户需要进行界面的跳转的时候,可以通过从目标位置开始作用滑动操作,以使得电子设备可以根据该滑动操作在作用过程中的从目标位置滑动到当前滑动位置之间的距离,来显示当前可以跳转到的界面,并在滑动操作结束作用时,直接触发跳转到所显示的界面标识对应的界面,进而使得用户可以更为便利的触发进行界面的跳转。This embodiment provides an interface display method, so that when the user needs to jump to the interface, the sliding operation can be started from the target position through the above method, so that the electronic device can perform the sliding operation according to the sliding operation. The distance between sliding from the target position to the current sliding position is used to display the interface that can currently be jumped to, and when the sliding operation ends, it directly triggers the jump to the interface corresponding to the displayed interface identifier, so that the user can It is more convenient to trigger the jump of the interface.
请参阅图8,本申请提供的一种界面显示方法,应用于电子设备,方法包括:Please refer to Figure 8. This application provides an interface display method, which is applied to electronic equipment. The method includes:
S310:响应于在目标位置开始作用的按压操作,获取在目标位置的按压力度。S310: In response to the pressing operation starting at the target position, obtain the pressing force at the target position.
S320:显示按压力度对应的界面的界面标识。S320: Display the interface identifier of the interface corresponding to the pressing force.
S330:若按压操作结束作用,将当前所显示的界面切换为显示在目标位置的当前按压力度对应的界面。S330: If the pressing operation ends, switch the currently displayed interface to an interface corresponding to the current pressing force displayed at the target position.
本实施例提供的一种界面显示方法,从而通过上述方式使得在用户需要进行界面的跳转的时候,可以通过从目标位置开始作用滑动操作,以使得电子设备可以根据该滑动操作在作用过程中的从目标位置滑动到当前滑动位置之间的距离,来显示当前可以跳转到的界面,并在滑动操作结束作用时,直接触发跳转到所显示的界面标识对应的界面,进而使得用户可以更为便利的触发进行界面的跳转。This embodiment provides an interface display method, so that when the user needs to jump to the interface, the sliding operation can be started from the target position through the above method, so that the electronic device can perform the sliding operation according to the sliding operation. The distance between sliding from the target position to the current sliding position is used to display the interface that can currently be jumped to, and when the sliding operation ends, it directly triggers the jump to the interface corresponding to the displayed interface identifier, so that the user can It is more convenient to trigger the jump of the interface.
请参阅图9,本申请提供的一种界面显示方法,应用于电子设备,方法包括:Please refer to Figure 9. This application provides an interface display method, which is applied to electronic equipment. The method includes:
S410:响应作用于目标控件的第一按压操作,显示触发预设手势操作的提示信息。S410: In response to the first pressing operation on the target control, display prompt information for triggering the preset gesture operation.
作为一种方式,第一按压操作包括长按操作。在这种方式下,通过对目标控件作用长按操作,则会触发显示提示信息,以便提示用户可以通过作用预设手势操作来触发直接跳转到更多界面。As a way, the first press operation includes a long press operation. In this way, by performing a long press operation on the target control, the display of prompt information will be triggered, so as to prompt the user to perform a preset gesture operation to trigger a direct jump to more interfaces.
其中,目标控件为可以触发进行界面跳转的控件。作为一种方式,目标控件可以为返回控件。在这种方式下,点击操作为第一按压操作以外的操作,那么有作用于返回控件的点击操作时,则可以直接返回上一界面层级的界面。在有作用于返回控件的第一按压操作时则可以显示触发预设手势操作的提示信息。Among them, the target control is a control that can trigger interface jump. As a way, the target control can be the return control. In this way, if the click operation is an operation other than the first press operation, then when there is a click operation that affects the return control, you can directly return to the interface of the previous interface level. When there is a first pressing operation on the return control, prompt information for triggering the preset gesture operation may be displayed.
S420:响应于作用第一按压操作的触控物在保持与屏幕的接触情况下,从目标控件的显示位置开始作用的预设手势操作,获取预设手势操作在作用过程中的当前操作参数。S420: In response to the preset gesture operation that starts from the display position of the target control while the touch object that performs the first pressing operation maintains contact with the screen, obtain the current operation parameters of the preset gesture operation during the operation.
其中,触控物在对目标控件作用第一按压操作后,则会触发显示提示信息。并且,在触控物保持与屏幕之间的接触的情况下则可以直接作用预设手势操作,进而使得用户可以更为便利以及顺畅的实现切换到其他界面。Among them, after the touch object performs the first pressing operation on the target control, the prompt information will be triggered to be displayed. Moreover, when the touch object maintains contact with the screen, the preset gesture operation can be directly performed, allowing the user to switch to other interfaces more conveniently and smoothly.
S430:显示当前操作参数对应的界面的界面标识。S430: Display the interface identifier of the interface corresponding to the current operating parameter.
S440:若预设手势操作结束作用,将当前所显示的界面切换为显示当前操作参数对应的界面。S440: If the preset gesture operation ends, switch the currently displayed interface to an interface corresponding to the current operating parameters.
在本申请实施例提供的界面显示方法应用于不同界面层级的界面之间进行跳转的场景情况下,作为一种方式,响应作用于目标控件的第一按压操作,显示触发预设手势操作的提示信息,包括:响应作用于目标控件的第一按压操作,显示与第一按压操作对应的界面的界面标识,并显示触发预设手势操作的提示信息;其中,第一按压操作对应的界面的界面层级高于预设手势操作对应的界面的界面层级。在这种方式下,通过作用于目标控件的第一按压操作并触发显示第一按压操作对应的界面层级的界面标识后,若作用该第一按压操作的触控物脱离屏幕,则可以触发将当前所显示的界面切换为第一按压操作对应的界面层级所对应的界面。而在通过作用于目标控件的第一按压操作并触发显示第一按压操作对应的界面层级的界面标识后,作用该第一按压操作的触控物从目标控件的显示位置继续作用预设手势操作,则可以基于前述方式触发进行界面跳转。In a scenario where the interface display method provided by the embodiment of the present application is used to jump between interfaces at different interface levels, as a way, in response to the first pressing operation on the target control, display the triggering preset gesture operation. The prompt information includes: in response to the first press operation on the target control, displaying the interface identifier of the interface corresponding to the first press operation, and displaying the prompt information for triggering the preset gesture operation; wherein, the interface identifier corresponding to the first press operation is displayed. The interface level is higher than the interface level corresponding to the preset gesture operation. In this way, after the first press operation is applied to the target control and the interface identifier of the interface level corresponding to the first press operation is triggered to be displayed, if the touch object that acts on the first press operation leaves the screen, it can be triggered to display the interface identifier of the interface level corresponding to the first press operation. The currently displayed interface is switched to the interface corresponding to the interface level corresponding to the first pressing operation. After the first pressing operation is performed on the target control and triggers the display of the interface identifier of the interface level corresponding to the first pressing operation, the touch object acting on the first pressing operation continues to perform the preset gesture operation from the display position of the target control. , the interface jump can be triggered based on the aforementioned method.
示例性的,如图10所示,若有作用于目标控件40的第一按压操作(图9中左侧图像中的虚线圆表征第一按压操作的按压位置),可以显示触发预设手势操作的提示信息41,该提示信息41的内容为“向上滑动”。在这种情况下,用户可以如图10中的中间图像中箭头所示的方向进行滑动,以从目标控件40处滑动到图10中的中间图像中虚线圆所示的位置,然后,可以继续滑动到图10中的右侧图像中虚线圆所示的 位置。For example, as shown in FIG. 10 , if there is a first pressing operation on the target control 40 (the dotted circle in the left image in FIG. 9 represents the pressing position of the first pressing operation), the triggering preset gesture operation can be displayed. Prompt information 41, the content of which is “slide up”. In this case, the user can slide in the direction shown by the arrow in the middle image in Figure 10 to slide from the target control 40 to the position shown by the dotted circle in the middle image in Figure 10, and then, can continue Slide to the position indicated by the dotted circle in the right image in Figure 10.
再例如,如图11所示,若有作用于目标控件40的第一按压操作,还可以如图11的左侧图像所示的显示与第一按压操作对应的界面的界面标识(即,图11中左侧图像中所示的订阅号消息),随着在显示提示信息41后,作用第一按压操作的触控物向上滑动则可以根据当前操作参数对所显示的界面标识进行更新。例如,更新为图11右侧图像中所示的聊天。For another example, as shown in FIG. 11 , if there is a first pressing operation on the target control 40 , the interface identification of the interface corresponding to the first pressing operation can also be displayed as shown in the left image of FIG. 11 (i.e., FIG. (Subscription account message shown in the left image in 11), after the prompt message 41 is displayed, the touch object that performs the first pressing operation slides upward, and the displayed interface logo can be updated according to the current operating parameters. For example, update to the chat shown in the image on the right of Figure 11.
本实施例提供的一种界面显示方法,从而通过上述方式使得在用户需要进行界面的跳转的时候,可以通过从目标位置开始作用预设手势操作操作,以使得电子设备可以根据该预设手势操作在作用过程中的当前操作参数,来显示当前可以跳转到的界面,并在预设手势操作结束作用时,直接触发跳转到所显示的界面标识对应的界面,进而使得用户可以更为便利的触发进行界面的跳转。其中,在本实施例中,用户通过作用于目标控件的预设按压操作,进而会触发显示提示信息,从而使得用户更为了解当前该如何操作以触发进行更多层次的界面跳转。This embodiment provides an interface display method, so that when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can operate according to the preset gesture. The current operating parameters during the operation are used to display the interface that can currently be jumped to, and when the preset gesture operation ends, it directly triggers the jump to the interface corresponding to the displayed interface identifier, so that the user can be more Convenient trigger for interface jump. In this embodiment, the user's preset pressing operation on the target control will trigger the display of prompt information, so that the user can better understand how to operate currently to trigger more levels of interface jumps.
请参阅图12,本申请提供的一种界面显示方法,应用于电子设备,方法包括:Please refer to Figure 12. This application provides an interface display method, which is applied to electronic equipment. The method includes:
S510:响应于从目标位置开始作用的预设手势操作,获取预设手势操作在作用过程中的当前操作参数。S510: In response to the preset gesture operation starting from the target position, obtain the current operation parameters of the preset gesture operation during the operation.
S520:在悬浮显示的控件中的目标位置显示当前操作参数对应界面的界面标识,并随着当前操作参数的更新对在目标位置显示的界面标识进行更新。S520: Display the interface identifier of the interface corresponding to the current operation parameter at the target position in the suspended display control, and update the interface identifier displayed at the target position as the current operation parameter is updated.
可选的,当前操作参数的大小表征预设手势操作的作用程度。在这种情况下,电子设备可以随着当前操作参数的增大,将用于在后显示的界面标识显示在悬浮显示的控件的第一边缘,并随着当前操作参数的增大朝向控件的目标位置移动,并在移动的过程中增加在后显示在控件中的界面标识的透明度;在前显示在目标位置的界面标识随着当前操作参数的增大,从目标位置朝向控件的第二边缘移动,并在移动的过程中降低在前显示在目标位置的界面标识的透明度。Optionally, the size of the current operation parameter represents the degree of effect of the preset gesture operation. In this case, as the current operation parameters increase, the electronic device can display the interface identification for later display on the first edge of the suspended display control, and as the current operation parameters increase, the interface identifier can be displayed toward the control's first edge. The target position moves, and during the movement, the transparency of the interface logo displayed later in the control is increased; the interface logo previously displayed at the target position moves from the target position toward the second edge of the control as the current operating parameters increase. Move, and during the move, reduce the transparency of the interface logo previously displayed at the target location.
示例性的,如图13所示,悬浮显示的控件的第一边缘51和第二边缘52如图13所示。在当前为图13左侧图像所示情况下,在目标位置所显示的界面标识为订阅号消息,若预设手势操作持续作用,则可以如图13的中间图像所示的,在第一边缘51处显示在后显示的界面标识,即聊天。然后在预设手势操作继续作用的情况下,已经显示在悬浮显示的控件都会朝向第二边缘52移动,并在移动的过程中增加在后显示在控件中的聊天的透明度,以及降低在前显示在目标位置的订阅号消息的透明度(如图13右侧图像所示)。For example, as shown in FIG. 13 , the first edge 51 and the second edge 52 of the suspended displayed control are as shown in FIG. 13 . In the current situation shown in the left image of Figure 13, the interface displayed at the target position is identified as a subscription account message. If the preset gesture operation continues to function, as shown in the middle image of Figure 13, on the first edge The interface logo displayed at the back is shown at 51, that is, chat. Then, when the preset gesture operation continues to work, the controls already displayed in the floating display will move toward the second edge 52, and during the movement, the transparency of the chat displayed in the control will be increased, and the transparency of the chat displayed in the front will be reduced. The transparency of the subscription account message at the target location (shown in the right image of Figure 13).
S530:若预设手势操作结束作用,将当前所显示的界面切换为显示在目标位置的界面标识所对应的界面。S530: If the preset gesture operation ends, switch the currently displayed interface to the interface corresponding to the interface logo displayed at the target position.
本实施例提供的一种界面显示方法,从而通过上述方式使得在用户需要进行界面的跳转的时候,可以通过从目标位置开始作用预设手势操作操作,以使得电子设备可以根据该预设手势操作在作用过程中的当前操作参数,来显示当前可以跳转到的界面,并在预设手势操作结束作用时,直接触发跳转到所显示的界面标识对应的界面,进而使得用户可以更为便利的触发进行界面的跳转。并且,在本实施例中,可以在悬浮的控件中的目标位置显示可以触发显示对应的界面的界面标识,而在悬浮显示的控件中在目标位置以外的区域显示其他可以跳转到的界面的界面标识,以便用户可以更为方便的了解到可以跳转到的界面。This embodiment provides an interface display method, so that when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can operate according to the preset gesture. The current operating parameters during the operation are used to display the interface that can currently be jumped to, and when the preset gesture operation ends, it directly triggers the jump to the interface corresponding to the displayed interface identifier, so that the user can be more Convenient trigger for interface jump. Moreover, in this embodiment, the interface identifier that can trigger the display of the corresponding interface can be displayed at the target position in the suspended control, and other interfaces that can be jumped to are displayed in the area other than the target position in the suspended control. Interface identification so that users can more easily understand the interface they can jump to.
请参阅图14,本申请提供的一种界面显示方法,应用于电子设备,方法包括:Please refer to Figure 14. This application provides an interface display method, which is applied to electronic devices. The method includes:
S610:响应作用于屏幕底部的目标控件的第二按压操作,显示多个待选的界面标识。S610: In response to the second pressing operation on the target control at the bottom of the screen, display multiple interface identifiers to be selected.
在本实施例中,屏幕底部可以理解为用户在握持电子设备时,最靠近用户的视线下方的部位。示例性的,如图15所示,在图15中虚线框中所示的部位可以为屏幕底部。In this embodiment, the bottom of the screen can be understood as the part closest to the user's line of sight when holding the electronic device. For example, as shown in FIG. 15 , the location shown in the dotted box in FIG. 15 may be the bottom of the screen.
S620:响应于作用按压操作的触控物在保持与屏幕的接触情况下,从目标控件的显示位置开始作用的预设手势操作,获取预设手势操作在作用过程中的当前操作参数。S620: In response to the touch object performing the pressing operation, while maintaining contact with the screen, the preset gesture operation starts from the display position of the target control, and obtains the current operation parameters of the preset gesture operation during the operation.
可选的,预设手势操作包括滑动操作,当前操作参数包括作用滑动操作的触控物当前所在的位置。Optionally, the preset gesture operation includes a sliding operation, and the current operation parameters include the current location of the touch object that performs the sliding operation.
S630:对多个待选的界面标识中,与当前操作参数对应的界面的界面标识进行突出显示。S630: Highlight the interface identifier of the interface corresponding to the current operating parameter among the multiple interface identifiers to be selected.
需要说明的是,在本实施例中,在有作用于屏幕的底部的目标控件的第二按压操作后,可以触发将所有可跳转到的界面的界面标识进行显示,以作为多个待选的界面标识。在这种情况下,对已经显示的界面标识进行突出显示可以理解为改变界面标识本身的显示样式,或者对界面标识对应的背景进行改变。其中,改变界面标识本身的显示样式可以包括改变界面标识字体大小、改变界面标识的字体颜色以及改变显示样式的字体模式中的至少一项。示例性的,如图16所示,在对屏幕底部的目标控件40作用第二按压操作后,可以触发显示控件60,并在控件60中显示多个待选的界面标识。从而使得用户可以通过在控件60中以滑动的方式待选的界面标识中选中当前操作参数对应的界面。It should be noted that in this embodiment, after the second pressing operation on the target control at the bottom of the screen, the interface identifiers of all jumpable interfaces can be triggered to be displayed as multiple candidates. interface identifier. In this case, highlighting the already displayed interface logo can be understood as changing the display style of the interface logo itself, or changing the background corresponding to the interface logo. Wherein, changing the display style of the interface logo itself may include at least one of changing the font size of the interface logo, changing the font color of the interface logo, and changing the font mode of the display style. For example, as shown in FIG. 16 , after the second pressing operation is performed on the target control 40 at the bottom of the screen, the display control 60 can be triggered, and multiple interface identifiers to be selected can be displayed in the control 60 . Therefore, the user can select the interface corresponding to the current operating parameter by sliding the interface identifiers to be selected in the control 60 .
S640:若预设手势操作结束作用,将当前所显示的界面切换为显示当前操作参数对应的界面。S640: If the preset gesture operation ends, switch the currently displayed interface to an interface corresponding to the current operating parameters.
本实施例提供的一种界面显示方法,从而通过上述方式使得在用户需要进行界面的跳转的时候,可 以通过从目标位置开始作用预设手势操作操作,以使得电子设备可以根据该预设手势操作在作用过程中的当前操作参数,来显示当前可以跳转到的界面,并在预设手势操作结束作用时,直接触发跳转到所显示的界面标识对应的界面,进而使得用户可以更为便利的触发进行界面的跳转。并且,在本实施例中,因为目标控件是直接配置在屏幕的底部,从而使得可以便于用户进行单手的操作,进而也使得用户通过单手就可以操作进行界面的多层级跳转。This embodiment provides an interface display method, so that when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can operate according to the preset gesture. The current operating parameters during the operation are used to display the interface that can currently be jumped to, and when the preset gesture operation ends, it directly triggers the jump to the interface corresponding to the displayed interface identifier, so that the user can be more Convenient trigger for interface jump. Moreover, in this embodiment, because the target control is directly arranged at the bottom of the screen, it is convenient for the user to operate with one hand, and further allows the user to perform multi-level jumps in the interface with one hand.
请参阅图17,本申请提供的一种界面显示装置700,运行于电子设备,装置700包括:Please refer to Figure 17. This application provides an interface display device 700 that runs on electronic equipment. The device 700 includes:
参数获取单元710,用于响应于从目标位置开始作用的预设手势操作,获取预设手势操作在作用过程中的当前操作参数。The parameter acquisition unit 710 is configured to obtain the current operating parameters of the preset gesture operation during its operation in response to the preset gesture operation that starts from the target position.
标识显示单元720,用于显示当前操作参数对应的界面的界面标识。The logo display unit 720 is used to display the interface logo of the interface corresponding to the current operating parameter.
界面控制单元730,用于若预设手势操作结束作用,将当前所显示的界面切换为显示当前操作参数对应的界面。The interface control unit 730 is configured to switch the currently displayed interface to an interface corresponding to the current operating parameters when the preset gesture operation ends.
作为一种方式,预设手势操作包括滑动操作,当前操作参数包括从目标位置到当前滑动位置的距离。参数获取单元710,具体用于响应于从目标位置开始作用的滑动操作,获取从目标位置到当前滑动位置的距离。对应的,标识显示单元720,用于显示距离对应的界面的界面标识。As a way, the preset gesture operation includes a sliding operation, and the current operation parameter includes the distance from the target position to the current sliding position. The parameter acquisition unit 710 is specifically configured to acquire the distance from the target position to the current sliding position in response to a sliding operation starting from the target position. Correspondingly, the identification display unit 720 is used to display the interface identification of the interface corresponding to the distance.
作为一种方式,预设手势操作包括按压操作,当前操作参数包括在目标位置的当前按压力度。标识显示单元720,具体用于响应于在目标位置开始作用的按压操作,获取按压操作的按压力度。界面控制单元730,具体用于显示按压力度对应的界面的界面标识。As a way, the preset gesture operation includes a pressing operation, and the current operation parameters include the current pressing force at the target position. The identification display unit 720 is specifically configured to obtain the pressing force of the pressing operation in response to the pressing operation starting at the target position. The interface control unit 730 is specifically used to display the interface identification of the interface corresponding to the pressing force.
作为一种方式,如图18所示,装置700还包括提示单元740,用于响应作用于目标控件的第一按压操作,显示触发预设手势操作的提示信息。在这种方式下,参数获取单元710,具体用于响应于作用第一按压操作的触控物在保持与屏幕的接触情况下,从目标控件的显示位置开始作用的预设手势操作,获取预设手势操作在作用过程中的当前操作参数。As a way, as shown in Figure 18, the device 700 further includes a prompt unit 740, configured to display prompt information that triggers a preset gesture operation in response to the first pressing operation on the target control. In this way, the parameter acquisition unit 710 is specifically configured to acquire the preset gesture operation starting from the display position of the target control while the touch object that performs the first pressing operation maintains contact with the screen. Set the current operating parameters of the gesture operation during its operation.
可选的,提示单元740,具体用于响应作用于目标控件的第一按压操作,显示与第一按压操作对应的界面的界面标识,并显示触发预设手势操作的提示信息;其中,第一按压操作对应的界面的界面层级高于预设手势操作对应的界面的界面层级。可选的,第一按压操作包括长按操作。Optionally, the prompt unit 740 is specifically configured to respond to the first press operation on the target control, display the interface identifier of the interface corresponding to the first press operation, and display prompt information that triggers the preset gesture operation; wherein, the first The interface level of the interface corresponding to the pressing operation is higher than the interface level of the interface corresponding to the preset gesture operation. Optionally, the first pressing operation includes a long pressing operation.
作为一种方式,标识显示单元720,具体用于在悬浮显示的控件中的目标位置显示当前操作参数对应界面的界面标识,并随着当前操作参数的更新对在目标位置显示的界面标识进行更新。对应的,界面控制单元730,具体用于若预设手势操作结束作用,将当前所显示的界面切换为显示在目标位置的界面标识所对应的界面。As a method, the logo display unit 720 is specifically configured to display the interface logo of the interface corresponding to the current operating parameters at the target position in the suspended display control, and update the interface logo displayed at the target position as the current operating parameters are updated. . Correspondingly, the interface control unit 730 is specifically configured to switch the currently displayed interface to the interface corresponding to the interface logo displayed at the target position if the preset gesture operation ends.
可选的,当前操作参数的大小表征预设手势操作的作用程度。标识显示单元720,具体随着当前操作参数的增大,将用于在后显示的界面标识显示在控件的第一边缘,并随着当前操作参数的增大朝向控件的目标位置移动,并在移动的过程中增加在后显示在控件中的界面标识的透明度;在前显示在目标位置的界面标识随着当前操作参数的增大,从目标位置朝向控件的第二边缘移动,并在移动的过程中降低在前显示在目标位置的界面标识的透明度。Optionally, the size of the current operation parameter represents the degree of effect of the preset gesture operation. The logo display unit 720 specifically displays the interface logo for later display on the first edge of the control as the current operating parameters increase, and moves toward the target position of the control as the current operating parameters increase, and at During the movement, the transparency of the interface logo displayed later in the control is increased; the interface logo previously displayed at the target position moves from the target position toward the second edge of the control as the current operating parameters increase, and moves along the During the process, the transparency of the interface logo previously displayed at the target location is reduced.
作为一种方式,参数获取单元710,还用于响应作用于屏幕底部的目标控件的第二按压操作,显示多个待选的界面标识。响应于作用按压操作的触控物在保持与屏幕的接触情况下,从目标控件的显示位置开始作用的预设手势操作,获取预设手势操作在作用过程中的当前操作参数。标识显示单元720,具体用于对多个待选的界面标识中,与当前操作参数对应的界面的界面标识进行突出显示。As a method, the parameter acquisition unit 710 is also configured to display multiple interface identifiers to be selected in response to the second pressing operation on the target control at the bottom of the screen. In response to the touch object performing the pressing operation, while maintaining contact with the screen, the preset gesture operation starts from the display position of the target control, and the current operating parameters of the preset gesture operation during the operation are obtained. The logo display unit 720 is specifically configured to highlight the interface logo of the interface corresponding to the current operating parameter among the plurality of candidate interface logos.
可选的,预设手势操作包括滑动操作,当前操作参数包括作用滑动操作的触控物当前所在的位置。Optionally, the preset gesture operation includes a sliding operation, and the current operation parameters include the current location of the touch object that performs the sliding operation.
作为一种方式,标识显示单元720,具体用于获取当前操作参数对应界面层级;获取界面层级对应的界面,并显示界面层级对应的界面的界面标识,其中,当前操作参数越大所对应的界面层级越低,且最低的界面层级对应的界面为当前所显示界面对应的首页。可选的,标识显示单元720,具体用于若当前操作参数对应界面层级的排序位置不大于指定阈值,获取界面层级对应的界面,并显示界面层级对应的界面的界面标识;若界面层级的排序位置大于指定阈值,显示首页的界面标识;As a method, the identification display unit 720 is specifically used to obtain the interface level corresponding to the current operating parameter; obtain the interface corresponding to the interface level, and display the interface identification of the interface corresponding to the interface level, wherein the larger the current operating parameter is, the corresponding interface The lower the level, and the interface corresponding to the lowest interface level is the home page corresponding to the currently displayed interface. Optionally, the identification display unit 720 is specifically used to obtain the interface corresponding to the interface level if the sorting position of the interface level corresponding to the current operating parameter is not greater than a specified threshold, and display the interface identification of the interface corresponding to the interface level; if the sorting position of the interface level If the position is greater than the specified threshold, the interface logo of the home page is displayed;
其中,界面层级的排序从高的界面层级向低的界面层级进行排列。Among them, the interface levels are sorted from high interface levels to low interface levels.
作为一种方式,标识显示单元720,还用于响应于更新所显示的界面标识,触发电子设备振动。还用于响应于从目标位置开始作用的预设手势操作,显示提示动画;在提示动画中,显示从当前所显示的界面跳转到当前操作参数对应的界面所跳转的界面层级。。As a way, the logo display unit 720 is also used to trigger the electronic device to vibrate in response to updating the displayed interface logo. It is also used to display a prompt animation in response to a preset gesture operation starting from the target position; in the prompt animation, display the interface level that jumps from the currently displayed interface to the interface corresponding to the current operation parameter. .
需要说明的是,本申请中装置实施例与前述方法实施例是相互对应的,装置实施例中各个单元的具体实施原理与前述方法实施例中的原理是相似的,装置实施例中的具体内容可以参见方法实施例,而在装置实施例中不再赘述。It should be noted that the device embodiments in this application correspond to the foregoing method embodiments. The specific implementation principles of each unit in the device embodiments are similar to the principles in the foregoing method embodiments. The specific contents in the device embodiments are Reference may be made to the method embodiment and no further details will be given in the device embodiment.
下面将结合图19对本申请提供的一种电子设备进行说明。An electronic device provided by this application will be described below with reference to FIG. 19 .
请参阅图19,基于上述的收纳盒的定位方法、装置,本申请实施例还提供的一种可以执行前述收纳盒的定位方法的电子设备1000。电子设备1000包括相互耦合的一个或多个(图中仅示出一个)处理器105、 存储器104、音频播放模块106以及音频采集装置108。其中,该存储器104中存储有可以执行前述实施例中内容的程序,而处理器105可以执行该存储器104中存储的程序。Please refer to FIG. 19 . Based on the above-mentioned positioning method and device of the storage box, embodiments of the present application also provide an electronic device 1000 that can perform the foregoing positioning method of the storage box. The electronic device 1000 includes one or more (only one is shown in the figure) processors 105, a memory 104, an audio playback module 106 and an audio collection device 108 that are coupled to each other. The memory 104 stores programs that can execute the content in the aforementioned embodiments, and the processor 105 can execute the programs stored in the memory 104 .
其中,处理器105可以包括一个或者多个处理核。处理器105利用各种接口和线路连接整个电子设备1000内的各个部分,通过运行或执行存储在存储器104内的指令、程序、代码集或指令集,以及调用存储在存储器104内的数据,执行电子设备1000的各种功能和处理数据。可选地,处理器105可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器105可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器105中,单独通过一块通信芯片进行实现。Among them, the processor 105 may include one or more processing cores. The processor 105 uses various interfaces and lines to connect various parts of the entire electronic device 1000, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 104, and calling data stored in the memory 104. Various functions and processing data of the electronic device 1000. Optionally, the processor 105 can use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in hardware form. The processor 105 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, etc. Among them, the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the display content; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 105 and may be implemented solely through a communication chip.
存储器104可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器104可用于存储指令、程序、代码、代码集或指令集。例如,存储器104中可以存储有内容显示装置。该内容显示装置可以为前述的装置700。存储器104可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。The memory 104 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 104 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. For example, the memory 104 may store a content display device. The content display device may be the aforementioned device 700. The memory 104 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc.
再者,电子设备1000除了前述所示的器件外,还可以包括网络模块110以及传感器模块112。Furthermore, in addition to the components shown above, the electronic device 1000 may also include a network module 110 and a sensor module 112 .
所述网络模块110用于实现电子设备1000与其他设备之间的信息交互,例如,可以与其他的音频播放设备或者其他的电子设备建立连接,并基于所建立的连接进行信息交互。作为一种方式,电子设备1000的网络模块110为射频模块,该射频模块用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。所述射频模块可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。例如,该射频模块可以通过发送或者接收的电磁波与外部设备进行交互。The network module 110 is used to realize information interaction between the electronic device 1000 and other devices. For example, it can establish a connection with other audio playback devices or other electronic devices, and perform information interaction based on the established connection. As a method, the network module 110 of the electronic device 1000 is a radio frequency module, which is used to receive and send electromagnetic waves, realize mutual conversion of electromagnetic waves and electrical signals, and thereby communicate with the communication network or other devices. The radio frequency module may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memories, and the like. For example, the radio frequency module can interact with external devices by sending or receiving electromagnetic waves.
传感器模块112可以包括至少一种传感器。具体地,传感器模块112可包括但并不限于:压力传感器、运动传感器、加速度传感器以及其他传感器。 Sensor module 112 may include at least one sensor. Specifically, the sensor module 112 may include, but is not limited to: pressure sensors, motion sensors, acceleration sensors, and other sensors.
其中,压力传感器可以检测由按压在电子设备1000产生的压力的传感器。即,压力传感器检测由用户和电子设备1000之间的接触或按压产生的压力,例如由用户的耳朵与电子设备1000之间的接触或按压产生的压力。因此,压力传感器可以用来确定在用户与电子设备1000之间是否发生了接触或者按压,以及压力的大小。Among them, the pressure sensor may be a sensor that detects pressure generated by pressing on the electronic device 1000 . That is, the pressure sensor detects pressure caused by contact or pressing between the user and the electronic device 1000 , for example, pressure caused by contact or pressing between the user's ear and the electronic device 1000 . Therefore, the pressure sensor can be used to determine whether contact or pressure has occurred between the user and the electronic device 1000, as well as the amount of pressure.
其中,加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备1000姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。另外,电子设备1000还可配置陀螺仪、气压计、湿度计、温度计等其他传感器,在此不再赘述。Among them, the acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), can detect the magnitude and direction of gravity when stationary, and can be used to identify applications of the posture of electronic devices 1000 (such as horizontal and vertical screen switching, related games, magnetometers Attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc. In addition, the electronic device 1000 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, and thermometer, which will not be described again here.
音频采集装置110,用于进行音频信号采集。可选的,音频采集装置110包括有多个音频采集器件,该音频采集器件可以为麦克风。 Audio collection device 110 is used to collect audio signals. Optionally, the audio collection device 110 includes multiple audio collection devices, and the audio collection devices may be microphones.
请参考图20,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质1100中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 20 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code is stored in the computer-readable medium 1100, and the program code can be called by the processor to execute the method described in the above method embodiment.
计算机可读存储介质1100可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质1100包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质1100具有执行上述方法中的任何方法步骤的程序代码1110的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1110可以例如以适当形式进行压缩。Computer-readable storage medium 1100 may be electronic memory such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 1100 includes non-transitory computer-readable storage medium. The computer-readable storage medium 1100 has storage space for the program code 1110 that performs any method steps in the above-mentioned methods. These program codes can be read from or written into one or more computer program products. Program code 1110 may, for example, be compressed in a suitable form.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, reference to the terms "one embodiment," "some embodiments," "an example," "specific examples," or "some examples" or the like means that specific features are described in connection with the embodiment or example. , structures, materials or features are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms “first” and “second” are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of this application, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically limited.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范 围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments, or portions of code that include one or more executable instructions for implementing the specified logical functions or steps of the process. , and the scope of the preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in a substantially simultaneous manner or in the reverse order, depending on the functionality involved, which shall It should be understood by those skilled in the technical field to which the embodiments of this application belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered a sequenced list of executable instructions for implementing the logical functions, and may be embodied in any computer-readable medium, For use by, or in combination with, instruction execution systems, devices or devices (such as computer-based systems, systems including processors or other systems that can fetch instructions from and execute instructions from the instruction execution system, device or device) or equipment.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present application can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if it is implemented in hardware, as in another embodiment, it can be implemented by any one or a combination of the following technologies known in the art: a logic gate circuit with a logic gate circuit for implementing a logic function on a data signal. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
综上所述,本申请提供的一种界面显示方法、装置、电子设备及存储介质,在响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数后,可以显示所述当前操作参数对应的界面的界面标识,并且,在预设手势操作的结束作用的情况下,可以将当前所显示的界面切换为显示当前操作参数对应的界面。从而通过上述方式使得在用户需要进行界面的跳转的时候,可以通过从目标位置开始作用预设手势操作操作,以使得电子设备可以根据该预设手势操作在作用过程中的当前操作参数,来显示当前可以跳转到的界面,并在预设手势操作结束作用时,直接触发跳转到所显示的界面标识对应的界面,进而使得用户可以更为便利的触发进行界面的跳转。To sum up, the present application provides an interface display method, device, electronic device and storage medium. In response to a preset gesture operation that starts from the target position, the current status of the preset gesture operation during the action is obtained. After operating the parameters, the interface identifier of the interface corresponding to the current operating parameters can be displayed, and when the end effect of the preset gesture operation is completed, the currently displayed interface can be switched to display the interface corresponding to the current operating parameters. Therefore, through the above method, when the user needs to jump to the interface, the preset gesture operation can be performed from the target position, so that the electronic device can perform the preset gesture operation according to the current operation parameters during the operation. Displays the interface that can currently be jumped to, and when the preset gesture operation ends, directly triggers the jump to the interface corresponding to the displayed interface identifier, thereby allowing the user to more conveniently trigger the interface jump.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征图进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical feature diagrams; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application. .

Claims (20)

  1. 一种界面显示方法,其特征在于,应用于电子设备,所述方法包括:An interface display method, characterized in that it is applied to electronic equipment, and the method includes:
    响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数;In response to a preset gesture operation that starts from the target position, obtain the current operating parameters of the preset gesture operation during its operation;
    显示所述当前操作参数对应的界面的界面标识;Display the interface identifier of the interface corresponding to the current operating parameter;
    若所述预设手势操作结束作用,将当前所显示的界面切换为显示所述当前操作参数对应的界面。If the preset gesture operation ends, the currently displayed interface is switched to an interface corresponding to the current operating parameters.
  2. 根据权利要求1所述的方法,其特征在于,所述预设手势操作包括滑动操作,所述当前操作参数包括从所述目标位置到当前滑动位置的距离,所述响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数,包括:The method of claim 1, wherein the preset gesture operation includes a sliding operation, the current operation parameter includes a distance from the target position to the current sliding position, and the response to the action starting from the target position is Preset gesture operation, obtain the current operating parameters of the preset gesture operation during its operation, including:
    响应于从目标位置开始作用的滑动操作,获取从所述目标位置到当前滑动位置的距离;In response to a sliding operation starting from a target position, obtaining a distance from the target position to the current sliding position;
    所述显示所述当前操作参数对应的界面的界面标识,包括:The interface identifier for displaying the interface corresponding to the current operating parameter includes:
    显示所述距离对应的界面的界面标识。Display the interface identifier of the interface corresponding to the distance.
  3. 根据权利要求1所述的方法,其特征在于,所述预设手势操作包括按压操作,所述当前操作参数包括在所述目标位置的当前按压力度,所述响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数,包括:The method according to claim 1, characterized in that the preset gesture operation includes a pressing operation, the current operating parameters include the current pressing force at the target position, and the preset gesture operation in response to the preset operation starting from the target position. Assuming gesture operation, obtain the current operating parameters of the preset gesture operation during its operation, including:
    响应于在目标位置开始作用的按压操作,获取按压操作的按压力度;In response to a pressing operation initiated at the target position, obtaining the pressing force of the pressing operation;
    所述显示所述当前操作参数对应的界面的界面标识,包括:The interface identifier for displaying the interface corresponding to the current operating parameter includes:
    显示所述按压力度对应的界面的界面标识。Display the interface identifier of the interface corresponding to the pressing force.
  4. 根据权利要求1所述的方法,其特征在于,所述响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数之前还包括:The method according to claim 1, characterized in that, in response to the preset gesture operation starting from the target position, before obtaining the current operating parameters of the preset gesture operation during the operation, it further includes:
    响应作用于目标控件的第一按压操作,显示触发预设手势操作的提示信息;In response to the first pressing operation on the target control, display prompt information for triggering the preset gesture operation;
    所述目标位置为所述目标控件的显示位置,所述响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数,包括:The target position is the display position of the target control, and in response to the preset gesture operation starting from the target position, obtaining the current operating parameters of the preset gesture operation during the operation includes:
    响应于作用所述第一按压操作的触控物在保持与屏幕的接触情况下,从所述目标控件的显示位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数。In response to the preset gesture operation that starts from the display position of the target control while the touch object that performs the first pressing operation maintains contact with the screen, obtain the preset gesture operation during the operation process. Current operating parameters.
  5. 根据权利要求4所述的方法,其特征在于,所述响应作用于目标控件的第一按压操作,显示触发预设手势操作的提示信息,包括:The method according to claim 4, characterized in that, in response to the first pressing operation on the target control, displaying prompt information triggering the preset gesture operation includes:
    响应作用于目标控件的第一按压操作,显示与所述第一按压操作对应的界面的界面标识,并显示触发预设手势操作的提示信息;In response to the first pressing operation on the target control, display the interface identifier of the interface corresponding to the first pressing operation, and display prompt information for triggering the preset gesture operation;
    其中,所述第一按压操作对应的界面的界面层级高于所述预设手势操作对应的界面的界面层级。Wherein, the interface level corresponding to the first pressing operation is higher than the interface level corresponding to the preset gesture operation.
  6. 根据权利要求5所述的方法,其特征在于,所述第一按压操作包括长按操作。The method of claim 5, wherein the first pressing operation includes a long pressing operation.
  7. 根据权利要求1所述的方法,其特征在于,所述显示所述当前操作参数对应的界面的界面标识,包括:The method according to claim 1, characterized in that the display of the interface identifier of the interface corresponding to the current operating parameter includes:
    在悬浮显示的控件中的目标位置显示当前操作参数对应界面的界面标识,并随着所述当前操作参数的更新对在所述目标位置显示的界面标识进行更新;Display the interface identifier of the interface corresponding to the current operating parameters at the target position in the floating displayed control, and update the interface identifier displayed at the target position as the current operating parameters are updated;
    所述若所述预设手势操作结束作用,将当前所显示的界面切换为显示所述当前操作参数对应的界面,包括:If the preset gesture operation ends, switching the currently displayed interface to an interface corresponding to the current operating parameters, including:
    若所述预设手势操作结束作用,将当前所显示的界面切换为显示在所述目标位置的界面标识所对应的界面。If the preset gesture operation ends, the currently displayed interface is switched to the interface corresponding to the interface identifier displayed at the target position.
  8. 根据权利要求7所述的方法,其特征在于,当前操作参数的大小表征预设手势操作的作用程度,所述在悬浮显示的控件中的目标位置显示当前操作参数对应界面的界面标识,并随着所述当前操作参数的更新对在所述目标位置显示的界面标识进行更新,包括:The method according to claim 7, characterized in that the size of the current operating parameter represents the degree of effect of the preset gesture operation, and the target position in the floating displayed control displays the interface identification of the interface corresponding to the current operating parameter, and then According to the update of the current operating parameters, the interface identifier displayed at the target position is updated, including:
    随着所述当前操作参数的增大,将用于在后显示的界面标识显示在所述控件的第一边缘,并随着所述当前操作参数的增大朝向所述控件的目标位置移动,并在移动的过程中增加所述在后显示在所述控件中的界面标识的透明度;As the current operating parameter increases, the interface identification for later display is displayed on the first edge of the control, and moves toward the target position of the control as the current operating parameter increases, And increase the transparency of the interface logo later displayed in the control during the movement;
    在前显示在所述目标位置的界面标识随着所述当前操作参数的增大,从所述目标位置朝向所述控件的第二边缘移动,并在移动的过程中降低所述在前显示在所述目标位置的界面标识的透明度。As the current operating parameter increases, the interface identifier previously displayed at the target position moves from the target position toward the second edge of the control, and during the movement, the interface identifier previously displayed at the target position decreases. The transparency of the interface identifier of the target location.
  9. 根据权利要求1所述的方法,其特征在于,所述响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数之前还包括:The method according to claim 1, characterized in that, in response to the preset gesture operation starting from the target position, before obtaining the current operating parameters of the preset gesture operation during the operation, it further includes:
    响应作用于屏幕底部的目标控件的第二按压操作,显示多个待选的界面标识;In response to the second pressing operation on the target control at the bottom of the screen, display multiple interface identifiers to be selected;
    所述目标位置为所述目标控件的显示位置,所述响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数,包括:The target position is the display position of the target control, and in response to the preset gesture operation starting from the target position, obtaining the current operating parameters of the preset gesture operation during the operation includes:
    响应于作用所述按压操作的触控物在保持与屏幕的接触情况下,从所述目标控件的显示位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数;In response to a preset gesture operation that starts from the display position of the target control while the touch object that performs the pressing operation maintains contact with the screen, obtain the current operation of the preset gesture operation during the operation. parameter;
    所述显示所述当前操作参数对应的界面的界面标识,包括:The interface identifier for displaying the interface corresponding to the current operating parameter includes:
    对所述多个待选的界面标识中,与所述当前操作参数对应的界面的界面标识进行突出显示。Among the plurality of interface identifiers to be selected, the interface identifier of the interface corresponding to the current operating parameter is highlighted.
  10. 根据权利要求9所述的方法,其特征在于,所述对所述多个待选的界面标识中,与所述当前操作参数对应的界面的界面标识进行突出显示,包括:The method according to claim 9, wherein highlighting the interface identifier of the interface corresponding to the current operating parameter among the plurality of candidate interface identifiers includes:
    对所述多个待选的界面标识中,与所述当前操作参数对应的界面的界面标识的显示样式进行改变;Change the display style of the interface identification of the interface corresponding to the current operating parameter among the plurality of interface identifications to be selected;
    或者or
    对所述多个待选的界面标识中,与所述当前操作参数对应的界面的界面标识的背景进行改变。The background of the interface identification of the interface corresponding to the current operating parameter among the plurality of interface identifications to be selected is changed.
  11. 根据权利要求9所述的方法,其特征在于,所述预设手势操作包括滑动操作,所述当前操作参数包括作用所述滑动操作的触控物当前所在的位置。The method according to claim 9, wherein the preset gesture operation includes a sliding operation, and the current operation parameters include the current location of the touch object that acts on the sliding operation.
  12. 根据权利要求1所述的方法,其特征在于,所述显示所述当前操作参数对应的界面的界面标识,包括:The method according to claim 1, characterized in that the display of the interface identifier of the interface corresponding to the current operating parameter includes:
    获取所述当前操作参数对应界面层级;Obtain the interface level corresponding to the current operating parameters;
    获取所述界面层级对应的界面,并显示所述界面层级对应的界面的界面标识,其中,当前操作参数越大所对应的界面层级越低,且最低的界面层级对应的界面为所述当前所显示界面对应的首页。Obtain the interface corresponding to the interface level, and display the interface identification of the interface corresponding to the interface level, wherein the larger the current operating parameter is, the lower the interface level is, and the interface corresponding to the lowest interface level is the current interface level. Display the home page corresponding to the interface.
  13. 根据权利要求12所述的方法,其特征在于,所述获取所述界面层级对应的界面,并显示所述界面层级对应的界面的界面标识,包括:The method according to claim 12, characterized in that obtaining the interface corresponding to the interface level and displaying the interface identifier of the interface corresponding to the interface level includes:
    若当前操作参数对应界面层级的排序位置不大于指定阈值,获取所述界面层级对应的界面,并显示所述界面层级对应的界面的界面标识;If the sorting position of the interface level corresponding to the current operating parameter is not greater than the specified threshold, obtain the interface corresponding to the interface level, and display the interface identifier of the interface corresponding to the interface level;
    若所述界面层级的排序位置大于指定阈值,显示所述首页的界面标识;If the sorting position of the interface level is greater than the specified threshold, display the interface logo of the home page;
    其中,界面层级的排序从高的界面层级向低的界面层级进行排列。Among them, the interface levels are sorted from high interface levels to low interface levels.
  14. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    响应于更新所显示的界面标识,所述电子设备触发振动。In response to updating the displayed interface identifier, the electronic device triggers a vibration.
  15. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    响应于从目标位置开始作用的预设手势操作,显示提示动画;Display a prompt animation in response to a preset gesture operation starting from the target position;
    在所述提示动画中,显示从当前所显示的界面跳转到当前操作参数对应的界面所跳转的界面层级。In the prompt animation, the interface level that jumps from the currently displayed interface to the interface corresponding to the current operating parameter is displayed.
  16. 根据权利要求1所述的方法,其特征在于,所述显示所述当前操作参数对应的界面的界面标识,包括:The method according to claim 1, characterized in that the display of the interface identifier of the interface corresponding to the current operating parameter includes:
    实时获取当前操作参数是否对应有界面标识;Obtain in real time whether the current operating parameters correspond to interface identifiers;
    并在当前操作参数对应有界面标识的情况,对当前参数操作对应的界面标识进行显示。And when there is an interface identification corresponding to the current operation parameter, the interface identification corresponding to the current parameter operation is displayed.
  17. 根据权利要求1-16任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-16, characterized in that the method further includes:
    若检测到作用所述预设手势操作的触控物与屏幕脱离接触,则确定所述预设手势操作结束作用。If it is detected that the touch object on which the preset gesture operation is performed is out of contact with the screen, it is determined that the preset gesture operation has ended.
  18. 一种界面显示装置,其特征在于,运行于电子设备,所述装置包括:An interface display device, characterized in that it runs on electronic equipment, and the device includes:
    参数获取单元,用于响应于从目标位置开始作用的预设手势操作,获取所述预设手势操作在作用过程中的当前操作参数;A parameter acquisition unit, configured to obtain the current operating parameters of the preset gesture operation during its operation in response to a preset gesture operation that starts from the target position;
    标识显示单元,用于显示所述当前操作参数对应的界面的界面标识;An identification display unit, used to display the interface identification of the interface corresponding to the current operating parameter;
    界面控制单元,用于若所述预设手势操作结束作用,将当前所显示的界面切换为显示所述当前操作参数对应的界面。The interface control unit is configured to switch the currently displayed interface to an interface corresponding to the current operating parameters when the preset gesture operation ends.
  19. 一种电子设备,其特征在于,包括一个或多个处理器以及存储器;An electronic device, characterized by including one or more processors and memory;
    一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行权利要求1-17任一所述的方法。One or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any one of claims 1-17.
  20. 一种存储有处理器可执行的程序代码的计算机可读存储介质,其特征在于,所述计算机可读存储介质包括存储的程序代码,其中,在所述程序代码运行时执行权利要求1-17任一所述的方法。A computer-readable storage medium storing program code executable by a processor, characterized in that the computer-readable storage medium includes stored program code, wherein claims 1-17 are executed when the program code is run any of the methods described.
PCT/CN2022/143269 2022-06-15 2022-12-29 Interface display method and apparatus, electronic device, and storage medium WO2023241008A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210682085.0A CN117270749A (en) 2022-06-15 2022-06-15 Interface display method and device and electronic equipment
CN202210682085.0 2022-06-15

Publications (1)

Publication Number Publication Date
WO2023241008A1 true WO2023241008A1 (en) 2023-12-21

Family

ID=89193063

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/143269 WO2023241008A1 (en) 2022-06-15 2022-12-29 Interface display method and apparatus, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN117270749A (en)
WO (1) WO2023241008A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180088796A1 (en) * 2016-09-26 2018-03-29 Guangzhou Ucweb Computer Technology Co., Ltd. View switching method and apparatus for touch screen, and client device
CN107870784A (en) * 2017-11-24 2018-04-03 维沃移动通信有限公司 A kind of display control method, mobile terminal and computer-readable recording medium
CN112836156A (en) * 2021-01-27 2021-05-25 网易传媒科技(北京)有限公司 Page switching method and device, electronic equipment and computer readable storage medium
CN113760170A (en) * 2021-11-09 2021-12-07 深圳市活力天汇科技股份有限公司 APP page quick jump method, device, equipment and medium
US20220050559A1 (en) * 2018-11-29 2022-02-17 Beijing Bytedance Network Technology Co., Ltd. Page display position jump method and apparatus, terminal device, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180088796A1 (en) * 2016-09-26 2018-03-29 Guangzhou Ucweb Computer Technology Co., Ltd. View switching method and apparatus for touch screen, and client device
CN107870784A (en) * 2017-11-24 2018-04-03 维沃移动通信有限公司 A kind of display control method, mobile terminal and computer-readable recording medium
US20220050559A1 (en) * 2018-11-29 2022-02-17 Beijing Bytedance Network Technology Co., Ltd. Page display position jump method and apparatus, terminal device, and storage medium
CN112836156A (en) * 2021-01-27 2021-05-25 网易传媒科技(北京)有限公司 Page switching method and device, electronic equipment and computer readable storage medium
CN113760170A (en) * 2021-11-09 2021-12-07 深圳市活力天汇科技股份有限公司 APP page quick jump method, device, equipment and medium

Also Published As

Publication number Publication date
CN117270749A (en) 2023-12-22

Similar Documents

Publication Publication Date Title
EP3567478B1 (en) Method for preloading application, storage medium, and terminal
CN108710513B (en) Application program starting method and device, storage medium and terminal
US9261995B2 (en) Apparatus, method, and computer readable recording medium for selecting object by using multi-touch with related reference point
US10185456B2 (en) Display device and control method thereof
US20190370022A1 (en) Application preloading method and device, storage medium and terminal
KR102024187B1 (en) User terminal device and method for displaying thereof
US9465514B2 (en) Method and apparatus for providing a changed shortcut icon corresponding to a status thereof
CN110531920B (en) Display method and device of sidebar, terminal and storage medium
US20110087983A1 (en) Mobile communication terminal having touch interface and touch interface method
CN112068762B (en) Interface display method, device, equipment and medium of application program
CN108920202B (en) Application preloading management method and device, storage medium and intelligent terminal
WO2019183997A1 (en) Video preview method and electronic device
CN108647056B (en) Application program preloading method and device, storage medium and terminal
CN108605165A (en) The method and electronic equipment of video thumbnails are generated in the electronic device
CN108845840A (en) Management method, device, storage medium and the intelligent terminal of application program sound
CN108762836B (en) Management method and device for preloaded application, storage medium and intelligent terminal
CN113014987A (en) Screen recording method and device, electronic equipment and storage medium
CN114721575A (en) Text content processing method and device and electronic equipment
CN110568990B (en) Screen splitting method and device, electronic equipment and storage medium
CN108762838B (en) Application program preloading method and device, storage medium and terminal
WO2023241008A1 (en) Interface display method and apparatus, electronic device, and storage medium
WO2023197679A1 (en) Video playing method and apparatus, electronic device and storage medium
WO2024001119A1 (en) Message reply method and apparatus, and electronic device and storage medium
WO2023241013A1 (en) Interface operation method and apparatus, electronic device, and storage medium
CN113110770B (en) Control method and device

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: 22946672

Country of ref document: EP

Kind code of ref document: A1