WO2023005552A1 - Dialing interface display method and apparatus, and terminal, storage medium and program product - Google Patents

Dialing interface display method and apparatus, and terminal, storage medium and program product Download PDF

Info

Publication number
WO2023005552A1
WO2023005552A1 PCT/CN2022/101611 CN2022101611W WO2023005552A1 WO 2023005552 A1 WO2023005552 A1 WO 2023005552A1 CN 2022101611 W CN2022101611 W CN 2022101611W WO 2023005552 A1 WO2023005552 A1 WO 2023005552A1
Authority
WO
WIPO (PCT)
Prior art keywords
component
interface
called party
dialing interface
response
Prior art date
Application number
PCT/CN2022/101611
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 WO2023005552A1 publication Critical patent/WO2023005552A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • the embodiments of the present application relate to the field of human-computer interaction technology, and in particular to a display method, device, terminal, storage medium, and program product of a dial interface.
  • the dial interface is the interface of the call application program in the terminal, which is mainly used to make a call.
  • the interface usually includes a dial pad (number key display area), dial control, and number display area. The user triggers the number key corresponding to the phone number, and Trigger the dial control to make a call after entering a valid number.
  • the interval between each number key and dial key is usually increased horizontally or vertically, and displayed in the center, so as to Make the layout of the controls in the dialer interface fit the screen size.
  • Embodiments of the present application provide a dialing interface display method, device, terminal, storage medium, and program product. Described technical scheme is as follows:
  • an embodiment of the present application provides a method for displaying a dial interface, the method comprising:
  • the dialing interface includes a first component and a second component, the first component includes a character input control for inputting the number of the called party, and the second component includes a character input control for calling the called party call controls for the calling party number;
  • an embodiment of the present application provides a display device for a dial interface, and the device includes:
  • the display module is used to display a dialing interface, the dialing interface includes a first component and a second component, the first component includes a character input control for inputting the number of the called party, and the second component includes a a call control for calling said called party number;
  • An acquisition module configured to acquire the called party number based on a trigger operation on the character input control
  • An updating module configured to update the display positions of the first component and the second component in response to the input called party number being a valid number, wherein, after the positions are updated, the first component and the second component The relative positions of the components are different from the relative positions of the first component and the second component before the position update.
  • an embodiment of the present application provides a terminal, the terminal includes a processor and a memory; at least one instruction, at least one program, a code set or an instruction set are stored in the memory, and the at least one instruction, the The at least one section of program, the code set or instruction set is loaded and executed by the processor to implement the method for displaying the dial interface as described in the above aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where at least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the above aspects.
  • the display method of the dial interface is not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to implement the above aspects.
  • a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
  • the processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the dialing interface display method provided in various optional implementation manners of the above aspects.
  • FIG. 1 is a schematic diagram of a terminal dial-up interface in the related art
  • FIG. 2 shows a flowchart of a method for displaying a dial interface provided by an exemplary embodiment of the present application
  • Fig. 3 is a schematic diagram of a dial interface shown in an exemplary embodiment of the present application.
  • Fig. 4 is a schematic diagram of updating the display positions of the first component and the second component shown in an exemplary embodiment of the present application;
  • FIG. 5 shows a flow chart of a method for displaying a dial interface provided in another exemplary embodiment of the present application
  • Fig. 6 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application.
  • Fig. 7 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application.
  • FIG. 8 shows a flowchart of a method for displaying a dial interface provided in another exemplary embodiment of the present application.
  • Fig. 9 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application.
  • Fig. 10 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application.
  • FIG. 11 shows a flow chart of a method for displaying a dial interface provided in another exemplary embodiment of the present application.
  • Fig. 12 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application.
  • Fig. 13 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application;
  • FIG. 14 shows a flowchart of a method for displaying a dial interface provided in another exemplary embodiment of the present application.
  • Fig. 15 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application.
  • Fig. 16 is a schematic diagram of a layout recovery process shown in an exemplary embodiment of the present application.
  • FIG. 17 shows a structural block diagram of a display device for a dial interface provided by an exemplary embodiment of the present application
  • Fig. 18 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • a dial pad 102 is displayed in the dial interface 101 , and the dial pad 102 includes a character input control, a call control, a character deletion control, and a dial hide control. Since the lower half of the dial is horizontally screened, and the horizontal span is relatively large, the user needs to hold it with both hands or change the holding state to touch all the controls, so the convenience of the dialing operation is low.
  • the application provides a method for displaying a dial-up interface, which is applied to a terminal with a dial-up function, and the terminal can be a smart phone, a tablet computer, an e-book reader, a personal portable computer, a desktop computer, etc. .
  • the first component for inputting the called party number and the second component for calling the called party number are independent of each other, and the relative positions of the first component and the second component can be inputted by the user. The valid number will be changed later, so that the user does not need to change the holding posture when holding the terminal with one hand to dial, and the operation is convenient and fast.
  • Fig. 2 shows a flow chart of a method for displaying a dial interface provided by an exemplary embodiment of the present application.
  • the method is used as an example for a terminal with a dial-up function.
  • the method includes the following steps:
  • Step 201 display the dialing interface, the dialing interface includes a first component and a second component, the first component includes a character input control for inputting the called party number, and the second component includes a call button for calling the called party number controls.
  • the dial interface refers to the user interface corresponding to the dial function, which includes character input controls (such as input controls for numbers 0 to 9, "*" key and "#” key), call control, character deletion control, etc., and the interface The characters entered by the user are displayed in .
  • the dialing interface includes a first component and a second component, wherein a component refers to a control combination composed of at least one user interface (User Interface, UI) control, and the first component includes a The character input control of the called party number.
  • the second component includes a call control for calling the called party number.
  • the first component and the second component are two independent components.
  • the terminal When receiving the user's operation of enabling the dialing function, the terminal displays the dialing interface.
  • FIG. 3 shows a schematic diagram of a dialing interface.
  • the upper part is the call record display area
  • the lower part is the dialing area.
  • the first component 302 and the second component 303 are displayed in the dialing area.
  • the first component 302 contains 12 character input controls, which are respectively used to trigger input
  • the second component 303 includes a call control 304, and also includes a dial pad retract control, a character deletion control, and the like.
  • Step 202 based on the trigger operation on the character input control, the called party number is acquired.
  • the user triggers the corresponding character input control to enable the terminal to obtain the called party number. For example, the user triggers the character input controls corresponding to "1", "3", and "8" in sequence, and the terminal determines that the called party number is 138.
  • Step 203 in response to the input called party number being a valid number, update the display positions of the first component and the second component, where the relative position of the first component and the second component after the position update is different from that of the first component before the position update The relative position to the second component.
  • the call control in the second component needs to be triggered.
  • the terminal screen size is large, the distance between the controls is relatively long, and it is inconvenient for the user to operate with one hand. Therefore, after the terminal recognizes a valid number, it automatically updates the display positions of the first component and the second component.
  • the relative position of the first component and the second component after the position update is different from the relative position of the first component and the second component before the position update, so that the user can hold the terminal with one hand and complete the dialing operation without changing the holding posture. For example, the user holds the terminal with his left hand, and initially the first component is on the left side of the second component.
  • the terminal When it is determined that the called party number is a valid number, that is, after confirming that the user has completed the number input operation, the terminal displays the second component on the first On the left side of the component, users will still be able to trigger the call controls with their left hand.
  • the dialing interface 401 includes a first component 402 and a second component 403. Initially, the first component 402 is located on the left side of the second component 403. When the terminal obtains a valid number based on the number input operation After that, the second component 403 is displayed on the left side of the first component 402 .
  • the terminal may also determine whether to update the display position of the component by detecting the pause duration of the user operation. For example, if it is detected that no user operation is received within the target time period, the terminal determines that the number input is complete, and updates the display positions of the first component and the second component.
  • the first component for inputting the called party number and the second component for calling the called party number are independent of each other.
  • the two components The position remains unchanged.
  • the relative position of the first component and the second component is automatically updated, so that the terminal screen is larger, the size of the first component and the second component are larger, and the distance between the controls is longer.
  • the user holds the terminal with one hand and dials without changing the holding posture to complete the dialing process.
  • the operation is convenient and fast, which improves the dialing efficiency and reduces the dialing error rate during one-handed operation.
  • update the display positions of the first component and the second component including:
  • dial interface including:
  • the first component and the second component arranged left and right are displayed on the dial interface, including:
  • the first component in the dial interface is displayed on the right side of the second component.
  • the first component in the dial interface is displayed on the left side of the second component, including:
  • the first component and the second component are displayed in the first area of the dialing interface, and the distance between the first area and the left edge of the dialing interface is smaller than the distance from the right edge of the dialing interface;
  • the first component and the second component are displayed in a second area of the dialing interface, and the distance between the second area and the right edge of the dialing interface is smaller than the distance from the left edge of the dialing interface;
  • dial interface including:
  • the first component in the dialing interface is displayed below the second component, including:
  • the first component and the second component are displayed in the first area of the dial interface, and the distance between the first area and the left edge of the dial interface is smaller than the distance from the right edge of the dial interface;
  • the first component is displayed below the second component;
  • the first component and the second component are displayed in the second area of the dial interface, and the distance between the second area and the right edge of the dial interface is smaller than the distance from the left edge of the dial interface; The first component is displayed below the second component.
  • update the display positions of the first component and the second component including:
  • the first component and the second component are updated from the first layout form to the second layout form.
  • updating the first component and the second component from the first layout form to the second layout form includes:
  • the first component is located below the second component;
  • the first component when the device is held by the left hand, the first component is located on the right side of the second component; when it is held by the right hand, the first component is located on the left side of the second component.
  • updating the display positions of the first component and the second component in response to the input called party number being a valid number including:
  • Methods also include:
  • the display positions of the first component and the second component are maintained.
  • the second component also includes a character deletion control, which is used to delete the input characters
  • the method further includes:
  • the method before updating the display positions of the first component and the second component in response to the input called party number being a valid number, the method further includes:
  • the called party number In response to the number of digits of the entered called party number reaching the number of valid numbers, the called party number is determined to be a valid number.
  • the dialing interface also includes a location recovery control
  • Display the dial interface including:
  • the method further includes:
  • the display positions of the first component and the second component are restored to default positions.
  • the above step 203 includes the following step: exchanging the display positions of the first component and the second component. That is, by exchanging the display positions of the two components, the terminal makes the second component after the position update be displayed at the position of the first component before the position update, so that the user can complete the dialing operation without changing the holding posture.
  • Fig. 5 shows a flowchart of a method for displaying a dial interface provided by another exemplary embodiment of the present application.
  • the method is used as an example for a terminal with a dial-up function. The method includes the following steps:
  • Step 501 displaying a first component and a second component arranged left and right in a dialing interface.
  • the terminal in order to further enable the layout of the dial interface to meet the user's requirement for one-handed operation, the terminal also adjusts the overall display positions of the first component and the second component based on the user's holding posture. For example, after receiving the enabling operation of the dialing function, the terminal acquires sensor data, determines the current holding posture based on the sensor data, and then determines the target layout corresponding to the current holding posture based on the correspondence between the holding posture and the layout mode Way. The terminal displays the first component and the second component in the dialing interface according to the target layout mode, and step 501 also includes the following steps:
  • Step 501a in response to being held by the left hand, display the first component in the dial interface on the left side of the second component.
  • the terminal When it is determined that the user is holding the terminal with the left hand, in order to facilitate the user to complete the dialing operation with the left hand, the terminal first displays the first component in the dialing interface on the left side of the second component, so that the user can complete the character input operation with the left hand.
  • Step 501a also includes the following steps 1 to 2:
  • Step 1 In response to being held by the left hand, the first component and the second component are displayed in the first area of the dialing interface, and the distance between the first area and the left edge of the dialing interface is smaller than the distance from the right edge of the dialing interface.
  • Step 2 display the first component in the first area on the left side of the second component.
  • the terminal displays the first component and the second component in the first area in a left-right arrangement. And, the first component is located on the left side of the second component. The distance between the first area and the left edge of the dial interface is smaller than the distance from the right edge of the dial interface, so that the user can activate the controls in the first component with his left hand.
  • the terminal when the terminal is held by the left hand, the terminal displays the first component 602 and the second component 603 in the first area 604 of the dial interface 601, and the first component 602 is located in the second component 603 on the left.
  • Step 501b in response to being held by the right hand, display the first component in the dialing interface on the right side of the second component.
  • the terminal when it is determined that the user is holding the terminal with the right hand, in order to facilitate the user to complete the dialing operation with the right hand, the terminal first displays the first component in the dialing interface on the right side of the second component, so that the user can complete the character input operation with the right hand.
  • Step 501b also includes the following steps 3 to 4:
  • Step 3 In response to being held by the right hand, the first component and the second component are displayed in a second area of the dialing interface, and the distance between the second area and the right edge of the dialing interface is smaller than the distance from the left edge of the dialing interface.
  • Step 4 display the first component in the second area on the right side of the second component.
  • the first component and the second component are displayed in the first area in a left-right arrangement. And the first component is located on the right side of the second component.
  • the distance between the first area and the right edge of the dialing interface is smaller than the distance from the left edge of the dialing interface, so that the user can trigger the controls in the first component with his right hand.
  • the terminal when the terminal is held in the right hand, the terminal displays the first component 702 and the second component 703 in the second area 704 of the dial interface 701, and the first component 702 is located in the second component 703 on the right.
  • Step 502 based on the trigger operation on the character input control, the called party number is acquired.
  • step 502 For a specific implementation manner of step 502, reference may be made to the foregoing step 202, and details are not described here in this embodiment of the present application.
  • Step 503 in response to the input called party number being a valid number, swap the left and right display positions of the first component and the second component.
  • the terminal switches the left and right display positions of the first component and the second component, so that the user can continue to trigger the call control through the current holding posture.
  • the terminal displays the first component on the right side of the second component and both are located in the first area.
  • the terminal exchanges the display positions of the first component 602 and the second component 603 .
  • the terminal displays the first component on the left side of the second component and both are located in the second area.
  • the terminal exchanges the display positions of the first component 702 and the second component 703 .
  • the first component and the second component are displayed by arranging left and right, and the two components are displayed on the left or right according to the user's holding posture, which is convenient for the user to operate with one hand, and the called party number is When the number is valid, the display positions of the first component and the second component are switched left and right, so that the user can complete the dialing operation with one hand without changing the holding posture, which improves the user's dialing efficiency and simplifies the user's operation.
  • Fig. 8 shows a flow chart of a method for displaying a dial interface provided by another exemplary embodiment of the present application.
  • the method is used as an example for a terminal with a dial-up function. The method includes the following steps:
  • Step 801 displaying the first component in the dialing interface below the second component.
  • the terminal When the user holds the terminal, his hand is usually held at the lower part of the terminal, and it is easier to trigger the controls displayed at the bottom of the screen, so the terminal first displays the first component in the dial interface below the second component, so that the user can trigger The character input control in the first component performs number input operations.
  • the terminal in order to further enable the layout of the dial interface to meet the user's requirement for one-handed operation, the terminal also adjusts the overall display positions of the first component and the second component based on the user's holding posture. For example, after receiving the enabling operation of the dialing function, the terminal acquires sensor data, determines the current holding posture based on the sensor data, and then determines the target layout corresponding to the current holding posture based on the correspondence between the holding posture and the layout mode mode, and display the first component and the second component in the dialing interface according to the target layout mode.
  • Step 801 includes the following steps:
  • Step 801a in response to being held by the left hand, display the first component and the second component in the first area of the dial interface, the distance between the first area and the left edge of the dial interface is smaller than the distance from the right edge of the dial interface; the first The first component in the area is displayed below the second component.
  • the terminal displays the first component and the second component on the side of the screen. left position.
  • the first component and the second component are displayed in the first area in a manner of being arranged up and down.
  • the distance between the first area and the left edge of the dial interface is smaller than the distance from the right edge of the dial interface, so that the user can activate the controls in the first component with his left hand.
  • the terminal when the terminal is held by the left hand, the terminal displays the first component 902 and the second component 903 in the first area 904 of the dial interface 901, and the first component 902 is located in the second component 903 below.
  • Step 801b in response to being held by the right hand, display the first component and the second component in the second area of the dial interface, the distance between the second area and the right edge of the dial interface is smaller than the distance from the left edge of the dial interface; The first component in the area is displayed below the second component.
  • the terminal displays the first component and the second component on the right side of the screen.
  • the first component and the second component are displayed in the first area in a manner of being arranged up and down.
  • the distance between the first area and the right edge of the dialing interface is smaller than the distance from the left edge of the dialing interface, so that the user can activate the controls in the first component with his right hand.
  • the terminal when the terminal is held by the right hand, the terminal displays the first component 1002 and the second component 1003 in the second area 1004 of the dial interface 1001, and the first component 1002 is located in the second component 1003 below.
  • Step 802 based on the trigger operation on the character input control, the called party number is obtained.
  • step 802 For a specific implementation manner of step 802, reference may be made to the foregoing step 202, and details are not described here in this embodiment of the present application.
  • Step 803 in response to the input called party number being a valid number, swap the upper and lower display positions of the first component and the second component.
  • the terminal switches the upper and lower display positions of the first component and the second component, so that the user can continue to trigger the call control through the current holding posture.
  • the terminal displays the second components below the first components and both are located in the first area.
  • the terminal exchanges the display positions of the first component 902 and the second component 903 .
  • the terminal displays the second components below the first components and both are located in the second area.
  • the terminal exchanges the display positions of the first component 1002 and the second component 1003 .
  • the first component and the second component are displayed by arranging them up and down, and the two components are displayed on the left or right according to the user's holding posture, which is convenient for the user to operate with one hand.
  • the display positions of the first component and the second component are exchanged up and down, so that the control that the user needs to trigger is located at the bottom, and the user can complete the dialing operation with one hand without changing the holding posture, which improves the user's dialing efficiency. Simplify user operations.
  • Fig. 11 shows a flow chart of a method for displaying a dial interface provided by another exemplary embodiment of the present application.
  • the method is used as an example for a terminal with a dial-up function. The method includes the following steps:
  • Step 1101 display the dialing interface, the dialing interface includes a first component and a second component, the first component includes a character input control for inputting the called party number, and the second component includes a call button for calling the called party number controls.
  • Step 1102 based on the trigger operation on the character input control, obtain the number of the called party.
  • steps 1101 to 1102 For the specific implementation manners of steps 1101 to 1102, reference may be made to the foregoing steps 201 to 202, and details are not repeated in this embodiment of the present application.
  • Step 1103 updating the first component and the second component from the first layout form to the second layout form in response to the input called party number being a valid number.
  • Step 1103 includes the following steps:
  • Step 1103a updating the first component and the second component from the top-bottom layout to the left-right layout.
  • the first component in the form of up-down layout, is located below the second component; in the form of left-right layout, when it is held by the left hand, the first component is located on the right side of the second component, and when it is held by the right hand, the second One component is located to the left of the second component.
  • the first component and the second component are initially laid out up and down, and the first component is located below the second component, which is convenient for the user to trigger the character input control.
  • the terminal switches the top-bottom layout form to the left-right layout form, so that the dial control is closer to the holding hand side.
  • the first component and the second component are displayed in the first area of the dial interface, the distance between the first area and the left edge of the dial interface is smaller than the distance from the right edge of the dial interface, and the distance between the first area and the right edge of the dial interface is displayed.
  • the first component is displayed to the left of the second component.
  • the first component 1202 is initially located below the second component 1203, and both are displayed in the first area 1204, when it is determined that the called party number is a valid number , the terminal switches the top-bottom layout to the left-right layout, so that the second component 1203 is displayed on the left side of the first component 1202 and both are located in the first area 1204 .
  • the first component and the second component are displayed in the second area of the dial interface, the distance between the second area and the right edge of the dial interface is smaller than the distance from the left edge of the dial interface, and the second area The first component of the is displayed to the right of the second component.
  • the right hand is currently holding the dialing interface.
  • the dialing interface 1301 the first component 1302 is initially located below the second component 1303 and is displayed in the second area 1304.
  • the terminal switches the top-bottom layout to the left-right layout, so that the second component 1303 is displayed on the right side of the first component 1302 and both are located in the second area 1304 .
  • the first component and the second component are in a left-right layout in the initial state of the dialing interface, and the terminal may also switch the left-right layout to the top-bottom layout after obtaining a valid number. For example, update the first component and the second component from the left-right layout to the top-bottom layout.
  • the first component is located below the second component.
  • the left-right layout when it is held by the left hand, The first component is located on the right side of the second component, and when held by the right hand, the first component is located on the left side of the second component.
  • the second component by changing the layout of the first component and the second component, after obtaining a valid number, the second component is displayed at a position that is easier for the user to trigger with one hand, and the user can input the called party number with one hand. After receiving the number, continue to use the current holding posture to complete the calling operation of the called party number without changing the holding hand or moving the holding position, which meets the user's demand for one-handed operation of the large-screen terminal and improves operational efficiency.
  • the foregoing embodiment shows a process in which the terminal automatically updates the positions of the first component and the second component based on the holding state or the progress of number input.
  • the terminal recognizes that the number of the called party has changed from a valid number to an invalid number, the display positions of the first component and the second component are restored to ensure that the first component is located at a position that is easy for the user to touch, and that the number modification operation is also convenient and fast.
  • Fig. 14 shows a flow chart of a method for displaying a dial interface provided by another exemplary embodiment of the present application. In this embodiment, the method is used as an example for a terminal with a dial-up function. The method includes the following steps:
  • Step 1401 display the dial interface according to the default positions of the first component and the second component.
  • the first component and the second component correspond to default positions, and when the activation operation of the dialing function is obtained, the terminal first displays the first component and the second component according to the default positions.
  • the default position is a preset position (for example, the first component and the second component are laid out left and right and displayed in the center horizontally as a whole), or a position determined based on the user's layout setting operation, or based on the user's historical holding record
  • the determined position (for example, the position corresponding to the holding posture with the longest holding time or the most holding times in the historical holding record) is not limited in this embodiment of the present application.
  • Step 1402 based on the trigger operation on the character input control, obtain the number of the called party.
  • step 1402 For a specific implementation manner of step 1402, reference may be made to the foregoing step 202, and details are not described here in this embodiment of the present application.
  • Step 1403 determine the number type of the called party number based on the first digit of the input called party number, and the number type includes a mobile phone number and a fixed phone number.
  • the terminal determines whether the called party number is a valid number based on the number of digits of the called party number input by the user.
  • the numbers corresponding to the mobile phone and the fixed phone have different lengths. Therefore, the terminal needs to first determine the number type of the called party number.
  • Mobile phone numbers usually have "1" as the first digit, or the country's area code (such as 86) as the first few digits, while landline phone numbers usually have other digits as the first digit of the number, so the terminal is based on the first digit of the called party number. Digits determine the number type of the called party number.
  • Step 1404 determine the effective number digits based on the number type.
  • the terminal After determining the number type based on the first digit, the terminal determines the valid number digits based on the corresponding relationship between the number type and the number digits.
  • the terminal identifies the area corresponding to the called party number based on the area code in the valid number entered by the user, and then determines the number of valid numbers based on the length of the landline number in the area;
  • the terminal determines that the number type is a mobile phone number, it determines that the number of effective number digits is 11.
  • Step 1405 in response to the number of digits of the input called party number reaching the number of valid numbers, determine that the called party number is a valid number.
  • the terminal determines that the called party number is a valid number. At this time, it is determined that the user has completed the input operation of the called party number, and updates the first The display position of the component and the second component enables the user to continue to complete the call operation through the current holding posture.
  • Step 1406 in response to the input called party number being a valid number and being held by one hand, update the display positions of the first component and the second component.
  • Step 1407 in response to the input called party number being a valid number and held in both hands, keep the display positions of the first component and the second component.
  • the number input operation and call operation cannot be completed with one hand due to the large distance between the various controls in the dial interface.
  • the display positions of the first component and the second component are kept unchanged, which is convenient for the user to operate with both hands, and quickly completes number input and call operations.
  • Step 1408 in response to the trigger operation on the character deletion control, restore the display positions of the first component and the second component.
  • the second component further includes a character deletion control, which is used to delete the input characters, for example, when receiving a trigger operation on the character deletion control, the terminal deletes the current called party number The last character in .
  • the terminal restores the display of the first component and the second component position, so that the user can continue to input valid numbers through the current holding posture.
  • the dial interface 1501 includes a first component 1502 and a second component 1503, and the second component 1503 displays a character deletion control 1504 (because the trigger frequency of the character deletion control 1504 is higher than that of the second
  • the dial pad in component 1503 closes the control, so the terminal displays the character deletion control 1504 in the second component near the bottom edge of the terminal, which is convenient for the user to trigger), when the called party number is a valid number and is currently held by the left hand state, the terminal displays the second component 1503 on the left side of the first component 1502 and the two components are horizontally aligned to the left as a whole (that is, the distance between the component and the left edge of the terminal is smaller than the distance from the right edge of the terminal).
  • the terminal displays the first component 1502 on the left side of the second component 1503 and the overall display area occupied by the dialing interface remains unchanged.
  • the character deletion control since the character deletion control is located in the second component, when the user holds it with one hand and does not input a valid number, if it is necessary to delete the characters in the valid number, it can be done by triggering the character deletion control. Character deletion is relatively unchanged, and the display method of the dial interface provided by the embodiment of the present application also includes the following steps:
  • the input character is deleted.
  • the target direction is a preset sliding direction, for example, the direction in which the last character in the called party number displayed in the dialing interface points to the first character; or the direction in which the edge held by the holding hand points to the opposite edge (such as the left hand If you hold it, the target direction is from left to right, and if you hold it with your right hand, the target direction is from right to left).
  • the user Before entering a valid number, the user can cancel the input by swiping left and right, without clicking the character in the dial area to delete the control to delete.
  • the terminal deletes the last character in the called party number, or deletes all characters in the called party number, which is not limited in this embodiment of the present application.
  • Step 1409 Restore the display positions of the first component and the second component to default positions in response to the trigger operation on the position recovery control.
  • a position restoration control is also displayed on the dial interface, and when a trigger operation on the position restoration control is received, the terminal restores the display positions of the first component and the second component to default positions.
  • the terminal displays the position recovery control through the dial interface.
  • the user can also By triggering the position recovery control, the display positions of the first component and the second component are restored to the default positions.
  • the first component 1602 and the second component 1603 are arranged left and right in the dial interface 1601 initially and displayed in the center horizontally as a whole , when the terminal detects that it is held by the left hand, the first component 1602 and the second component 1603 are displayed in the first area, and the user can restore the positions of the first component and the second component by triggering the position restoration control 1604 .
  • the user can restore the display positions of the first component and the second component to the default position by triggering the position restoration control ( Restore to the position before obtaining a valid number or the initial position when the dialing interface is displayed).
  • the terminal when the trigger operation on the character deletion control is received, the terminal restores the display positions of the first component and the second component, which is convenient for the user to re-enter the correct number, and the process does not need to change the holding state; by setting the position Restore the control, and restore the display position of the first component and the second component when receiving the trigger operation of the position recovery control, so that the user can independently select the display position of the first component and the second component according to the actual situation, and improve the convenience of operation .
  • the display method of the dial interface is applied to the scene of calling numbers.
  • the method provided in this application may also be applied to other application interfaces that require input operations and confirmation operations.
  • the arrangement of password input components can be changed with user operations : Obtain the entered password based on the trigger operation on the character input control; respond to the fact that the number of characters of the entered password is consistent with the number of characters of the preset password (record the number of characters of the preset password under user authorization), or, Responding to not obtaining a trigger operation on the character input control within the target duration, update the display positions of the password input component and the password confirmation component, where the relative position of the password input component and the password confirmation component after the position update is different from the relative position before the position update Location.
  • the layout of the verification code input component and the verification code confirmation component can be changed according to the user's operation, and the arrangement update process is similar to the above-mentioned embodiment, and will not be repeated here.
  • Fig. 17 is a structural block diagram of a display device for a dial interface provided in an exemplary embodiment of the present application, the device comprising:
  • the display module 1701 is configured to display a dialing interface, the dialing interface includes a first component and a second component, the first component includes a character input control for inputting the called party number, and the second component includes call controls for calling said called party number;
  • An obtaining module 1702 configured to obtain the called party number based on a trigger operation on the character input control
  • An update module 1703 configured to update the display positions of the first component and the second component in response to the input called party number being a valid number, wherein, after the positions are updated, the first component and the second component are The relative positions of the two components are different from the relative positions of the first component and the second component before the position update.
  • the updating module 1703 is also used for:
  • the display positions of the first component and the second component are exchanged.
  • the display module 1701 is also used for:
  • the updating module 1703 is also used for:
  • the left and right display positions of the first component and the second component are exchanged.
  • the display module 1701 is also used for:
  • the first component in the dialing interface is displayed on the right side of the second component.
  • the display module 1701 is also used for:
  • the distance between the first area and the left edge of the dial interface is smaller than that of the right edge of the dial interface edge distance
  • the distance between the second area and the right edge of the dialing interface is smaller than that of the dialing interface The distance from the left edge of the dialing interface;
  • the first component in the second area is displayed on the right side of the second component.
  • the display module 1701 is also used for:
  • the upper and lower display positions of the first component and the second component are exchanged.
  • the display module 1701 is also used for:
  • the first component and the second component are displayed in a first area of the dialing interface, and the distance between the first area and the left edge of the dialing interface is smaller than that of the right edge of the dialing interface distance; displaying the first component in the first area below the second component;
  • the first component and the second component are displayed in a second area of the dialing interface, and the distance between the second area and the right edge of the dialing interface is smaller than that of the left edge of the dialing interface Distance; display the first component in the first area below the second component.
  • the updating module 1703 is also used for:
  • the updating module 1703 is also used for:
  • the first component is located below the second component
  • the first component when the left hand is held, the first component is located on the right side of the second component; when the right hand is held, the first component is located on the second component left side.
  • the updating module 1703 is also used for:
  • the display module 1701 is also used for:
  • the display positions of the first component and the second component are maintained.
  • the second component also includes a character deletion control, and the character deletion control is used to delete an input character
  • the display module 1701 is also used for:
  • the device also includes a determination module, configured to:
  • the number type of the called party number based on the first digit of the called party number, the number type including a mobile phone number and a fixed phone number;
  • the called party number In response to the number of digits of the called party number reaching the number of valid numbers, it is determined that the called party number is the valid number.
  • the dialing interface also includes a location recovery control
  • the display module 1701 is also used for:
  • the display positions of the first component and the second component are restored to the default position.
  • FIG. 18 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • the terminal 1800 may be a smart phone, a tablet computer, a notebook computer, and the like.
  • the terminal 1800 in this application may include one or more of the following components: a processor 1810 , a memory 1820 and a display 1830 .
  • Processor 1810 may include one or more processing cores.
  • the processor 1810 uses various interfaces and lines to connect various parts of the entire terminal 1800, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 1820, and calling data stored in the memory 1820. 1800's various functions and processing data.
  • the processor 1810 may adopt 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 the form of hardware.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 1810 can integrate one or more of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU) and a modem, etc.
  • a central processing unit Central Processing Unit, CPU
  • an image processor Graphics Processing Unit, GPU
  • a neural network processor Neural-network Processing Unit, NPU
  • the CPU mainly processes the operating system, user interface, and application programs, etc.
  • the GPU is used for rendering and drawing the content that needs to be displayed on the touch screen 1830
  • the NPU is used for realizing artificial intelligence (Artificial Intelligence, AI) functions
  • the modem is used for Handle wireless communications. It can be understood that, the above-mentioned modem may not be integrated into the processor 1810, but may be realized by a single chip.
  • the memory 1820 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory, ROM).
  • the memory 1820 includes a non-transitory computer-readable storage medium.
  • the memory 1820 may be used to store instructions, programs, codes, sets of codes or sets of instructions.
  • the memory 1820 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following method embodiments; the storage data area can store data created according to the use of the terminal 1800 (such as audio data, phonebook) and the like.
  • the display screen 1830 is a display component for displaying a user interface.
  • the display screen 1830 also has a touch function, through which the user can use any suitable object such as a finger or a touch pen to perform touch operations on the display screen 1830 .
  • the display screen 1830 is usually set on the front panel of the terminal 1830 .
  • the display screen 1830 can be designed as a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen.
  • the display screen 1830 can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in this embodiment.
  • the structure of the terminal 1800 shown in the above drawings does not constitute a limitation on the terminal 1800, and the terminal may include more or less components than those shown in the figure, or combine some components, or different component arrangements.
  • the terminal 1800 also includes components such as a camera component, a microphone, a speaker, a radio frequency circuit, an input unit, a sensor (such as an acceleration sensor, an angular velocity sensor, a light sensor, etc.), an audio circuit, a WiFi module, a power supply, and a Bluetooth module. No longer.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores at least one instruction, and the at least one instruction is loaded and executed by a processor to realize the dialing interface as described in each of the above embodiments. Show method.
  • a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
  • the processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the dialing interface display method provided in various optional implementation manners of the above aspects.
  • the information including but not limited to user equipment information, user personal information, etc.
  • data including but not limited to data used for analysis, stored data, displayed data, etc.
  • signals involved in this application All are authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions.
  • the called party number involved in this application is obtained under the condition of full authorization.

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiments of the present application belong to the field of human-machine interaction. Disclosed are a dialing interface display method and apparatus, and a terminal and a storage medium. The method comprises: displaying a dialing interface (201); acquiring a called party number on the basis of a trigger operation on a character input control (202); and in response to an input called party number being a valid number, updating display positions of a first assembly and a second assembly, wherein the relative positions of the first assembly and the second assembly after the positions are updated are different from the relative positions of the first assembly and the second assembly before the positions are updated (203). By means of the method, apparatus, the terminal, the storage medium and a program product, a user can complete a dialing process by means of holding a terminal with one hand to dial, without the need to change the holding posture, thereby facilitating the improvement of the dialing efficiency.

Description

拨号界面的显示方法、装置、终端、存储介质及程序产品Display method, device, terminal, storage medium and program product of dialing interface
本申请要求于2021年07月28日提交的申请号为202110857073.2、发明名称为“拨号界面的显示方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110857073.2 and the title of the invention "Display method, device, terminal and storage medium of dial interface" submitted on July 28, 2021, the entire contents of which are incorporated herein by reference. Applying.
技术领域technical field
本申请实施例涉及人机交互技术领域,特别涉及一种拨号界面的显示方法、装置、终端、存储介质及程序产品。The embodiments of the present application relate to the field of human-computer interaction technology, and in particular to a display method, device, terminal, storage medium, and program product of a dial interface.
背景技术Background technique
拨号界面是终端中通话应用程序的界面,主要用于拨打电话,该界面中通常包含拨号盘(数字键显示区域)、拨号控件以及、号码显示区域,用户通过触发电话号码对应的数字键,并在输入有效号码后触发拨号控件拨打电话。The dial interface is the interface of the call application program in the terminal, which is mainly used to make a call. The interface usually includes a dial pad (number key display area), dial control, and number display area. The user triggers the number key corresponding to the phone number, and Trigger the dial control to make a call after entering a valid number.
相关技术中,对于屏幕尺寸较大的终端设备(例如折叠屏手机、平板电脑等),在拨号界面的设计上通常会横向或纵向增大各个数字键以及拨号键的间隔,并居中显示,以使拨号界面中控件的布局能够适配屏幕尺寸。In the related art, for terminal devices with larger screen sizes (such as folding screen mobile phones, tablet computers, etc.), in the design of the dial interface, the interval between each number key and dial key is usually increased horizontally or vertically, and displayed in the center, so as to Make the layout of the controls in the dialer interface fit the screen size.
发明内容Contents of the invention
本申请实施例提供了一种拨号界面的显示方法、装置、终端、存储介质及程序产品。所述技术方案如下:Embodiments of the present application provide a dialing interface display method, device, terminal, storage medium, and program product. Described technical scheme is as follows:
一方面,本申请实施例提供了一种拨号界面的显示方法,所述方法包括:On the one hand, an embodiment of the present application provides a method for displaying a dial interface, the method comprising:
显示拨号界面,所述拨号界面中包含第一组件以及第二组件,所述第一组件中包含用于输入被叫方号码的字符输入控件,所述第二组件中包含用于呼叫所述被叫方号码的呼叫控件;Displaying a dialing interface, the dialing interface includes a first component and a second component, the first component includes a character input control for inputting the number of the called party, and the second component includes a character input control for calling the called party call controls for the calling party number;
基于对所述字符输入控件的触发操作,获取所述被叫方号码;Acquiring the called party number based on a trigger operation on the character input control;
响应于输入的所述被叫方号码为有效号码,更新所述第一组件以及所述第二组件的显示位置,其中,位置更新后所述第一组件与所述第二组件的相对位置不同于位置更新前所述第一组件与所述第二组件的相对位置。In response to the input of the called party number as a valid number, update the display positions of the first component and the second component, where the relative positions of the first component and the second component are different after the position is updated The relative position of the first component and the second component before position update.
另一方面,本申请实施例提供了一种拨号界面的显示装置,所述装置包括:On the other hand, an embodiment of the present application provides a display device for a dial interface, and the device includes:
显示模块,用于显示拨号界面,所述拨号界面中包含第一组件以及第二组件,所述第一组件中包含用于输入被叫方号码的字符输入控件,所述第二组件中包含用于呼叫所述被叫方号码的呼叫控件;The display module is used to display a dialing interface, the dialing interface includes a first component and a second component, the first component includes a character input control for inputting the number of the called party, and the second component includes a a call control for calling said called party number;
获取模块,用于基于对所述字符输入控件的触发操作,获取所述被叫方号码;An acquisition module, configured to acquire the called party number based on a trigger operation on the character input control;
更新模块,用于响应于输入的所述被叫方号码为有效号码,更新所述第一组件以及所述第二组件的显示位置,其中,位置更新后所述第一组件与所述第二组件的相对位置不同于位置更新前所述第一组件与所述第二组件的相对位置。An updating module, configured to update the display positions of the first component and the second component in response to the input called party number being a valid number, wherein, after the positions are updated, the first component and the second component The relative positions of the components are different from the relative positions of the first component and the second component before the position update.
另一方面,本申请实施例提供了一种终端,所述终端包括处理器和存储器;所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上述方面所述的拨号界面的显示方法。On the other hand, an embodiment of the present application provides a terminal, the terminal includes a processor and a memory; at least one instruction, at least one program, a code set or an instruction set are stored in the memory, and the at least one instruction, the The at least one section of program, the code set or instruction set is loaded and executed by the processor to implement the method for displaying the dial interface as described in the above aspect.
另一方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机程序,所述计算机程序由处理器加载并执行以实现如上述方面所述的拨号界面的显示方法。On the other hand, an embodiment of the present application provides a computer-readable storage medium, where at least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the above aspects. The display method of the dial interface.
根据本申请的一个方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述方面的各种可选实现方式中提供的拨号界面的显示方法。According to an aspect of the present application there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the dialing interface display method provided in various optional implementation manners of the above aspects.
附图说明Description of drawings
图1是相关技术中终端拨号界面的示意图;FIG. 1 is a schematic diagram of a terminal dial-up interface in the related art;
图2示出了本申请一个示例性实施例提供的拨号界面的显示方法的流程图;FIG. 2 shows a flowchart of a method for displaying a dial interface provided by an exemplary embodiment of the present application;
图3是本申请一个示例性实施例示出的拨号界面的示意图;Fig. 3 is a schematic diagram of a dial interface shown in an exemplary embodiment of the present application;
图4是本申请一个示例性实施例示出的更新第一组件与第二组件显示位置的示意图;Fig. 4 is a schematic diagram of updating the display positions of the first component and the second component shown in an exemplary embodiment of the present application;
图5示出了本申请另一个示例性实施例提供的拨号界面的显示方法的流程图;FIG. 5 shows a flow chart of a method for displaying a dial interface provided in another exemplary embodiment of the present application;
图6是本申请另一个示例性实施例示出的更新第一组件与第二组件显示位置的示意图;Fig. 6 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application;
图7是本申请另一个示例性实施例示出的更新第一组件与第二组件显示位置的示意图;Fig. 7 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application;
图8示出了本申请另一个示例性实施例提供的拨号界面的显示方法的流程图;FIG. 8 shows a flowchart of a method for displaying a dial interface provided in another exemplary embodiment of the present application;
图9是本申请另一个示例性实施例示出的更新第一组件与第二组件显示位置的示意图;Fig. 9 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application;
图10是本申请另一个示例性实施例示出的更新第一组件与第二组件显示位置的示意图;Fig. 10 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application;
图11示出了本申请另一个示例性实施例提供的拨号界面的显示方法的流程图;FIG. 11 shows a flow chart of a method for displaying a dial interface provided in another exemplary embodiment of the present application;
图12是本申请另一个示例性实施例示出的更新第一组件与第二组件显示位置的示意图;Fig. 12 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application;
图13是本申请另一个示例性实施例示出的更新第一组件与第二组件显示位置的示意图;Fig. 13 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application;
图14示出了本申请另一个示例性实施例提供的拨号界面的显示方法的流程图;FIG. 14 shows a flowchart of a method for displaying a dial interface provided in another exemplary embodiment of the present application;
图15是本申请另一个示例性实施例示出的更新第一组件与第二组件显示位置的示意图;Fig. 15 is a schematic diagram of updating the display positions of the first component and the second component according to another exemplary embodiment of the present application;
图16是本申请一个示例性实施例示出的布局方式恢复过程的示意图;Fig. 16 is a schematic diagram of a layout recovery process shown in an exemplary embodiment of the present application;
图17示出了本申请一个示例性实施例提供的拨号界面的显示装置的结构框图;FIG. 17 shows a structural block diagram of a display device for a dial interface provided by an exemplary embodiment of the present application;
图18示出了本申请一个示例性实施例提供的终端的结构框图。Fig. 18 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
相关技术中,平板电脑、具有折叠屏的智能手机等大屏幕终端,在全屏显示拨号界面时,通常会拉伸拨号盘中各个控件(包括字符输入控件以及呼叫控件)之间的距离,使界面能够与屏幕尺寸匹配,如图1所示,拨号界面101中显示有拨号盘102,该拨号盘102中包含字符输入控件、呼叫控件、字符删除控件以及拨号盘隐藏控件等。由于拨号盘横屏下半屏幕,横向跨度较大,用户需双手握持或改变握持状态才能够触碰到所有控件,因此拨号操作的便捷性较低。In related technologies, large-screen terminals such as tablet computers and smart phones with folding screens usually stretch the distance between the various controls (including character input controls and call controls) in the dial pad when the dial interface is displayed in full screen, making the interface It can match the size of the screen. As shown in FIG. 1 , a dial pad 102 is displayed in the dial interface 101 , and the dial pad 102 includes a character input control, a call control, a character deletion control, and a dial hide control. Since the lower half of the dial is horizontally screened, and the horizontal span is relatively large, the user needs to hold it with both hands or change the holding state to touch all the controls, so the convenience of the dialing operation is low.
为了解决上述技术问题,本申请提供了一种拨号界面的显示方法,该方法应用于具有拨号功能的终端,该终端可以是智能手机、平板电脑、电子书阅读器、个人便携式计算机、台式计算机等。本申请实施例提供的方法中,用于输入被叫方号码的第一组件与用于呼叫被叫方号码的第二组件相互独立,且第一组件与第二组件的相对位置能够在用户输入有效号码后改变,从而使用户单手握持终端进行拨号也无需改变握持姿势,操作方便快捷。In order to solve the above-mentioned technical problems, the application provides a method for displaying a dial-up interface, which is applied to a terminal with a dial-up function, and the terminal can be a smart phone, a tablet computer, an e-book reader, a personal portable computer, a desktop computer, etc. . In the method provided by the embodiment of the present application, the first component for inputting the called party number and the second component for calling the called party number are independent of each other, and the relative positions of the first component and the second component can be inputted by the user. The valid number will be changed later, so that the user does not need to change the holding posture when holding the terminal with one hand to dial, and the operation is convenient and fast.
图2示出了本申请一个示例性实施例提供的拨号界面的显示方法的流程图。本实施例以该方法用于具有拨号功能的终端为例进行说明,该方法包括如下步骤:Fig. 2 shows a flow chart of a method for displaying a dial interface provided by an exemplary embodiment of the present application. In this embodiment, the method is used as an example for a terminal with a dial-up function. The method includes the following steps:
步骤201,显示拨号界面,拨号界面中包含第一组件以及第二组件,第一组件中包含用于输入被叫方号码的字符输入控件,第二组件中包含用于呼叫被叫方号码的呼叫控件。 Step 201, display the dialing interface, the dialing interface includes a first component and a second component, the first component includes a character input control for inputting the called party number, and the second component includes a call button for calling the called party number controls.
拨号界面是指拨号功能对应的用户界面,该界面中包含字符输入控件(例如数字0至9的输入控件以及“*”键和“#”键)、呼叫控件、字符删除控件等,且该界面中显示有用户已输入的字符。在一种可能的实施方式中,拨号界面中包含第一组件以及第二组件,其中组件是指由至少一个用户界面(User Interface,UI)控件组成的控件组合,第一组件中包含用于 输入被叫方号码的字符输入控件,第二组件中包含用于呼叫被叫方号码的呼叫控件,第一组件与第二组件是相互独立的两个组件。The dial interface refers to the user interface corresponding to the dial function, which includes character input controls (such as input controls for numbers 0 to 9, "*" key and "#" key), call control, character deletion control, etc., and the interface The characters entered by the user are displayed in . In a possible implementation manner, the dialing interface includes a first component and a second component, wherein a component refers to a control combination composed of at least one user interface (User Interface, UI) control, and the first component includes a The character input control of the called party number. The second component includes a call control for calling the called party number. The first component and the second component are two independent components.
当接收到用户对拨号功能的启用操作时,终端显示拨号界面。When receiving the user's operation of enabling the dialing function, the terminal displays the dialing interface.
示意性的,图3示出了一种拨号界面的示意图。拨号界面301中,上方为通话记录显示区域,下方为拨号区域,该拨号区域中显示有第一组件302和第二组件303,第一组件302中包含12个字符输入控件,分别用于触发输入相应的字符,第二组件303中包含呼叫控件304,还包含拨号盘收起控件以及字符删除控件等。Schematically, FIG. 3 shows a schematic diagram of a dialing interface. In the dialing interface 301, the upper part is the call record display area, and the lower part is the dialing area. The first component 302 and the second component 303 are displayed in the dialing area. The first component 302 contains 12 character input controls, which are respectively used to trigger input Corresponding characters, the second component 303 includes a call control 304, and also includes a dial pad retract control, a character deletion control, and the like.
步骤202,基于对字符输入控件的触发操作,获取被叫方号码。 Step 202, based on the trigger operation on the character input control, the called party number is acquired.
终端显示拨号界面后,用户通过触发相应的字符输入控件使终端获取被叫方号码。例如,用户依次触发“1”、“3”、“8”对应的字符输入控件,终端确定被叫方号码为138。After the terminal displays the dialing interface, the user triggers the corresponding character input control to enable the terminal to obtain the called party number. For example, the user triggers the character input controls corresponding to "1", "3", and "8" in sequence, and the terminal determines that the called party number is 138.
步骤203,响应于输入的被叫方号码为有效号码,更新第一组件以及第二组件的显示位置,其中,位置更新后第一组件与第二组件的相对位置不同于位置更新前第一组件与第二组件的相对位置。 Step 203, in response to the input called party number being a valid number, update the display positions of the first component and the second component, where the relative position of the first component and the second component after the position update is different from that of the first component before the position update The relative position to the second component.
用户输入被叫方号码后,若需要拨打该被叫方号码,还需触发第二组件中的呼叫控件,当终端屏幕尺寸较大时,控件之间距离较远,用户单手不方便操作。因此终端在识别出有效号码后,自动更新第一组件以及第二组件的显示位置。位置更新后第一组件与第二组件的相对位置不同于位置更新前第一组件与第二组件的相对位置,从而使得用户单手握持终端且无需改变握持姿态即可完成拨号操作。例如,用户左手握持终端,且初始时第一组件位于第二组件的左侧,当确定被叫方号码为有效号码,即确认用户完成号码输入操作后,终端将第二组件显示在第一组件的左侧,用户仍然能够通过左手触发呼叫控件。After the user enters the called party number, if the called party number needs to be dialed, the call control in the second component needs to be triggered. When the terminal screen size is large, the distance between the controls is relatively long, and it is inconvenient for the user to operate with one hand. Therefore, after the terminal recognizes a valid number, it automatically updates the display positions of the first component and the second component. The relative position of the first component and the second component after the position update is different from the relative position of the first component and the second component before the position update, so that the user can hold the terminal with one hand and complete the dialing operation without changing the holding posture. For example, the user holds the terminal with his left hand, and initially the first component is on the left side of the second component. When it is determined that the called party number is a valid number, that is, after confirming that the user has completed the number input operation, the terminal displays the second component on the first On the left side of the component, users will still be able to trigger the call controls with their left hand.
示意性的,如图4所示,拨号界面401中包含第一组件402和第二组件403,初始时第一组件402位于第二组件403的左侧,当终端基于号码输入操作获取到有效号码后,将第二组件403显示在第一组件402的左侧。Schematically, as shown in FIG. 4, the dialing interface 401 includes a first component 402 and a second component 403. Initially, the first component 402 is located on the left side of the second component 403. When the terminal obtains a valid number based on the number input operation After that, the second component 403 is displayed on the left side of the first component 402 .
在另一种可能的实施方式中,除了通过识别被叫方号码是否属于有效号码确定更新时机外,终端还可以通过检测用户操作的停顿时长判断是否更新组件显示位置。例如,若检测到目标时长内未接收到用户操作,则终端确定号码输入完成,更新第一组件以及第二组件的显示位置。In another possible implementation manner, in addition to determining the update timing by identifying whether the called party number is a valid number, the terminal may also determine whether to update the display position of the component by detecting the pause duration of the user operation. For example, if it is detected that no user operation is received within the target time period, the terminal determines that the number input is complete, and updates the display positions of the first component and the second component.
综上所述,本申请实施例中,用于输入被叫方号码的第一组件与用于呼叫被叫方号码的第二组件相互独立,在用户输入被叫方号码的过程中两个组件位置不变,当检测到用户输入有效号码后,自动更新第一组件与第二组件的相对位置,使得在终端屏幕较大、第一组件与第二组件尺寸较大且控件之间距离较远的情况下,用户单手握持终端进行拨号也无需改变握持姿势即可完成拨号过程,操作方便快捷,提高了拨号效率,能够降低单手操作时的拨号错误率。To sum up, in the embodiment of the present application, the first component for inputting the called party number and the second component for calling the called party number are independent of each other. When the user inputs the called party number, the two components The position remains unchanged. When it is detected that the user enters a valid number, the relative position of the first component and the second component is automatically updated, so that the terminal screen is larger, the size of the first component and the second component are larger, and the distance between the controls is longer. In this case, the user holds the terminal with one hand and dials without changing the holding posture to complete the dialing process. The operation is convenient and fast, which improves the dialing efficiency and reduces the dialing error rate during one-handed operation.
可选的,更新第一组件以及第二组件的显示位置,包括:Optionally, update the display positions of the first component and the second component, including:
交换第一组件以及第二组件的显示位置。Swaps the display positions of the first component and the second component.
可选的,显示拨号界面,包括:Optionally, display the dial interface, including:
在拨号界面中显示左右排布的第一组件和第二组件;Display the first component and the second component arranged left and right in the dial interface;
交换第一组件以及第二组件的显示位置,包括:Swap the display position of the first component and the second component, including:
交换第一组件以及第二组件的左右显示位置。Swap the left and right display positions of the first component and the second component.
可选的,在拨号界面中显示左右排布的第一组件和第二组件,包括:Optionally, the first component and the second component arranged left and right are displayed on the dial interface, including:
响应于处于左手握持状态,将拨号界面中的第一组件显示在第二组件的左侧;In response to being held by the left hand, displaying the first component in the dial interface on the left side of the second component;
响应于处于右手握持状态,将拨号界面中的第一组件显示在第二组件的右侧。In response to being in the right hand holding state, the first component in the dial interface is displayed on the right side of the second component.
可选的,响应于处于左手握持状态,将拨号界面中的第一组件显示在第二组件的左侧,包括:Optionally, in response to being held by the left hand, the first component in the dial interface is displayed on the left side of the second component, including:
响应于处于左手握持状态,将第一组件和第二组件显示在拨号界面的第一区域,第一区域与拨号界面左边缘的距离小于与拨号界面右边缘的距离;In response to being held by the left hand, the first component and the second component are displayed in the first area of the dialing interface, and the distance between the first area and the left edge of the dialing interface is smaller than the distance from the right edge of the dialing interface;
将第一区域中的第一组件显示在第二组件的左侧;Display the first component in the first area to the left of the second component;
响应于处于右手握持状态,将拨号界面中的第一组件显示在第二组件的右侧,包括:In response to being held in the right hand, displaying the first component in the dial interface on the right side of the second component, including:
响应于处于右手握持状态,将第一组件和第二组件显示在拨号界面的第二区域,第二区域与拨号界面右边缘的距离小于与拨号界面左边缘的距离;In response to being held by the right hand, the first component and the second component are displayed in a second area of the dialing interface, and the distance between the second area and the right edge of the dialing interface is smaller than the distance from the left edge of the dialing interface;
将第二区域中的第一组件显示在第二组件的右侧。Displays the first component in the second area to the right of the second component.
可选的,显示拨号界面,包括:Optionally, display the dial interface, including:
将拨号界面中的第一组件显示在第二组件的下方;Display the first component in the dial interface below the second component;
交换第一组件以及第二组件的显示位置,包括:Swap the display position of the first component and the second component, including:
交换第一组件以及第二组件的上下显示位置。Swap the top and bottom display positions of the first component and the second component.
可选的,将拨号界面中的第一组件显示在第二组件的下方,包括:Optionally, the first component in the dialing interface is displayed below the second component, including:
响应于处于左手握持状态,将第一组件和第二组件显示在拨号界面的第一区域,第一区域与拨号界面左边缘的距离小于与拨号界面右边缘的距离;将第一区域中的第一组件显示在第二组件的下方;In response to being held by the left hand, the first component and the second component are displayed in the first area of the dial interface, and the distance between the first area and the left edge of the dial interface is smaller than the distance from the right edge of the dial interface; The first component is displayed below the second component;
响应于处于右手握持状态,将第一组件和第二组件显示在拨号界面的第二区域,第二区域与拨号界面右边缘的距离小于与拨号界面左边缘的距离;将第一区域中的第一组件显示在第二组件的下方。In response to being held by the right hand, the first component and the second component are displayed in the second area of the dial interface, and the distance between the second area and the right edge of the dial interface is smaller than the distance from the left edge of the dial interface; The first component is displayed below the second component.
可选的,更新第一组件以及第二组件的显示位置,包括:Optionally, update the display positions of the first component and the second component, including:
将第一组件与第二组件由第一布局形式更新为第二布局形式。The first component and the second component are updated from the first layout form to the second layout form.
可选的,将第一组件与第二组件由第一布局形式更新为第二布局形式,包括:Optionally, updating the first component and the second component from the first layout form to the second layout form includes:
将第一组件与第二组件由上下布局形式更新为左右布局形式;Update the first component and the second component from the top-bottom layout to the left-right layout;
其中,上下布局形式下,第一组件位于第二组件的下方;Among them, in the top-bottom layout form, the first component is located below the second component;
左右布局形式下,当处于左手握持状态时,第一组件位于第二组件的右侧;当处于右手握持状态时,第一组件位于第二组件的左侧。In the left-right layout, when the device is held by the left hand, the first component is located on the right side of the second component; when it is held by the right hand, the first component is located on the left side of the second component.
可选的,响应于输入的被叫方号码为有效号码,更新第一组件以及第二组件的显示位置,包括:Optionally, updating the display positions of the first component and the second component in response to the input called party number being a valid number, including:
响应于输入的被叫方号码为有效号码,且处于单手握持状态,更新第一组件以及第二组件的显示位置;updating the display positions of the first component and the second component in response to the input called party number being a valid number and being held by one hand;
方法还包括:Methods also include:
响应于输入的被叫方号码为有效号码,且处于双手握持状态,保持第一组件以及第二组件的显示位置。In response to the input called party number being a valid number and held in both hands, the display positions of the first component and the second component are maintained.
可选的,第二组件中还包含字符删除控件,字符删除控件用于删除输入的字符;Optionally, the second component also includes a character deletion control, which is used to delete the input characters;
更新第一组件以及第二组件的显示位置之后,方法还包括:After updating the display positions of the first component and the second component, the method further includes:
响应于对字符删除控件的触发操作,恢复第一组件以及第二组件的显示位置。In response to the trigger operation on the character deletion control, the display positions of the first component and the second component are restored.
可选的,在响应于输入的被叫方号码为有效号码,更新第一组件以及第二组件的显示位置之前,方法还包括:Optionally, before updating the display positions of the first component and the second component in response to the input called party number being a valid number, the method further includes:
基于输入的被叫方号码的首位数字确定被叫方号码的号码类型,号码类型包括移动电话号码和固定电话号码;Determine the number type of the called party number based on the first digit of the input called party number, and the number type includes a mobile phone number and a fixed phone number;
基于号码类型确定有效号码位数;Determine the valid number digits based on the number type;
响应于输入的被叫方号码的数字位数达到有效号码位数,确定被叫方号码为有效号码。In response to the number of digits of the entered called party number reaching the number of valid numbers, the called party number is determined to be a valid number.
可选的,拨号界面中还包含位置恢复控件;Optionally, the dialing interface also includes a location recovery control;
显示拨号界面,包括:Display the dial interface, including:
按照第一组件与第二组件的默认位置显示拨号界面;Display the dial interface according to the default positions of the first component and the second component;
在响应于输入的被叫方号码为有效号码,更新第一组件以及第二组件的显示位置之后, 方法还包括:After updating the display positions of the first component and the second component in response to the input called party number being a valid number, the method further includes:
响应于对位置恢复控件的触发操作,将第一组件以及第二组件的显示位置恢复至默认位置。In response to a trigger operation on the position restoration control, the display positions of the first component and the second component are restored to default positions.
在一种可能的实施方式中,上述步骤203包括如下步骤:交换第一组件以及第二组件的显示位置。即终端通过交换两种组件的显示位置,使得位置更新后的第二组件显示在位置更新前第一组件所在的位置处,因而用户无需改变握持姿势即可完成拨号操作。In a possible implementation manner, the above step 203 includes the following step: exchanging the display positions of the first component and the second component. That is, by exchanging the display positions of the two components, the terminal makes the second component after the position update be displayed at the position of the first component before the position update, so that the user can complete the dialing operation without changing the holding posture.
用户单手握持时,用于进行交互操作的手指偏向终端的一侧边缘。为了减小控件之间的纵向距离,便于用户单手操作(例如通过单手拇指触发控件),拨号界面中第一组件与第二组件的排布方式为左右排布,使用户需要触发的组件显示在靠近握持手的一侧。图5示出了本申请另一个示例性实施例提供的拨号界面的显示方法的流程图。本实施例以该方法用于具有拨号功能的终端为例进行说明,该方法包括如下步骤:When the user holds the terminal with one hand, the fingers used for interactive operations are biased towards one edge of the terminal. In order to reduce the vertical distance between the controls and make it easier for users to operate with one hand (such as triggering the controls with one-handed thumb), the first component and the second component in the dial interface are arranged in a left-right arrangement, so that the user needs to trigger the component Displayed on the side closer to the holding hand. Fig. 5 shows a flowchart of a method for displaying a dial interface provided by another exemplary embodiment of the present application. In this embodiment, the method is used as an example for a terminal with a dial-up function. The method includes the following steps:
步骤501,在拨号界面中显示左右排布的第一组件和第二组件。 Step 501, displaying a first component and a second component arranged left and right in a dialing interface.
在一种可能的实施方式中,为了进一步使拨号界面的布局方式能够满足用户单手操作的需求,终端还基于用户的握持姿态调整第一组件以及第二组件整体的显示位置。例如,终端接收到对拨号功能的启用操作后,获取传感器数据,并基于传感器数据确定当前握持姿态,进而基于握持姿态与布局方式之间的对应关系,确定当前握持姿态对应的目标布局方式。终端按照目标布局方式显示拨号界面中的第一组件和第二组件,步骤501还包括如下步骤:In a possible implementation manner, in order to further enable the layout of the dial interface to meet the user's requirement for one-handed operation, the terminal also adjusts the overall display positions of the first component and the second component based on the user's holding posture. For example, after receiving the enabling operation of the dialing function, the terminal acquires sensor data, determines the current holding posture based on the sensor data, and then determines the target layout corresponding to the current holding posture based on the correspondence between the holding posture and the layout mode Way. The terminal displays the first component and the second component in the dialing interface according to the target layout mode, and step 501 also includes the following steps:
步骤501a,响应于处于左手握持状态,将拨号界面中的第一组件显示在第二组件的左侧。Step 501a, in response to being held by the left hand, display the first component in the dial interface on the left side of the second component.
当确定用户左手握持终端时,为了便于用户左手完成拨号操作,终端首先将拨号界面中的第一组件显示在第二组件的左侧,以便用户能够左手完成字符输入操作。When it is determined that the user is holding the terminal with the left hand, in order to facilitate the user to complete the dialing operation with the left hand, the terminal first displays the first component in the dialing interface on the left side of the second component, so that the user can complete the character input operation with the left hand.
在一种可能的实施方式中,具体的,对于具有折叠屏的智能手机、平板电脑等屏幕尺寸较大的终端,当用户左手握持时,终端将第一组件和第二组件显示在屏幕靠左的位置。步骤501a还包括如下步骤一至步骤二:In a possible implementation manner, specifically, for a terminal with a large screen size such as a smart phone and a tablet computer with a foldable screen, when the user holds it with his left hand, the terminal displays the first component and the second component on the side of the screen. left position. Step 501a also includes the following steps 1 to 2:
步骤一,响应于处于左手握持状态,将第一组件和第二组件显示在拨号界面的第一区域,第一区域与拨号界面左边缘的距离小于与拨号界面右边缘的距离。Step 1: In response to being held by the left hand, the first component and the second component are displayed in the first area of the dialing interface, and the distance between the first area and the left edge of the dialing interface is smaller than the distance from the right edge of the dialing interface.
步骤二,将第一区域中的第一组件显示在第二组件的左侧。 Step 2, display the first component in the first area on the left side of the second component.
在一种可能的实施方式中,当传感器数据指示终端当前处于左手握持状态时,终端将第一组件和第二组件以左右排布的方式显示在第一区域内。并且,第一组件位于第二组件的左侧。该第一区域与拨号界面左边缘的距离小于与拨号界面右边缘的距离,从而使得用户能够左手触发第一组件内的控件。In a possible implementation manner, when the sensor data indicates that the terminal is currently held by the left hand, the terminal displays the first component and the second component in the first area in a left-right arrangement. And, the first component is located on the left side of the second component. The distance between the first area and the left edge of the dial interface is smaller than the distance from the right edge of the dial interface, so that the user can activate the controls in the first component with his left hand.
示意性的,如图6所示,当处于左手握持状态时,终端在拨号界面601中的第一区域604内显示第一组件602以及第二组件603,且第一组件602位于第二组件603的左侧。Schematically, as shown in FIG. 6, when the terminal is held by the left hand, the terminal displays the first component 602 and the second component 603 in the first area 604 of the dial interface 601, and the first component 602 is located in the second component 603 on the left.
步骤501b,响应于处于右手握持状态,将拨号界面中的第一组件显示在第二组件的右侧。Step 501b, in response to being held by the right hand, display the first component in the dialing interface on the right side of the second component.
相应的,当确定用户右手握持终端时,为了便于用户右手完成拨号操作,终端首先将拨号界面中的第一组件显示在第二组件的右侧,以便用户能够右手完成字符输入操作。Correspondingly, when it is determined that the user is holding the terminal with the right hand, in order to facilitate the user to complete the dialing operation with the right hand, the terminal first displays the first component in the dialing interface on the right side of the second component, so that the user can complete the character input operation with the right hand.
在一种可能的实施方式中,具体的,对于具有折叠屏的智能手机、平板电脑等屏幕尺寸较大的终端,当用户右手握持时,终端将第一组件和第二组件显示在屏幕靠右的位置。步骤501b还包括如下步骤三至步骤四:In a possible implementation manner, specifically, for a terminal with a large screen size such as a smart phone and a tablet computer with a foldable screen, when the user holds it with the right hand, the terminal displays the first component and the second component on the side of the screen. right position. Step 501b also includes the following steps 3 to 4:
步骤三,响应于处于右手握持状态,将第一组件和第二组件显示在拨号界面的第二区域,第二区域与拨号界面右边缘的距离小于与拨号界面左边缘的距离。Step 3: In response to being held by the right hand, the first component and the second component are displayed in a second area of the dialing interface, and the distance between the second area and the right edge of the dialing interface is smaller than the distance from the left edge of the dialing interface.
步骤四,将第二区域中的第一组件显示在第二组件的右侧。 Step 4, display the first component in the second area on the right side of the second component.
在一种可能的实施方式中,当传感器数据指示当前处于右手握持状态时,将第一组件和第二组件以左右排布的方式显示在第一区域内。且第一组件位于第二组件的右侧。该第一区域与拨号界面右边缘的距离小于与拨号界面左边缘的距离,从而使得用户能够右手触发第一 组件内的控件。In a possible implementation manner, when the sensor data indicates that the right hand is currently being held, the first component and the second component are displayed in the first area in a left-right arrangement. And the first component is located on the right side of the second component. The distance between the first area and the right edge of the dialing interface is smaller than the distance from the left edge of the dialing interface, so that the user can trigger the controls in the first component with his right hand.
示意性的,如图7所示,当处于右手握持状态时,终端在拨号界面701中的第二区域704内显示第一组件702以及第二组件703,且第一组件702位于第二组件703的右侧。Schematically, as shown in FIG. 7, when the terminal is held in the right hand, the terminal displays the first component 702 and the second component 703 in the second area 704 of the dial interface 701, and the first component 702 is located in the second component 703 on the right.
步骤502,基于对字符输入控件的触发操作,获取被叫方号码。 Step 502, based on the trigger operation on the character input control, the called party number is acquired.
步骤502的具体实施方式可以参考上述步骤202,本申请实施例在此不再赘述。For a specific implementation manner of step 502, reference may be made to the foregoing step 202, and details are not described here in this embodiment of the present application.
步骤503,响应于输入的被叫方号码为有效号码,交换第一组件以及第二组件的左右显示位置。 Step 503, in response to the input called party number being a valid number, swap the left and right display positions of the first component and the second component.
当输入的被叫方号码为有效号码,即用户的号码输入操作完成后,终端交换第一组件以及第二组件的左右显示位置,使用户能够继续通过当前握持姿态触发呼叫控件。响应于处于左手握持姿态,终端将第一组件显示在第二组件右侧且均位于第一区域内。如图6所示,终端获取到有效号码后,交换第一组件602与第二组件603的显示位置。响应于处于右手握持姿态,终端将第一组件显示在第二组件左侧且均位于第二区域内。如图7所示,终端获取到有效号码后,交换第一组件702与第二组件703的显示位置。When the input called party number is a valid number, that is, after the user's number input operation is completed, the terminal switches the left and right display positions of the first component and the second component, so that the user can continue to trigger the call control through the current holding posture. In response to being held by the left hand, the terminal displays the first component on the right side of the second component and both are located in the first area. As shown in FIG. 6 , after obtaining a valid number, the terminal exchanges the display positions of the first component 602 and the second component 603 . In response to being in the right-hand holding posture, the terminal displays the first component on the left side of the second component and both are located in the second area. As shown in FIG. 7 , after obtaining the valid number, the terminal exchanges the display positions of the first component 702 and the second component 703 .
本申请实施例中,通过左右排布显示第一组件与第二组件,并且根据用户的握持姿态使两个组件靠左或靠右显示,便于用户单手操作,并且在被叫方号码为有效号码时,左右交换第一组件与第二组件的显示位置,使用户无需改变握持姿态即可单手完成拨号操作,提高了用户的拨号效率,简化用户操作。In the embodiment of this application, the first component and the second component are displayed by arranging left and right, and the two components are displayed on the left or right according to the user's holding posture, which is convenient for the user to operate with one hand, and the called party number is When the number is valid, the display positions of the first component and the second component are switched left and right, so that the user can complete the dialing operation with one hand without changing the holding posture, which improves the user's dialing efficiency and simplifies the user's operation.
在另一种可能的实施方式中,拨号界面中第一组件与第二组件的排布方式为上下排布。图8示出了本申请另一个示例性实施例提供的拨号界面的显示方法的流程图。本实施例以该方法用于具有拨号功能的终端为例进行说明,该方法包括如下步骤:In another possible implementation manner, the first component and the second component in the dial interface are arranged in a vertical arrangement. Fig. 8 shows a flow chart of a method for displaying a dial interface provided by another exemplary embodiment of the present application. In this embodiment, the method is used as an example for a terminal with a dial-up function. The method includes the following steps:
步骤801,将拨号界面中的第一组件显示在第二组件的下方。 Step 801, displaying the first component in the dialing interface below the second component.
由于用户握持终端时,其手通常握持在终端的下部,对于显示在屏幕下方的控件较为容易触发,因此终端首先将拨号界面中的第一组件显示在第二组件的下方,以便用户触发第一组件中的字符输入控件进行号码输入操作。When the user holds the terminal, his hand is usually held at the lower part of the terminal, and it is easier to trigger the controls displayed at the bottom of the screen, so the terminal first displays the first component in the dial interface below the second component, so that the user can trigger The character input control in the first component performs number input operations.
在一种可能的实施方式中,为了进一步使拨号界面的布局方式能够满足用户单手操作的需求,终端还基于用户的握持姿态调整第一组件以及第二组件整体的显示位置。例如,终端接收到对拨号功能的启用操作后,获取传感器数据,并基于传感器数据确定当前握持姿态,进而基于握持姿态与布局方式之间的对应关系,确定当前握持姿态对应的目标布局方式,并按照目标布局方式显示拨号界面中的第一组件和第二组件。步骤801包括如下步骤:In a possible implementation manner, in order to further enable the layout of the dial interface to meet the user's requirement for one-handed operation, the terminal also adjusts the overall display positions of the first component and the second component based on the user's holding posture. For example, after receiving the enabling operation of the dialing function, the terminal acquires sensor data, determines the current holding posture based on the sensor data, and then determines the target layout corresponding to the current holding posture based on the correspondence between the holding posture and the layout mode mode, and display the first component and the second component in the dialing interface according to the target layout mode. Step 801 includes the following steps:
步骤801a,响应于处于左手握持状态,将第一组件和第二组件显示在拨号界面的第一区域,第一区域与拨号界面左边缘的距离小于与拨号界面右边缘的距离;将第一区域中的第一组件显示在第二组件的下方。Step 801a, in response to being held by the left hand, display the first component and the second component in the first area of the dial interface, the distance between the first area and the left edge of the dial interface is smaller than the distance from the right edge of the dial interface; the first The first component in the area is displayed below the second component.
在一种可能的实施方式中,具体的,对于具有折叠屏的智能手机、平板电脑等屏幕尺寸较大的终端,当用户左手握持时,终端将第一组件和第二组件显示在屏幕靠左的位置。当传感器数据指示当前处于左手握持状态时,将第一组件和第二组件以上下排布的方式显示在第一区域内。该第一区域与拨号界面左边缘的距离小于与拨号界面右边缘的距离,从而使得用户能够左手触发第一组件内的控件。In a possible implementation manner, specifically, for a terminal with a large screen size such as a smart phone and a tablet computer with a foldable screen, when the user holds it with his left hand, the terminal displays the first component and the second component on the side of the screen. left position. When the sensor data indicates that it is currently held by the left hand, the first component and the second component are displayed in the first area in a manner of being arranged up and down. The distance between the first area and the left edge of the dial interface is smaller than the distance from the right edge of the dial interface, so that the user can activate the controls in the first component with his left hand.
示意性的,如图9所示,当处于左手握持状态时,终端在拨号界面901中的第一区域904内显示第一组件902以及第二组件903,且第一组件902位于第二组件903的下方。Schematically, as shown in FIG. 9 , when the terminal is held by the left hand, the terminal displays the first component 902 and the second component 903 in the first area 904 of the dial interface 901, and the first component 902 is located in the second component 903 below.
步骤801b,响应于处于右手握持状态,将第一组件和第二组件显示在拨号界面的第二区域,第二区域与拨号界面右边缘的距离小于与拨号界面左边缘的距离;将第一区域中的第一组件显示在第二组件的下方。Step 801b, in response to being held by the right hand, display the first component and the second component in the second area of the dial interface, the distance between the second area and the right edge of the dial interface is smaller than the distance from the left edge of the dial interface; The first component in the area is displayed below the second component.
相应的,当确定用户右手握持终端时,为了便于用户右手完成拨号操作,在一种可能的实施方式中,具体的,终端将第一组件和第二组件显示在屏幕靠右的位置。当传感器数据指 示当前处于右手握持状态时,将第一组件和第二组件以上下排布的方式显示在第一区域内。该第一区域与拨号界面右边缘的距离小于与拨号界面左边缘的距离,从而使得用户能够右手触发第一组件内的控件。Correspondingly, when it is determined that the user is holding the terminal with the right hand, in order to facilitate the user to complete the dialing operation with the right hand, in a possible implementation manner, specifically, the terminal displays the first component and the second component on the right side of the screen. When the sensor data indicates that it is currently held by the right hand, the first component and the second component are displayed in the first area in a manner of being arranged up and down. The distance between the first area and the right edge of the dialing interface is smaller than the distance from the left edge of the dialing interface, so that the user can activate the controls in the first component with his right hand.
示意性的,如图10所示,当处于右手握持状态时,终端在拨号界面1001中的第二区域1004内显示第一组件1002以及第二组件1003,且第一组件1002位于第二组件1003的下方。Schematically, as shown in FIG. 10 , when the terminal is held by the right hand, the terminal displays the first component 1002 and the second component 1003 in the second area 1004 of the dial interface 1001, and the first component 1002 is located in the second component 1003 below.
步骤802,基于对字符输入控件的触发操作,获取被叫方号码。 Step 802, based on the trigger operation on the character input control, the called party number is obtained.
步骤802的具体实施方式可以参考上述步骤202,本申请实施例在此不再赘述。For a specific implementation manner of step 802, reference may be made to the foregoing step 202, and details are not described here in this embodiment of the present application.
步骤803,响应于输入的被叫方号码为有效号码,交换第一组件以及第二组件的上下显示位置。 Step 803, in response to the input called party number being a valid number, swap the upper and lower display positions of the first component and the second component.
当输入的被叫方号码为有效号码,即用户的号码输入操作完成后,终端交换第一组件以及第二组件的上下显示位置,使用户能够继续通过当前握持姿态触发呼叫控件。响应于处于左手握持姿态,终端将第二组件显示在第一组件下方且均位于第一区域内。如图9所示,终端获取到有效号码后,交换第一组件902与第二组件903的显示位置。响应于处于右手握持姿态,终端将第二组件显示在第一组件下方且均位于第二区域内。如图10所示,终端获取到有效号码后,交换第一组件1002与第二组件1003的显示位置。When the input called party number is a valid number, that is, after the user's number input operation is completed, the terminal switches the upper and lower display positions of the first component and the second component, so that the user can continue to trigger the call control through the current holding posture. In response to being held by the left hand, the terminal displays the second components below the first components and both are located in the first area. As shown in FIG. 9 , after obtaining a valid number, the terminal exchanges the display positions of the first component 902 and the second component 903 . In response to being in the right-hand holding posture, the terminal displays the second components below the first components and both are located in the second area. As shown in FIG. 10 , after obtaining a valid number, the terminal exchanges the display positions of the first component 1002 and the second component 1003 .
本申请实施例中,通过上下排布显示第一组件与第二组件,根据用户的握持姿态使两个组件靠左或靠右显示,便于用户单手操作,并且在已输入的被叫方号码为有效号码时,上下交换第一组件与第二组件的显示位置,使得用户当前需要触发的控件位于下方,用户无需改变握持姿态即可单手完成拨号操作,提高了用户的拨号效率,简化用户操作。In the embodiment of this application, the first component and the second component are displayed by arranging them up and down, and the two components are displayed on the left or right according to the user's holding posture, which is convenient for the user to operate with one hand. When the number is a valid number, the display positions of the first component and the second component are exchanged up and down, so that the control that the user needs to trigger is located at the bottom, and the user can complete the dialing operation with one hand without changing the holding posture, which improves the user's dialing efficiency. Simplify user operations.
在一种可能的实施方式中,当输入的被叫方号码为有效号码时,终端并非直接交换第一组件与第二组件的显示位置,而是通过改变第一组件与第二组件的布局形式,使得第二组件显示在用户易于单手触摸的位置。图11示出了本申请另一个示例性实施例提供的拨号界面的显示方法的流程图。本实施例以该方法用于具有拨号功能的终端为例进行说明,该方法包括如下步骤:In a possible implementation, when the input called party number is a valid number, the terminal does not directly exchange the display positions of the first component and the second component, but changes the layout of the first component and the second component , so that the second component is displayed where the user can easily touch it with one hand. Fig. 11 shows a flow chart of a method for displaying a dial interface provided by another exemplary embodiment of the present application. In this embodiment, the method is used as an example for a terminal with a dial-up function. The method includes the following steps:
步骤1101,显示拨号界面,拨号界面中包含第一组件以及第二组件,第一组件中包含用于输入被叫方号码的字符输入控件,第二组件中包含用于呼叫被叫方号码的呼叫控件。 Step 1101, display the dialing interface, the dialing interface includes a first component and a second component, the first component includes a character input control for inputting the called party number, and the second component includes a call button for calling the called party number controls.
步骤1102,基于对字符输入控件的触发操作,获取被叫方号码。 Step 1102, based on the trigger operation on the character input control, obtain the number of the called party.
步骤1101至步骤1102的具体实施方式可以参考上述步骤201至步骤202,本申请实施例在此不再赘述。For the specific implementation manners of steps 1101 to 1102, reference may be made to the foregoing steps 201 to 202, and details are not repeated in this embodiment of the present application.
步骤1103,响应于输入的被叫方号码为有效号码,将第一组件与第二组件由第一布局形式更新为第二布局形式。 Step 1103, updating the first component and the second component from the first layout form to the second layout form in response to the input called party number being a valid number.
在一种可能的实施方式中,当输入的被叫方号码为有效号码时,终端通过改变第一组件与第二组件的布局形式,使第二组件显示在布局更新前第一组件所在位置,第一组件与第二组件的初始布局形式为上下布局形式。步骤1103包括如下步骤:In a possible implementation manner, when the input called party number is a valid number, the terminal changes the layout form of the first component and the second component, so that the second component is displayed at the position of the first component before the layout update, The initial layout form of the first component and the second component is a top-down layout form. Step 1103 includes the following steps:
步骤1103a,将第一组件与第二组件由上下布局形式更新为左右布局形式。Step 1103a, updating the first component and the second component from the top-bottom layout to the left-right layout.
其中,上下布局形式下,第一组件位于第二组件的下方;左右布局形式下,当处于左手握持状态时,第一组件位于第二组件的右侧,当处于右手握持状态时,第一组件位于第二组件的左侧。Among them, in the form of up-down layout, the first component is located below the second component; in the form of left-right layout, when it is held by the left hand, the first component is located on the right side of the second component, and when it is held by the right hand, the second One component is located to the left of the second component.
在一种可能的实施方式中,第一组件与第二组件初始为上下布局形式,第一组件位于第二组件下方,便于用户触发字符输入控件。当确定输入的被叫方号码为有效号码时,终端将上下布局形式切换为左右布局形式,使拨号控件更加靠近握持手一侧。In a possible implementation manner, the first component and the second component are initially laid out up and down, and the first component is located below the second component, which is convenient for the user to trigger the character input control. When it is determined that the input called party number is a valid number, the terminal switches the top-bottom layout form to the left-right layout form, so that the dial control is closer to the holding hand side.
响应于处于左手握持状态,将第一组件和第二组件显示在拨号界面的第一区域,第一区域与拨号界面左边缘的距离小于与拨号界面右边缘的距离,且将第一区域中的第一组件显示在第二组件的左侧。如图12所示,当前处于左手握持状态,拨号界面1201中,初始时第一 组件1202位于第二组件1203下方,且均显示在第一区域1204内,当确定被叫方号码为有效号码时,终端将上下布局形式切换为左右布局形式,使得第二组件1203显示在第一组件1202左侧,且均位于第一区域1204内。In response to being held by the left hand, the first component and the second component are displayed in the first area of the dial interface, the distance between the first area and the left edge of the dial interface is smaller than the distance from the right edge of the dial interface, and the distance between the first area and the right edge of the dial interface is displayed. The first component is displayed to the left of the second component. As shown in Figure 12, currently in the state of being held by the left hand, in the dialing interface 1201, the first component 1202 is initially located below the second component 1203, and both are displayed in the first area 1204, when it is determined that the called party number is a valid number , the terminal switches the top-bottom layout to the left-right layout, so that the second component 1203 is displayed on the left side of the first component 1202 and both are located in the first area 1204 .
响应于处于右手握持状态,将第一组件和第二组件显示在拨号界面的第二区域,第二区域与拨号界面右边缘的距离小于与拨号界面左边缘的距离,且将第二区域中的第一组件显示在第二组件的右侧。如图13所示,当前处于右手握持状态,拨号界面1301中,初始时第一组件1302位于第二组件1303下方,且均显示在第二区域1304内,当确定输入的被叫方号码为有效号码时,终端将上下布局形式切换为左右布局形式,使得第二组件1303显示在第一组件1302右侧,且均位于第二区域1304内。In response to being held by the right hand, the first component and the second component are displayed in the second area of the dial interface, the distance between the second area and the right edge of the dial interface is smaller than the distance from the left edge of the dial interface, and the second area The first component of the is displayed to the right of the second component. As shown in FIG. 13 , the right hand is currently holding the dialing interface. In the dialing interface 1301, the first component 1302 is initially located below the second component 1303 and is displayed in the second area 1304. When it is determined that the called party number entered is When the number is valid, the terminal switches the top-bottom layout to the left-right layout, so that the second component 1303 is displayed on the right side of the first component 1302 and both are located in the second area 1304 .
在另一种可能的实施方式中,拨号界面初始状态下第一组件与第二组件为左右布局形式,终端还可以在获取到有效号码后,将左右布局形式切换为上下布局形式。例如,将第一组件与第二组件由左右布局形式更新为上下布局形式,其中,上下布局形式下,第一组件位于第二组件的下方,左右布局形式下,当处于左手握持状态时,第一组件位于第二组件的右侧,当处于右手握持状态时,第一组件位于第二组件的左侧。In another possible implementation manner, the first component and the second component are in a left-right layout in the initial state of the dialing interface, and the terminal may also switch the left-right layout to the top-bottom layout after obtaining a valid number. For example, update the first component and the second component from the left-right layout to the top-bottom layout. In the top-bottom layout, the first component is located below the second component. In the left-right layout, when it is held by the left hand, The first component is located on the right side of the second component, and when held by the right hand, the first component is located on the left side of the second component.
本申请实施例中,通过改变第一组件与第二组件的布局形式,实现在获取到有效号码后,第二组件显示在用户较容易单手触发的位置,用户可以在单手输入被叫方号码后,继续通过当前握持姿势完成对被叫方号码的呼叫操作,无需改变握持手或移动握持位置,满足用户对大屏幕终端的单手操作需求,提高操作效率。In this embodiment of the application, by changing the layout of the first component and the second component, after obtaining a valid number, the second component is displayed at a position that is easier for the user to trigger with one hand, and the user can input the called party number with one hand. After receiving the number, continue to use the current holding posture to complete the calling operation of the called party number without changing the holding hand or moving the holding position, which meets the user's demand for one-handed operation of the large-screen terminal and improves operational efficiency.
上述实施例示出了终端基于握持状态或号码输入进度自动更新第一组件以及第二组件位置的过程。当终端识别到被叫方号码从有效号码转换为无效号码时,恢复第一组件以及第二组件的显示位置,保证第一组件位于用户便于触控的位置,保证号码修改操作同样方便快捷。图14示出了本申请另一个示例性实施例提供的拨号界面的显示方法的流程图。本实施例以该方法用于具有拨号功能的终端为例进行说明,该方法包括如下步骤:The foregoing embodiment shows a process in which the terminal automatically updates the positions of the first component and the second component based on the holding state or the progress of number input. When the terminal recognizes that the number of the called party has changed from a valid number to an invalid number, the display positions of the first component and the second component are restored to ensure that the first component is located at a position that is easy for the user to touch, and that the number modification operation is also convenient and fast. Fig. 14 shows a flow chart of a method for displaying a dial interface provided by another exemplary embodiment of the present application. In this embodiment, the method is used as an example for a terminal with a dial-up function. The method includes the following steps:
步骤1401,按照第一组件与第二组件的默认位置显示拨号界面。 Step 1401, display the dial interface according to the default positions of the first component and the second component.
在一种可能的实施方式中,第一组件与第二组件对应有默认位置,当获取到对拨号功能的启用操作时,终端首先按照默认位置显示第一组件与第二组件。In a possible implementation manner, the first component and the second component correspond to default positions, and when the activation operation of the dialing function is obtained, the terminal first displays the first component and the second component according to the default positions.
可选的,该默认位置为预设位置(例如第一组件与第二组件左右布局且整体横向居中显示),或者是基于用户的布局设置操作确定的位置,或者是基于用户的历史握持记录确定的位置(例如历史握持记录中握持时长最长或握持次数最多的握持姿势对应的位置),本申请实施例对此不作限定。Optionally, the default position is a preset position (for example, the first component and the second component are laid out left and right and displayed in the center horizontally as a whole), or a position determined based on the user's layout setting operation, or based on the user's historical holding record The determined position (for example, the position corresponding to the holding posture with the longest holding time or the most holding times in the historical holding record) is not limited in this embodiment of the present application.
步骤1402,基于对字符输入控件的触发操作,获取被叫方号码。 Step 1402, based on the trigger operation on the character input control, obtain the number of the called party.
步骤1402的具体实施方式可以参考上述步骤202,本申请实施例在此不再赘述。For a specific implementation manner of step 1402, reference may be made to the foregoing step 202, and details are not described here in this embodiment of the present application.
步骤1403,基于输入的被叫方号码的首位数字确定被叫方号码的号码类型,号码类型包括移动电话号码和固定电话号码。Step 1403, determine the number type of the called party number based on the first digit of the input called party number, and the number type includes a mobile phone number and a fixed phone number.
在一种可能的实施方式中,由于通话号码是由固定位数的数字组成的,因此终端基于用户输入的被叫方号码的数字位数确定是否为有效号码。然而移动电话和固定电话对应的号码具有号码长度不同的特点,因此,终端需要首先确定被叫方号码的号码类型。移动电话号码通常由“1”作为首位数字,或者由国家的区号(例如86)作为前几位数字,而固定电话号码通常由其它数字作为号码的首位数字,因此终端基于被叫方号码的首位数字确定被叫方号码的号码类型。In a possible implementation manner, since the call number is composed of numbers with a fixed number of digits, the terminal determines whether the called party number is a valid number based on the number of digits of the called party number input by the user. However, the numbers corresponding to the mobile phone and the fixed phone have different lengths. Therefore, the terminal needs to first determine the number type of the called party number. Mobile phone numbers usually have "1" as the first digit, or the country's area code (such as 86) as the first few digits, while landline phone numbers usually have other digits as the first digit of the number, so the terminal is based on the first digit of the called party number. Digits determine the number type of the called party number.
步骤1404,基于号码类型确定有效号码位数。 Step 1404, determine the effective number digits based on the number type.
终端基于首位数字确定号码类型后,基于号码类型与号码位数之间的对应关系,确定有效号码位数。After determining the number type based on the first digit, the terminal determines the valid number digits based on the corresponding relationship between the number type and the number digits.
例如,当号码类型为包含地区号的固定电话时,终端基于用户输入的有效号码中的地区 号识别被叫方号码对应的地区,进而基于该地区的固定电话号码长度确定有效号码位数;当终端确定号码类型为移动电话号码时,确定有效号码位数为11。For example, when the number type is a landline phone that includes an area code, the terminal identifies the area corresponding to the called party number based on the area code in the valid number entered by the user, and then determines the number of valid numbers based on the length of the landline number in the area; When the terminal determines that the number type is a mobile phone number, it determines that the number of effective number digits is 11.
步骤1405,响应于输入的被叫方号码的数字位数达到有效号码位数,确定被叫方号码为有效号码。 Step 1405, in response to the number of digits of the input called party number reaching the number of valid numbers, determine that the called party number is a valid number.
当确定用户输入的被叫方号码的数字位数与有效号码位数一致时,终端确定被叫方号码为有效号码,此时确定用户完成对被叫方号码的输入操作,并更新第一组件与第二组件的显示位置,使用户继续通过当前握持姿态完成呼叫操作。When it is determined that the number of digits of the called party number input by the user is consistent with the digits of the valid number, the terminal determines that the called party number is a valid number. At this time, it is determined that the user has completed the input operation of the called party number, and updates the first The display position of the component and the second component enables the user to continue to complete the call operation through the current holding posture.
步骤1406,响应于输入的被叫方号码为有效号码,且处于单手握持状态,更新第一组件以及第二组件的显示位置。 Step 1406, in response to the input called party number being a valid number and being held by one hand, update the display positions of the first component and the second component.
步骤1407,响应于输入的被叫方号码为有效号码,且处于双手握持状态,保持第一组件以及第二组件的显示位置。 Step 1407, in response to the input called party number being a valid number and held in both hands, keep the display positions of the first component and the second component.
由于用户单手握持终端时,可能由于拨号界面中各个控件之间的距离较大,无法单手完成号码输入操作以及呼叫操作,因此终端在确定处于单手握持状态时,执行当被叫方好吗为有效号码时更新第一组件以及第二组件的显示位置的步骤;而当处于双手握持状态时,由于用户双手能够轻易触发拨号界面中的各个控件,因此终端在获取到有效号码后保持第一组件与第二组件的显示位置不变,便于用户双手操作,快速完成号码输入以及呼叫操作。When the user holds the terminal with one hand, the number input operation and call operation cannot be completed with one hand due to the large distance between the various controls in the dial interface. The step of updating the display positions of the first component and the second component when Fanghaoyay is a valid number; and when the user is in the state of holding both hands, since the user’s hands can easily trigger various controls in the dialing interface, the terminal obtains a valid number. Finally, the display positions of the first component and the second component are kept unchanged, which is convenient for the user to operate with both hands, and quickly completes number input and call operations.
步骤1408,响应于对字符删除控件的触发操作,恢复第一组件以及第二组件的显示位置。 Step 1408, in response to the trigger operation on the character deletion control, restore the display positions of the first component and the second component.
在一种可能的实施方式中,第二组件中还包含字符删除控件,字符删除控件用于删除输入的字符,例如当接收到一次对字符删除控件的触发操作时,终端删除当前被叫方号码中的最后一位字符。当接收到对字符删除控件的触发操作后,被叫方号码已经不属于有效号码,用户还需进行对第一组建中字符输入控件的触发操作,因此终端恢复第一组件以及第二组件的显示位置,便于用户继续通过当前握持姿态输入有效号码。In a possible implementation, the second component further includes a character deletion control, which is used to delete the input characters, for example, when receiving a trigger operation on the character deletion control, the terminal deletes the current called party number The last character in . After receiving the trigger operation on the character deletion control, the called party number is no longer a valid number, and the user needs to perform a trigger operation on the character input control in the first component, so the terminal restores the display of the first component and the second component position, so that the user can continue to input valid numbers through the current holding posture.
示意性的,如图15所示,拨号界面1501中包含第一组件1502和第二组件1503,且第二组件1503中显示有字符删除控件1504(由于字符删除控件1504的触发频率高于第二组件1503中的拨号盘收起控件,因此终端将字符删除控件1504显示在第二组件中接近终端底部边缘的位置,便于用户触发),当被叫方号码为有效号码,且当前处于左手握持状态时,终端将第二组件1503显示在第一组件1502左侧且两个组件整体横向居左(即组件与终端左边缘的距离小于与终端右边缘的距离)显示。当接收到对字符删除控件1504的触发操作后,终端将第一组件1502显示在第二组件1503左侧且整体在拨号界面中所占的显示区域不变。Schematically, as shown in FIG. 15 , the dial interface 1501 includes a first component 1502 and a second component 1503, and the second component 1503 displays a character deletion control 1504 (because the trigger frequency of the character deletion control 1504 is higher than that of the second The dial pad in component 1503 closes the control, so the terminal displays the character deletion control 1504 in the second component near the bottom edge of the terminal, which is convenient for the user to trigger), when the called party number is a valid number and is currently held by the left hand state, the terminal displays the second component 1503 on the left side of the first component 1502 and the two components are horizontally aligned to the left as a whole (that is, the distance between the component and the left edge of the terminal is smaller than the distance from the right edge of the terminal). After receiving the trigger operation on the character deletion control 1504, the terminal displays the first component 1502 on the left side of the second component 1503 and the overall display area occupied by the dialing interface remains unchanged.
在另一种可能的实施方式中,由于字符删除控件位于第二组件内,因此在用户单手握持且未输入有效号码时,若需要删除有效号码中的字符,则通过触发字符删除控件进行字符删除较为不变,本申请实施例提供的拨号界面的显示方法还包括如下步骤:In another possible implementation manner, since the character deletion control is located in the second component, when the user holds it with one hand and does not input a valid number, if it is necessary to delete the characters in the valid number, it can be done by triggering the character deletion control. Character deletion is relatively unchanged, and the display method of the dial interface provided by the embodiment of the present application also includes the following steps:
响应于第一组件内目标方向的滑动操作,删除输入的字符。In response to a sliding operation in the target direction within the first component, the input character is deleted.
其中目标方向是预先设置的滑动方向,例如,由拨号界面中显示的被叫方号码中最后一个字符指向首位字符的方向;或者由握持手所握持的边缘指向相对边缘的方向(例如左手握持,则目标方向为由左向右,右手握持则目标方向为由右向左),用户在输入有效号码前,可以通过左右滑动进行撤销输入,无需通过点击拨号区域内的字符删除控件进行删除。可选的,响应于第一组件内目标方向的滑动操作,终端删除被叫方号码中的最后一个字符,或者删除被叫方号码中的所有字符,本申请实施例对此不作限定。Wherein the target direction is a preset sliding direction, for example, the direction in which the last character in the called party number displayed in the dialing interface points to the first character; or the direction in which the edge held by the holding hand points to the opposite edge (such as the left hand If you hold it, the target direction is from left to right, and if you hold it with your right hand, the target direction is from right to left). Before entering a valid number, the user can cancel the input by swiping left and right, without clicking the character in the dial area to delete the control to delete. Optionally, in response to the sliding operation in the target direction in the first component, the terminal deletes the last character in the called party number, or deletes all characters in the called party number, which is not limited in this embodiment of the present application.
步骤1409,响应于对位置恢复控件的触发操作,将第一组件以及第二组件的显示位置恢复至默认位置。Step 1409: Restore the display positions of the first component and the second component to default positions in response to the trigger operation on the position recovery control.
在一种可能的实施方式中,拨号界面中还显示有位置恢复控件,当接收到对位置恢复控件的触发操作,终端将第一组件以及第二组件的显示位置恢复至默认位置。In a possible implementation manner, a position restoration control is also displayed on the dial interface, and when a trigger operation on the position restoration control is received, the terminal restores the display positions of the first component and the second component to default positions.
可选的,当终端确定当前所处的握持状态,并基于握持状态改变第一组件和第二组件的显示位置后,终端通过拨号界面显示位置恢复控件,在步骤1409之前,用户同样可以通过触 发位置恢复控件,使第一组件以及第二组件的显示位置恢复至默认位置,如图16所示,初始时拨号界面1601中第一组件1602和第二组件1603左右排列且整体横向居中显示,当终端检测到处于左手握持状态时,将第一组件1602以及第二组件1603显示在第一区域内,此时用户可以通过触发位置恢复控件1604恢复第一组件和第二组件的位置。或者,当终端确定被叫方号码为有效号码,并更新第一组件以及第二组件的位置后,用户可以通过触发位置恢复控件,将第一组件以及第二组件的显示位置恢复至默认位置(恢复至获取有效号码之前的位置或者显示拨号界面时的初始位置)。Optionally, after the terminal determines the current holding state and changes the display positions of the first component and the second component based on the holding state, the terminal displays the position recovery control through the dial interface. Before step 1409, the user can also By triggering the position recovery control, the display positions of the first component and the second component are restored to the default positions. As shown in FIG. 16 , the first component 1602 and the second component 1603 are arranged left and right in the dial interface 1601 initially and displayed in the center horizontally as a whole , when the terminal detects that it is held by the left hand, the first component 1602 and the second component 1603 are displayed in the first area, and the user can restore the positions of the first component and the second component by triggering the position restoration control 1604 . Alternatively, after the terminal determines that the called party number is a valid number and updates the positions of the first component and the second component, the user can restore the display positions of the first component and the second component to the default position by triggering the position restoration control ( Restore to the position before obtaining a valid number or the initial position when the dialing interface is displayed).
本申请实施例中,当接收到对字符删除控件的触发操作时,终端恢复第一组件以及第二组件的显示位置,便于用户重新输入正确的号码,该过程无需改变握持状态;通过设置位置恢复控件,并在接收到对位置恢复控件的触发操作时恢复第一组件以及第二组件的显示位置,便于用户根据实际情况自主选择第一组件和第二组件的显示位置,提高操作的便捷性。In the embodiment of the present application, when the trigger operation on the character deletion control is received, the terminal restores the display positions of the first component and the second component, which is convenient for the user to re-enter the correct number, and the process does not need to change the holding state; by setting the position Restore the control, and restore the display position of the first component and the second component when receiving the trigger operation of the position recovery control, so that the user can independently select the display position of the first component and the second component according to the actual situation, and improve the convenience of operation .
上述各实施例示出了拨号界面的显示方法应用于号码呼叫场景。在另一种可能的实现方式中,本申请提供的方法还可以应用于其它需要输入操作以及确认操作的应用界面。The above embodiments show that the display method of the dial interface is applied to the scene of calling numbers. In another possible implementation manner, the method provided in this application may also be applied to other application interfaces that require input operations and confirmation operations.
例如,在密码输入场景中,密码输入组件(包含用于输入密码的字符输入控件)与密码确认组件(包含用于确认密码的确认控件、密码删除组件等)的排布方式可随用户操作改变:基于对字符输入控件的触发操作,获取已输入密码;响应于已输入密码的字符数与预设密码的字符数一致(在用户授权的情况下记录预设密码的字符数),或者,响应于目标时长内未获取到对字符输入控件的触发操作,更新密码输入组件以及密码确认组件的显示位置,其中,位置更新后密码输入组件与密码确认组件的相对位置不同于位置更新前的相对位置。For example, in a password input scenario, the arrangement of password input components (including character input controls for entering passwords) and password confirmation components (including confirmation controls for password confirmation, password deletion components, etc.) can be changed with user operations : Obtain the entered password based on the trigger operation on the character input control; respond to the fact that the number of characters of the entered password is consistent with the number of characters of the preset password (record the number of characters of the preset password under user authorization), or, Responding to not obtaining a trigger operation on the character input control within the target duration, update the display positions of the password input component and the password confirmation component, where the relative position of the password input component and the password confirmation component after the position update is different from the relative position before the position update Location.
再比如,在验证码输入场景中,验证码输入组件与验证码确认组件的排布方式可随用户操作改变,其排布更新过程与上述实施例类似,在此不再赘述。For another example, in the verification code input scene, the layout of the verification code input component and the verification code confirmation component can be changed according to the user's operation, and the arrangement update process is similar to the above-mentioned embodiment, and will not be repeated here.
图17是本申请一个示例性实施例提供的拨号界面的显示装置的结构框图,该装置包括:Fig. 17 is a structural block diagram of a display device for a dial interface provided in an exemplary embodiment of the present application, the device comprising:
显示模块1701,用于显示拨号界面,所述拨号界面中包含第一组件以及第二组件,所述第一组件中包含用于输入被叫方号码的字符输入控件,所述第二组件中包含用于呼叫所述被叫方号码的呼叫控件;The display module 1701 is configured to display a dialing interface, the dialing interface includes a first component and a second component, the first component includes a character input control for inputting the called party number, and the second component includes call controls for calling said called party number;
获取模块1702,用于基于对所述字符输入控件的触发操作,获取所述被叫方号码;An obtaining module 1702, configured to obtain the called party number based on a trigger operation on the character input control;
更新模块1703,用于响应于输入的所述被叫方号码为有效号码,更新所述第一组件以及所述第二组件的显示位置,其中,位置更新后所述第一组件与所述第二组件的相对位置不同于位置更新前所述第一组件与所述第二组件的相对位置。An update module 1703, configured to update the display positions of the first component and the second component in response to the input called party number being a valid number, wherein, after the positions are updated, the first component and the second component are The relative positions of the two components are different from the relative positions of the first component and the second component before the position update.
可选的,所述更新模块1703,还用于:Optionally, the updating module 1703 is also used for:
交换所述第一组件以及所述第二组件的显示位置。The display positions of the first component and the second component are exchanged.
可选的,所述显示模块1701,还用于:Optionally, the display module 1701 is also used for:
在所述拨号界面中显示左右排布的所述第一组件和所述第二组件;displaying the first component and the second component arranged left and right in the dialing interface;
所述更新模块1703,还用于:The updating module 1703 is also used for:
交换所述第一组件以及所述第二组件的左右显示位置。The left and right display positions of the first component and the second component are exchanged.
可选的,所述显示模块1701,还用于:Optionally, the display module 1701 is also used for:
响应于处于左手握持状态,将所述拨号界面中的所述第一组件显示在所述第二组件的左侧;displaying the first component in the dialing interface on the left side of the second component in response to being held by the left hand;
响应于处于右手握持状态,将所述拨号界面中的所述第一组件显示在所述第二组件的右侧。In response to being held by the right hand, the first component in the dialing interface is displayed on the right side of the second component.
可选的,所述显示模块1701,还用于:Optionally, the display module 1701 is also used for:
响应于处于所述左手握持状态,将所述第一组件和所述第二组件显示在所述拨号界面的第一区域,所述第一区域与拨号界面左边缘的距离小于与拨号界面右边缘的距离;In response to being in the state of being held by the left hand, displaying the first component and the second component in a first area of the dial interface, the distance between the first area and the left edge of the dial interface is smaller than that of the right edge of the dial interface edge distance;
将所述第一区域中的所述第一组件显示在所述第二组件的左侧;displaying the first component in the first area to the left of the second component;
响应于处于所述右手握持状态,将所述第一组件和所述第二组件显示在所述拨号界面的第二区域,所述第二区域与所述拨号界面右边缘的距离小于与所述拨号界面左边缘的距离;In response to being in the right-hand holding state, displaying the first component and the second component in a second area of the dialing interface, the distance between the second area and the right edge of the dialing interface is smaller than that of the dialing interface The distance from the left edge of the dialing interface;
将所述第二区域中的所述第一组件显示在所述第二组件的右侧。The first component in the second area is displayed on the right side of the second component.
可选的,所述显示模块1701,还用于:Optionally, the display module 1701 is also used for:
将所述拨号界面中的第一组件显示在所述第二组件的下方;displaying the first component in the dialing interface below the second component;
交换所述第一组件以及所述第二组件的上下显示位置。The upper and lower display positions of the first component and the second component are exchanged.
可选的,所述显示模块1701,还用于:Optionally, the display module 1701 is also used for:
响应于处于左手握持状态,将所述第一组件和所述第二组件显示在所述拨号界面的第一区域,所述第一区域与拨号界面左边缘的距离小于与拨号界面右边缘的距离;将所述第一区域中的所述第一组件显示在所述第二组件的下方;In response to being held by the left hand, the first component and the second component are displayed in a first area of the dialing interface, and the distance between the first area and the left edge of the dialing interface is smaller than that of the right edge of the dialing interface distance; displaying the first component in the first area below the second component;
响应于处于右手握持状态,将所述第一组件和所述第二组件显示在所述拨号界面的第二区域,所述第二区域与拨号界面右边缘的距离小于与拨号界面左边缘的距离;将所述第一区域中的所述第一组件显示在所述第二组件的下方。In response to being held by the right hand, the first component and the second component are displayed in a second area of the dialing interface, and the distance between the second area and the right edge of the dialing interface is smaller than that of the left edge of the dialing interface Distance; display the first component in the first area below the second component.
可选的,所述更新模块1703,还用于:Optionally, the updating module 1703 is also used for:
将所述第一组件与所述第二组件由第一布局形式更新为第二布局形式。updating the first component and the second component from the first layout form to the second layout form.
可选的,所述更新模块1703,还用于:Optionally, the updating module 1703 is also used for:
将所述第一组件与所述第二组件由上下布局形式更新为左右布局形式;updating the first component and the second component from a top-bottom layout to a left-right layout;
其中,所述上下布局形式下,所述第一组件位于所述第二组件的下方;Wherein, in the up-and-down layout form, the first component is located below the second component;
所述左右布局形式下,当处于左手握持状态时,所述第一组件位于所述第二组件的右侧;当处于右手握持状态时,所述第一组件位于所述第二组件的左侧。In the left-right layout, when the left hand is held, the first component is located on the right side of the second component; when the right hand is held, the first component is located on the second component left side.
可选的,所述更新模块1703,还用于:Optionally, the updating module 1703 is also used for:
响应于输入的所述被叫方号码为有效号码,且处于单手握持状态,更新所述第一组件以及所述第二组件的显示位置;updating the display positions of the first component and the second component in response to the input called party number being a valid number and held in one hand;
所述显示模块1701,还用于:The display module 1701 is also used for:
响应于输入的所述被叫方号码为有效号码,且处于双手握持状态,保持所述第一组件以及所述第二组件的显示位置。In response to the input called party number being a valid number and held in both hands, the display positions of the first component and the second component are maintained.
可选的,所述第二组件中还包含字符删除控件,所述字符删除控件用于删除输入的字符;Optionally, the second component also includes a character deletion control, and the character deletion control is used to delete an input character;
所述显示模块1701,还用于:The display module 1701 is also used for:
响应于对所述字符删除控件的触发操作,恢复所述第一组件以及所述第二组件的显示位置。In response to a trigger operation on the character deletion control, restore the display positions of the first component and the second component.
可选的,所述装置还包括确定模块,用于:Optionally, the device also includes a determination module, configured to:
基于所述被叫方号码的首位数字确定所述被叫方号码的号码类型,所述号码类型包括移动电话号码和固定电话号码;determining the number type of the called party number based on the first digit of the called party number, the number type including a mobile phone number and a fixed phone number;
基于所述号码类型确定有效号码位数;determining valid number digits based on the number type;
响应于所述被叫方号码的数字位数达到所述有效号码位数,确定所述被叫方号码为所述有效号码。In response to the number of digits of the called party number reaching the number of valid numbers, it is determined that the called party number is the valid number.
可选的,所述拨号界面中还包含位置恢复控件;Optionally, the dialing interface also includes a location recovery control;
所述显示模块1701,还用于:The display module 1701 is also used for:
按照所述第一组件与所述第二组件的默认位置显示所述拨号界面;displaying the dialing interface according to the default positions of the first component and the second component;
响应于对所述位置恢复控件的触发操作,将所述第一组件以及所述第二组件的显示位置恢复至所述默认位置。In response to a trigger operation on the position restoration control, the display positions of the first component and the second component are restored to the default position.
请参考图18,其示出了本申请一个示例性实施例提供的终端的结构方框图。该终端1800可以是智能手机、平板电脑、笔记本电脑等。本申请中的终端1800可以包括一个或多个如下部件:处理器1810、存储器1820和显示屏1830。Please refer to FIG. 18 , which shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application. The terminal 1800 may be a smart phone, a tablet computer, a notebook computer, and the like. The terminal 1800 in this application may include one or more of the following components: a processor 1810 , a memory 1820 and a display 1830 .
处理器1810可以包括一个或者多个处理核心。处理器1810利用各种接口和线路连接整个终端1800内的各个部分,通过运行或执行存储在存储器1820内的指令、程序、代码集或指令集,以及调用存储在存储器1820内的数据,执行终端1800的各种功能和处理数据。可选地,处理器1810可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1810可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)、神经网络处理器(Neural-network Processing Unit,NPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏1830所需要显示的内容的渲染和绘制;NPU用于实现人工智能(Artificial Intelligence,AI)功能;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1810中,单独通过一块芯片进行实现。 Processor 1810 may include one or more processing cores. The processor 1810 uses various interfaces and lines to connect various parts of the entire terminal 1800, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 1820, and calling data stored in the memory 1820. 1800's various functions and processing data. Optionally, the processor 1810 may adopt 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 the form of hardware. The processor 1810 can integrate one or more of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU) and a modem, etc. The combination. Among them, the CPU mainly processes the operating system, user interface, and application programs, etc.; the GPU is used for rendering and drawing the content that needs to be displayed on the touch screen 1830; the NPU is used for realizing artificial intelligence (Artificial Intelligence, AI) functions; the modem is used for Handle wireless communications. It can be understood that, the above-mentioned modem may not be integrated into the processor 1810, but may be realized by a single chip.
存储器1820可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器1820包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1820可用于存储指令、程序、代码、代码集或指令集。存储器1820可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端1800的使用所创建的数据(比如音频数据、电话本)等。The memory 1820 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory, ROM). Optionally, the memory 1820 includes a non-transitory computer-readable storage medium. The memory 1820 may be used to store instructions, programs, codes, sets of codes or sets of instructions. The memory 1820 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following method embodiments; the storage data area can store data created according to the use of the terminal 1800 (such as audio data, phonebook) and the like.
显示屏1830是用于显示用户界面的显示组件。可选的,该显示屏1830还具有触控功能,通过触控功能,用户可以使用手指、触摸笔等任何适合的物体在显示屏1830上进行触控操作。The display screen 1830 is a display component for displaying a user interface. Optionally, the display screen 1830 also has a touch function, through which the user can use any suitable object such as a finger or a touch pen to perform touch operations on the display screen 1830 .
显示屏1830通常设置在终端1830的前面板。显示屏1830可被设计成为全面屏、曲面屏、异型屏、双面屏或折叠屏。显示屏1830还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本实施例对此不加以限定。The display screen 1830 is usually set on the front panel of the terminal 1830 . The display screen 1830 can be designed as a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen. The display screen 1830 can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in this embodiment.
除此之外,本领域技术人员可以理解,上述附图所示出的终端1800的结构并不构成对终端1800的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端1800中还包括摄像组件、麦克风、扬声器、射频电路、输入单元、传感器(比如加速度传感器、角速度传感器、光线传感器等等)、音频电路、WiFi模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal 1800 shown in the above drawings does not constitute a limitation on the terminal 1800, and the terminal may include more or less components than those shown in the figure, or combine some components, or different component arrangements. For example, the terminal 1800 also includes components such as a camera component, a microphone, a speaker, a radio frequency circuit, an input unit, a sensor (such as an acceleration sensor, an angular velocity sensor, a light sensor, etc.), an audio circuit, a WiFi module, a power supply, and a Bluetooth module. No longer.
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现如上各个实施例所述的拨号界面的显示方法。The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores at least one instruction, and the at least one instruction is loaded and executed by a processor to realize the dialing interface as described in each of the above embodiments. Show method.
根据本申请的一个方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述方面的各种可选实现方式中提供的拨号界面的显示方法。According to an aspect of the present application there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the dialing interface display method provided in various optional implementation manners of the above aspects.
需要说明的是,本申请所涉及的信息(包括但不限于用户设备信息、用户个人信息等)、数据(包括但不限于用于分析的数据、存储的数据、展示的数据等)以及信号,均为经用户授权或者经过各方充分授权的,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。例如,本申请中涉及到的被叫方号码是在充分授权的情况下获取的。It should be noted that the information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application, All are authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the called party number involved in this application is obtained under the condition of full authorization.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only optional embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.

Claims (20)

  1. 一种拨号界面的显示方法,所述方法包括:A method for displaying a dial interface, the method comprising:
    显示拨号界面,所述拨号界面中包含第一组件以及第二组件,所述第一组件中包含用于输入被叫方号码的字符输入控件,所述第二组件中包含用于呼叫所述被叫方号码的呼叫控件;Displaying a dialing interface, the dialing interface includes a first component and a second component, the first component includes a character input control for inputting the number of the called party, and the second component includes a character input control for calling the called party call controls for the calling party number;
    基于对所述字符输入控件的触发操作,获取所述被叫方号码;Acquiring the called party number based on a trigger operation on the character input control;
    响应于输入的所述被叫方号码为有效号码,更新所述第一组件以及所述第二组件的显示位置,其中,位置更新后所述第一组件与所述第二组件的相对位置不同于位置更新前所述第一组件与所述第二组件的相对位置。In response to the input of the called party number as a valid number, update the display positions of the first component and the second component, where the relative positions of the first component and the second component are different after the position is updated The relative position of the first component and the second component before position update.
  2. 根据权利要求1所述的方法,其中,所述更新所述第一组件以及所述第二组件的显示位置,包括:The method according to claim 1, wherein said updating the display positions of said first component and said second component comprises:
    交换所述第一组件以及所述第二组件的显示位置。The display positions of the first component and the second component are exchanged.
  3. 根据权利要求2所述的方法,其中,所述显示拨号界面,包括:The method according to claim 2, wherein said displaying the dialing interface comprises:
    在所述拨号界面中显示左右排布的所述第一组件和所述第二组件;displaying the first component and the second component arranged left and right in the dialing interface;
    所述交换所述第一组件以及所述第二组件的显示位置,包括:The exchanging the display positions of the first component and the second component includes:
    交换所述第一组件以及所述第二组件的左右显示位置。The left and right display positions of the first component and the second component are exchanged.
  4. 根据权利要求3所述的方法,其中,所述在所述拨号界面中显示左右排布的所述第一组件和所述第二组件,包括:The method according to claim 3, wherein the displaying the first component and the second component arranged left and right in the dialing interface comprises:
    响应于处于左手握持状态,将所述拨号界面中的所述第一组件显示在所述第二组件的左侧;displaying the first component in the dialing interface on the left side of the second component in response to being held by the left hand;
    响应于处于右手握持状态,将所述拨号界面中的所述第一组件显示在所述第二组件的右侧。In response to being held by the right hand, the first component in the dialing interface is displayed on the right side of the second component.
  5. 根据权利要求4所述的方法,其中,所述响应于处于左手握持状态,将所述拨号界面中的所述第一组件显示在所述第二组件的左侧,包括:The method according to claim 4, wherein, in response to being held by the left hand, displaying the first component in the dialing interface on the left side of the second component comprises:
    响应于处于所述左手握持状态,将所述第一组件和所述第二组件显示在所述拨号界面的第一区域,所述第一区域与拨号界面左边缘的距离小于与拨号界面右边缘的距离;In response to being in the state of being held by the left hand, displaying the first component and the second component in a first area of the dial interface, the distance between the first area and the left edge of the dial interface is smaller than that of the right edge of the dial interface edge distance;
    将所述第一区域中的所述第一组件显示在所述第二组件的左侧;displaying the first component in the first area to the left of the second component;
    所述响应于处于右手握持状态,将所述拨号界面中的所述第一组件显示在所述第二组件的右侧,包括:The displaying the first component in the dialing interface on the right side of the second component in response to being held by the right hand includes:
    响应于处于所述右手握持状态,将所述第一组件和所述第二组件显示在所述拨号界面的第二区域,所述第二区域与所述拨号界面右边缘的距离小于与所述拨号界面左边缘的距离;In response to being in the right-hand holding state, displaying the first component and the second component in a second area of the dialing interface, the distance between the second area and the right edge of the dialing interface is smaller than that of the dialing interface The distance from the left edge of the dialing interface;
    将所述第二区域中的所述第一组件显示在所述第二组件的右侧。The first component in the second area is displayed on the right side of the second component.
  6. 根据权利要求2所述的方法,其中,所述显示拨号界面,包括:The method according to claim 2, wherein said displaying the dialing interface comprises:
    将所述拨号界面中的第一组件显示在所述第二组件的下方;displaying the first component in the dialing interface below the second component;
    所述交换所述第一组件以及所述第二组件的显示位置,包括:The exchanging the display positions of the first component and the second component includes:
    交换所述第一组件以及所述第二组件的上下显示位置。The upper and lower display positions of the first component and the second component are exchanged.
  7. 根据权利要求6所述的方法,其中,所述将所述拨号界面中的第一组件显示在所述第二组件的下方,包括:The method according to claim 6, wherein the displaying the first component in the dialing interface below the second component comprises:
    响应于处于左手握持状态,将所述第一组件和所述第二组件显示在所述拨号界面的第一 区域,所述第一区域与拨号界面左边缘的距离小于与拨号界面右边缘的距离;将所述第一区域中的所述第一组件显示在所述第二组件的下方;In response to being held by the left hand, the first component and the second component are displayed in a first area of the dialing interface, and the distance between the first area and the left edge of the dialing interface is smaller than that of the right edge of the dialing interface distance; displaying the first component in the first area below the second component;
    响应于处于右手握持状态,将所述第一组件和所述第二组件显示在所述拨号界面的第二区域,所述第二区域与拨号界面右边缘的距离小于与拨号界面左边缘的距离;将所述第一区域中的所述第一组件显示在所述第二组件的下方。In response to being held by the right hand, the first component and the second component are displayed in a second area of the dialing interface, and the distance between the second area and the right edge of the dialing interface is smaller than that of the left edge of the dialing interface Distance; display the first component in the first area below the second component.
  8. 根据权利要求1所述的方法,其中,所述更新所述第一组件以及所述第二组件的显示位置,包括:The method according to claim 1, wherein said updating the display positions of said first component and said second component comprises:
    将所述第一组件与所述第二组件由第一布局形式更新为第二布局形式。updating the first component and the second component from the first layout form to the second layout form.
  9. 根据权利要求8所述的方法,其中,所述将所述第一组件与所述第二组件由第一布局形式更新为第二布局形式,包括:The method according to claim 8, wherein said updating the first component and the second component from the first layout form to the second layout form comprises:
    将所述第一组件与所述第二组件由上下布局形式更新为左右布局形式;updating the first component and the second component from a top-bottom layout to a left-right layout;
    其中,所述上下布局形式下,所述第一组件位于所述第二组件的下方;Wherein, in the up-and-down layout form, the first component is located below the second component;
    所述左右布局形式下,当处于左手握持状态时,所述第一组件位于所述第二组件的右侧;当处于右手握持状态时,所述第一组件位于所述第二组件的左侧。In the left-right layout, when the left hand is held, the first component is located on the right side of the second component; when the right hand is held, the first component is located on the second component left side.
  10. 根据权利要求1至9任一所述的方法,其中,所述响应于输入的所述被叫方号码为有效号码,更新所述第一组件以及所述第二组件的显示位置,包括:The method according to any one of claims 1 to 9, wherein, in response to the input of the called party number being a valid number, updating the display positions of the first component and the second component includes:
    响应于输入的所述被叫方号码为有效号码,且处于单手握持状态,更新所述第一组件以及所述第二组件的显示位置;updating the display positions of the first component and the second component in response to the input called party number being a valid number and held in one hand;
    所述方法还包括:The method also includes:
    响应于输入的所述被叫方号码为有效号码,且处于双手握持状态,保持所述第一组件以及所述第二组件的显示位置。In response to the input called party number being a valid number and held in both hands, the display positions of the first component and the second component are maintained.
  11. 根据权利要求1至9任一所述的方法,其中,所述第二组件中还包含字符删除控件,所述字符删除控件用于删除输入的字符;The method according to any one of claims 1 to 9, wherein the second component further includes a character deletion control, and the character deletion control is used to delete an input character;
    所述更新所述第一组件以及所述第二组件的显示位置之后,所述方法还包括:After updating the display positions of the first component and the second component, the method further includes:
    响应于对所述字符删除控件的触发操作,恢复所述第一组件以及所述第二组件的显示位置。In response to a trigger operation on the character deletion control, restore the display positions of the first component and the second component.
  12. 根据权利要求1至9任一所述的方法,其中,所述响应于输入的所述被叫方号码为有效号码,更新所述第一组件以及所述第二组件的显示位置之前,所述方法包括:The method according to any one of claims 1 to 9, wherein in response to the input of the called party number being a valid number, before updating the display positions of the first component and the second component, the Methods include:
    基于输入的所述被叫方号码的首位数字确定所述被叫方号码的号码类型,所述号码类型包括移动电话号码和固定电话号码;determining the number type of the called party number based on the input first digit of the called party number, the number type including a mobile phone number and a fixed phone number;
    基于所述号码类型确定有效号码位数;determining valid number digits based on the number type;
    响应于输入的所述被叫方号码的数字位数达到所述有效号码位数,确定所述被叫方号码为所述有效号码。In response to the number of digits of the input called party number reaching the number of valid numbers, it is determined that the called party number is the valid number.
  13. 根据权利要求1至9任一所述的方法,其中,所述拨号界面中还包含位置恢复控件;The method according to any one of claims 1 to 9, wherein the dialing interface further includes a location recovery control;
    所述显示拨号界面,包括:The display dial interface includes:
    按照所述第一组件与所述第二组件的默认位置显示所述拨号界面;displaying the dialing interface according to the default positions of the first component and the second component;
    所述响应于输入的所述被叫方号码为有效号码,更新所述第一组件以及所述第二组件的显示位置之后,所述方法还包括:After updating the display positions of the first component and the second component in response to the input of the called party number being a valid number, the method further includes:
    响应于对所述位置恢复控件的触发操作,将所述第一组件以及所述第二组件的显示位置恢复至所述默认位置。In response to a trigger operation on the position restoration control, the display positions of the first component and the second component are restored to the default position.
  14. 一种拨号界面的显示装置,所述装置包括:A display device for a dial interface, the device comprising:
    第一显示模块,用于显示拨号界面,所述拨号界面中包含第一组件以及第二组件,所述第一组件中包含用于输入被叫方号码的字符输入控件,所述第二组件中包含用于呼叫所述被叫方号码的呼叫控件;The first display module is used to display the dial interface, the dial interface includes a first component and a second component, the first component includes a character input control for inputting the called party number, and the second component includes including call controls for calling said called party number;
    获取模块,用于基于对所述字符输入控件的触发操作,获取所述被叫方号码;An acquisition module, configured to acquire the called party number based on a trigger operation on the character input control;
    更新模块,用于响应于输入的所述被叫方号码为有效号码,更新所述第一组件以及所述第二组件的显示位置,其中,位置更新后所述第一组件与所述第二组件的相对位置不同于位置更新前所述第一组件与所述第二组件的相对位置。An updating module, configured to update the display positions of the first component and the second component in response to the input called party number being a valid number, wherein, after the positions are updated, the first component and the second component The relative positions of the components are different from the relative positions of the first component and the second component before the position update.
  15. 根据权利要求14所述的装置,其中,所述更新模块,还用于:The device according to claim 14, wherein the update module is further configured to:
    交换所述第一组件以及所述第二组件的显示位置。The display positions of the first component and the second component are exchanged.
  16. 根据权利要求15所述的装置,其中,所述显示模块,还用于:The device according to claim 15, wherein the display module is further used for:
    在所述拨号界面中显示左右排布的所述第一组件和所述第二组件;displaying the first component and the second component arranged left and right in the dialing interface;
    所述更新模块,还用于:The update module is also used for:
    交换所述第一组件以及所述第二组件的左右显示位置。The left and right display positions of the first component and the second component are exchanged.
  17. 根据权利要求16所述的装置,其中,所述显示模块,还用于:The device according to claim 16, wherein the display module is further used for:
    响应于处于左手握持状态,将所述拨号界面中的所述第一组件显示在所述第二组件的左侧;displaying the first component in the dialing interface on the left side of the second component in response to being held by the left hand;
    响应于处于右手握持状态,将所述拨号界面中的所述第一组件显示在所述第二组件的右侧。In response to being held by the right hand, the first component in the dialing interface is displayed on the right side of the second component.
  18. 一种终端,所述终端包括处理器和存储器;所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如权利要求1至13任一所述的拨号界面的显示方法。A terminal, the terminal includes a processor and a memory; at least one instruction, at least one program, code set or instruction set are stored in the memory, and the at least one instruction, the at least one program, the code set or The instruction set is loaded and executed by the processor to realize the display method of the dial interface according to any one of claims 1 to 13.
  19. 一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机程序,所述计算机程序由处理器加载并执行以实现如权利要求1至13任一所述的拨号界面的显示方法。A computer-readable storage medium, at least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to realize the display of the dialing interface according to any one of claims 1 to 13 method.
  20. 一种计算机程序产品,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质中;计算机设备的处理器从所述计算机可读存储介质读取所述计算机指令,所述处理器执行所述计算机指令,使得所述计算机设备执行如权利要求1至13任一所述的拨号界面的显示方法。A computer program product comprising computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, the The processor executes the computer instructions, so that the computer device executes the dialing interface display method according to any one of claims 1 to 13.
PCT/CN2022/101611 2021-07-28 2022-06-27 Dialing interface display method and apparatus, and terminal, storage medium and program product WO2023005552A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110857073.2 2021-07-28
CN202110857073.2A CN115695646A (en) 2021-07-28 2021-07-28 Display method and device of dialing interface, terminal and storage medium

Publications (1)

Publication Number Publication Date
WO2023005552A1 true WO2023005552A1 (en) 2023-02-02

Family

ID=85059152

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/101611 WO2023005552A1 (en) 2021-07-28 2022-06-27 Dialing interface display method and apparatus, and terminal, storage medium and program product

Country Status (2)

Country Link
CN (1) CN115695646A (en)
WO (1) WO2023005552A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156166A (en) * 2014-07-21 2014-11-19 小米科技有限责任公司 Controls distribution adjustment method and device
US20150128081A1 (en) * 2013-11-06 2015-05-07 Acer Incorporated Customized Smart Phone Buttons
CN104932789A (en) * 2015-06-26 2015-09-23 联想(北京)有限公司 Information display method and electronic equipment
US20160188203A1 (en) * 2013-08-05 2016-06-30 Zte Corporation Device and Method for Adaptively Adjusting Layout of Touch Input Panel, and Mobile Terminal
CN106354396A (en) * 2016-08-26 2017-01-25 乐视控股(北京)有限公司 Interface adjustment method and device
CN111142679A (en) * 2019-12-25 2020-05-12 维沃移动通信有限公司 Display processing method and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102810039A (en) * 2011-05-31 2012-12-05 中兴通讯股份有限公司 Left or right hand adapting virtual keyboard display method and terminal
CN103064629B (en) * 2013-01-30 2016-06-15 龙凡 It is adapted dynamically mancarried electronic aid and the method for graphical control
CN103905590B (en) * 2014-04-22 2018-03-06 锤子科技(北京)有限公司 Mobile device and its dial panel
CN103995666B (en) * 2014-04-30 2018-10-02 小米科技有限责任公司 A kind of method and apparatus of setting operating mode
CN105872223A (en) * 2016-03-29 2016-08-17 乐视控股(北京)有限公司 Dial plate one-hand operation method and dial plate one-hand operation apparatus
CN106603828A (en) * 2016-11-30 2017-04-26 宇龙计算机通信科技(深圳)有限公司 Dial keyboard processing method and terminal
CN107562353A (en) * 2017-07-17 2018-01-09 努比亚技术有限公司 A kind of display interface control method, terminal and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160188203A1 (en) * 2013-08-05 2016-06-30 Zte Corporation Device and Method for Adaptively Adjusting Layout of Touch Input Panel, and Mobile Terminal
US20150128081A1 (en) * 2013-11-06 2015-05-07 Acer Incorporated Customized Smart Phone Buttons
CN104156166A (en) * 2014-07-21 2014-11-19 小米科技有限责任公司 Controls distribution adjustment method and device
CN104932789A (en) * 2015-06-26 2015-09-23 联想(北京)有限公司 Information display method and electronic equipment
CN106354396A (en) * 2016-08-26 2017-01-25 乐视控股(北京)有限公司 Interface adjustment method and device
CN111142679A (en) * 2019-12-25 2020-05-12 维沃移动通信有限公司 Display processing method and electronic equipment

Also Published As

Publication number Publication date
CN115695646A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
JP5204305B2 (en) User interface apparatus and method using pattern recognition in portable terminal
CN104932809B (en) Apparatus and method for controlling display panel
US20130159927A1 (en) Electronic device with touch screen and screen unlocking method thereof
WO2013035744A1 (en) Terminal device, information input method, and program
JP2013238935A (en) Input device, input device controlling method, controlling program, and recording medium
US11546457B2 (en) Electronic device and method of operating electronic device in virtual reality
US20100037185A1 (en) Input method for communication device
KR20150128303A (en) Method and apparatus for controlling displays
CN108509105B (en) Application program management method and terminal
JP2002164990A (en) Mobile communication terminal
CN108920069B (en) Touch operation method and device, mobile terminal and storage medium
WO2020001385A1 (en) Electronic apparatus and application program control method
JP2014228989A (en) Portable terminal, display control program, and display control method
CN107193393A (en) Input method switching method and device
CN108958582A (en) A kind of application program launching method and terminal
US11354031B2 (en) Electronic apparatus, computer-readable non-transitory recording medium, and display control method for controlling a scroll speed of a display screen
CN108700990B (en) Screen locking method, terminal and screen locking device
CN103092412A (en) Mobile terminal and mobile terminal operation object display method
CN106650569B (en) Fingerprint input method and device
WO2023005552A1 (en) Dialing interface display method and apparatus, and terminal, storage medium and program product
KR100689525B1 (en) Method for controlling data using mouse function in wireless terminal
KR20130030170A (en) Apparatus and method for providing fingerprint recognition in portable terminla
JP5730658B2 (en) Mobile terminal, unlock program, and unlock method
KR20100054944A (en) Input system and control method of the same
CN108388389A (en) A kind of interactive interface control method, mobile terminal and computer storage media

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE